bitshares-ui icon indicating copy to clipboard operation
bitshares-ui copied to clipboard

Allow inverse input for Quantity/Total scaled orders

Open froooze opened this issue 6 years ago • 3 comments
trafficstars

Describe the bug The buying asset Quantity field and the buying asset Total field should have the inverted unit to fit the selling side.

To Reproduce Steps to reproduce the behavior:

  1. Go to Exchange Scaled orders
  2. Compare fields with portfolio unit

Expected behavior Use portfolio unit for order amount and the other unit for calculation of Total field. Buy Quantity field in BTS (input) and Buy Total field in bitUSD (output).

Screenshots scaled

froooze avatar Jul 01 '19 18:07 froooze

I'm not really sure I understand what your idea is here. This is the same way, what I can see, as we do on the Limit tab.

On your screenshot you're Buying or Selling bitUSD. On the Buying side you're still buying a set of Quantity of bitUSD for a price for a total of BTS. Same on selling side, where you're selling a set of Quantity of bitUSD for a price for a total of BTS.

This is the same way as other exchanges does it. Can you please clarify?

startailcoon avatar Jul 02 '19 15:07 startailcoon

@startailcoon : You are right it is the same as Limit Order and other Exchanges, but it doesn't make much sense to use the same form for the opposite task.

When I wanna buy bitUSD, I have to do this with a certain amount of BTS from my balance. Therefore the input value is BTS not bitUSD.

Quantity (input) and Total (output) should also be inverted for the opposite direction.

froooze avatar Jul 02 '19 22:07 froooze

@startailcoon: I realized now, why I never complained about the wrong Limit Order form, because you can input in both fields your assets values and the scaled form only allows this in one way.

froooze avatar Jul 05 '19 13:07 froooze