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

[roq-server] ModifyOrder can't increase the quantity #369

Open
thraneh opened this issue Jun 14, 2023 · 1 comment
Open

[roq-server] ModifyOrder can't increase the quantity #369

thraneh opened this issue Jun 14, 2023 · 1 comment
Labels
bug Something isn't working medium priority
Milestone

Comments

@thraneh
Copy link
Contributor

thraneh commented Jun 14, 2023

This failure is caused by a safety check required to deal with order updates arriving out of sequence: remaining quantity was not allowed to increase.

This used to be an issue with FTX's protocol: no guarantees were given to the ordering.

@thraneh thraneh added bug Something isn't working medium priority labels Jun 14, 2023
@thraneh thraneh added this to the 0.9.6 milestone Jun 14, 2023
@thraneh thraneh modified the milestones: 0.9.6, Roadmap Jul 20, 2023
@thraneh
Copy link
Contributor Author

thraneh commented Dec 12, 2023

Have now added check before the ModifyOrder is sent to exchange.

Increasing order (total) quantity will result in Error::INVALID_QUANTITY.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium priority
Development

No branches or pull requests

1 participant