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

set order status to active only when about to submit to the book. #3257

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

jeremyletang
Copy link
Member

@jeremyletang jeremyletang commented Mar 25, 2021

We use to setup the pegged order to active straight after repricing. Although by doing so, rest of the code assume it's on the book. Hence while trying to parkOrder following a Enter price monitoring auction trigger, we are trying to remove the order from the book (where it's not).

We now set the order status to active only when we are sure no auction is triggered, and the order is really going to the book.

close #3256

@jeremyletang jeremyletang requested review from ponthief and a team March 25, 2021 11:00
@jeremyletang jeremyletang merged commit 3c3d551 into develop Mar 25, 2021
@jeremyletang jeremyletang deleted the bugfix/crash-market-orderbook-cancel-order branch March 25, 2021 11:52
@edd edd mentioned this pull request Apr 1, 2021
@edd edd mentioned this pull request Apr 15, 2021
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.

None yet

2 participants