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

Add pending_match flag #110

Merged
merged 1 commit into from
May 26, 2020
Merged

Add pending_match flag #110

merged 1 commit into from
May 26, 2020

Conversation

EnderCrypto
Copy link
Contributor

@EnderCrypto EnderCrypto commented Apr 7, 2020

Depth rest API change and orderbook rpc API change: add a new flag pending_match.

The pending_match flag in the response is to indicate below orderbook status: there are new orders created in current block, but the matching process has not started for the block, then pending_math=true. As a result, there could be orders with cross prices - price of ask is lower than price of bid. Client can ignore the response with pending_match=true and query the depth API until pending_match=false.

@EnderCrypto EnderCrypto changed the base branch from master to mini-token May 26, 2020 07:40
@EnderCrypto EnderCrypto merged commit 317bd9a into mini-token May 26, 2020
@EnderCrypto EnderCrypto changed the title add flag Add pending_match flag Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant