bitshares / bitshares/bitshares-ui
Error in market limit order pricing calculation?
- Dominant language
- JavaScript
- Stars
- 520
- Forks
- 575
- Avg merge
- 12h 7m
- Merged PRs (30d)
- 5
Description
**Describe the bug**
For user 'fkh2jevt` there are 2 open orders with price 0.00000 in the 'my open orders' section of the HONEST.USD_BTS market.
Also showing as 0.00000 price in the buy orders component.
**To Reproduce**
Navigate to this user's webapp view by searching for their name in the explorer, then go to the HONEST.USD_BTS market and view the my open orders and buy orders (show more orders to view).
**Expected behavior**
A price greater than 0 should be calculated.
**Screenshots**
**Additional info**
https://blocksights.info/#/objects/1.7.456286605
Contributor guide
Research direction
Reproduce the issue by opening user fkh2jevt's HONEST.USD_BTS market view and checking My Open Orders and the expanded Buy Orders component. Trace the frontend market-order price calculation and compare it with object 1.7.456286605; done means both affected orders display a positive, correctly calculated price.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100