Skip to content

Instant trade page doesn't represent orders correctly? #3776

@grctest

Description

@grctest

Describe the bug

I'm viewing selling BTS, buying CNY.

It says for 10k BTS I'll get 2 limit orders, however in the astro-ui it's showing more than this.

The user you'll be buying from is also being misrepresented potentially, as one user is shown as having 23.7K BTS available however that's a grouped order at the same price of 0.0280 CNY/BTS.

Instead of 2 limit orders, it should be 3-4.

Also the Price (bitCNY/BTS) is being shown with a price that has greater decimal places than bitCNY permits (4 vs 6-8).

To Reproduce

Fetch bid orders via the API, compare against instant trade market orders.

Expected behavior

The quantity of limit orders I'll have to broadcast, and who I'm buying from should be accurate.

Prices should also perhaps use correct precisions?

Screenshots

Image

Desktop (please complete the following information):
web - opera - bts.exchange

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions