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

Sort orderbook by price #41

Closed
dekz opened this issue Jan 31, 2019 · 1 comment
Closed

Sort orderbook by price #41

dekz opened this issue Jan 31, 2019 · 1 comment
Labels
bug 🪲 Something isn't working

Comments

@dekz
Copy link
Member

dekz commented Jan 31, 2019

SRA Docs:

Bids will be sorted in descending order by price, and asks will be sorted in ascending order by price. Within the price sorted orders, the orders are further sorted by taker fee price which is defined as the takerFee divided by takerTokenAmount. After taker fee price, orders are to be sorted by expiration in ascending order.

@dekz dekz added the bug 🪲 Something isn't working label Jan 31, 2019
@BlinkyStitt
Copy link

How are they currently sorted?

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
None yet
Development

No branches or pull requests

2 participants