DeXter-on-Radix / website

Community built order book dex on Radix.
https://dexteronradix.com/
6 stars 14 forks source link

Account history shows unexpected price for market orders #364

Closed dcts closed 4 weeks ago

dcts commented 1 month ago

When entering a slippage on market orders, the price is showing an unexpected high / low price. It shows the max price, not the actual price, even if that price was never entered by he user. This is most likely caused because the slippage is converted to a max price on the backend.

For example:

image

Suggested fix:

Do not show the price on market orders. It makes totally sense to only show avg filled price, as market orders do not let you specify a price.

dcts commented 4 weeks ago

Fixed by #365