Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Market] Minimum price increments for orderbook aggregation #28

Closed
bangjelkoski opened this issue Jun 17, 2021 · 2 comments · Fixed by #365 or #370
Closed

[Market] Minimum price increments for orderbook aggregation #28

bangjelkoski opened this issue Jun 17, 2021 · 2 comments · Fixed by #365 or #370
Assignees
Labels
bug Something isn't working
Projects

Comments

@bangjelkoski
Copy link
Collaborator

Add support for order book aggregation based on minimum price increments.
image

@albertchon
Copy link
Member

This is purely a FE feature, not related to BE, reassigned to @bangjelkoski

@bangjelkoski bangjelkoski added feature New feature request and removed enhancement labels Jun 27, 2021
@albertchon albertchon added this to Freezer in DEX v1 Jul 12, 2021
@albertchon albertchon moved this from Freezer to Upcoming in DEX v1 Jul 17, 2021
@albertchon albertchon moved this from Upcoming to Freezer in DEX v1 Aug 3, 2021
@bangjelkoski bangjelkoski added this to To do in DEX v2 Sep 4, 2021
@bangjelkoski bangjelkoski removed this from Freezer in DEX v1 Sep 4, 2021
@bangjelkoski bangjelkoski changed the title Minimum price increments for orderbook aggregation [Market] Minimum price increments for orderbook aggregation Oct 20, 2021
DEX v2 automation moved this from To do to Done Nov 10, 2021
@achilleas-kal
Copy link
Collaborator

Hey @ThomasRalee I noticed we sometimes roundup the numbers depending on the decimals so I managed to replicate two cases..to a trader this looks like a huge bug as the "orders are not being matched" but it's actually related to the rounding.

The bid (buy) orders should always have a lower price than the ask (sell orders), if they cross then that means they should have been filled. We should never see buy and sell orders at exactly the same price in the orderbook.

image

image

@achilleas-kal achilleas-kal reopened this Nov 11, 2021
DEX v2 automation moved this from Done to In progress Nov 11, 2021
@achilleas-kal achilleas-kal added bug Something isn't working and removed feature New feature request labels Nov 11, 2021
DEX v2 automation moved this from In progress to Done Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
4 participants