-
Notifications
You must be signed in to change notification settings - Fork 1
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
Handle when Exchange Server performs MarketClosed on an order #235
Comments
Note: the below verbiage is written under the context that we are only trading on "USD" quoted pairs. However, problem is quote currency agnostic. After today's 9 hour service outage Gemini encountered which resulted in the cancellation of all limit orders on the exchange it brought to light the importance of handling this properly for partially filled orders. Up until now I have been resolving this scenario by performing the following manual steps:
This worked well enough for the time being. It was already known that there was the possibility that some orders had been partially filled. For these situations, the following was accepted:
What had not been considered was the following:
In today's |
At times when gemini performs maintenance on their servers they will close all open limit orders an a trading pair. When this happens, the application does not recognize that the order is not live anymore and will not re-place the original buy / sell order.
Example order status after this event has occurred:
The text was updated successfully, but these errors were encountered: