interface icon indicating copy to clipboard operation
interface copied to clipboard

Is the quote/base display in reverse in add position page?

Open callmewhy opened this issue 5 years ago • 6 comments

When set price range or display current range, the price seems wrong. Take ETH/USDT as an example.

image

As the ETH is base token and USDT is quote token, should the value be 1 ETH = ? USDT instead of 1 USDT = ? ETH?

For ETH/USDT, the value should be 3590 instead of 0.000279.

Can I create a PR to fix that? Or is that by design?

callmewhy avatar May 06 '21 16:05 callmewhy

This notation is correct. It essentially tells you you get 0.000279 ETH per USDT. The inverse price would be 3590 USDT per ETH.

jochenboesmans avatar May 06 '21 17:05 jochenboesmans

Oh it means 0.000279 ETH per USDT. Make sense to me. Just inverse compared with common usage, such as what we see in Binance:

image

callmewhy avatar May 06 '21 17:05 callmewhy

Should we swap the quote and base token to follow most common practice?

callmewhy avatar May 06 '21 17:05 callmewhy

This is interesting - we looked around and realize how this can be confusing. Will clarify on the UI.

asood123 avatar May 07 '21 16:05 asood123

One proposal:

  • Change TOKEN_1 / TOKEN_2 => TOKEN_1 per TOKEN_2 (like in v2)
  • In titles, flip to TOKEN_2 / TOKEN_1

Downsides of introducing "per" is potentially translation issues and how it appears in different languages

asood123 avatar May 07 '21 16:05 asood123

It looks good. flip to TOKEN_2 / TOKEN_1 is much better for title. And Xxxx Token1 per Token2 is more readable if it's in one row. Hope we can align the naming with common convention :)

callmewhy avatar May 11 '21 05:05 callmewhy