-
Notifications
You must be signed in to change notification settings - Fork 27
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
Potential deadlock in order_place
#8
Comments
The deadlock detector returned this. It seems like TWS is not responding on some ID requests.
This is triggered by the following code in
|
#31 allows different methods to get the next order id. This is a potential work around for the problem. |
Saw this again:
|
I will note that this deadlock seems to happen when |
I've seen frequent cases where the code seems to deadlock in the
req_id = self._client.next_order_id()
line below. Deadlock monitoring has been added to try to find the problem.The text was updated successfully, but these errors were encountered: