bitshares / bitshares/bitshares-ui

Small Dust Orders at the Spread Cause Incorrect Lowest Bid and Highest Ask Prices

Open
#1,416 8 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

When a "fractional dust order" is sitting a the edge of the spread and you click on it to auto-fill its price into your order, it places another price in there, supposedly the actual price that dust order came from.

This can cause mistake trades to be executed which can fill large orders down the order book and lose someone a lot of money.

This might be a core issue and not possible to fix in the UI.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing a fractional dust order at the edge of the spread and click it to auto-fill the price. Trace whether the UI uses the displayed lowest bid or highest ask versus the dust order's actual source price, then establish whether the correction belongs in the UI or core. Done means the selected price cannot cause an unintended trade or fill down the order book.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.