frontend-monorepo icon indicating copy to clipboard operation
frontend-monorepo copied to clipboard

Clicking volume in orderbook value does not set notional value

Open daunatv opened this issue 6 months ago • 0 comments

Description

When choosing the size of the order from the orderbook, it works when contract is used instead of notional value. Switching over to notional shows the incorrect value, and trying to choose a different price after switching to notional, does not work.

Steps to Reproduce

  1. Go to console (mainnet) and click on a contract order size in the orderbook, see the size in the ticket change
  2. Change to notional value, the value is incorrect
  3. While having notional value chosen, try to update the order size by clicking on the orderbook
  4. Nothing happens

Expected behavior

The notional value should both be correct when switching between contract and notional, which it is not, as seen in the screenshot 0.131 contracts of XAU is not 2,521142 USDT.

You should be able to choose ticket size from the orderbook and see the correct notional value after choosing to see notional value instead of contract size.

Screenshots

Screenshot 2024-08-20 at 10 58 18 Screenshot 2024-08-20 at 10 58 08

https://github.com/user-attachments/assets/ccf5402a-cb1d-4c89-87b9-7e5b970f102c

Device details

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome

daunatv avatar Aug 20 '24 11:08 daunatv