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

Rate limit does not match IB API rate limits? #50

Open
yul opened this issue Dec 28, 2022 · 1 comment
Open

Rate limit does not match IB API rate limits? #50

yul opened this issue Dec 28, 2022 · 1 comment

Comments

@yul
Copy link

yul commented Dec 28, 2022

Hello, it says here that rate limit is 50 messages/3 seconds:

// IB requests made through the IB-API must be limited to a maximum of 50 messages/3 second

however, in IB API documentation it says that the limit is 50 messages/1 second:

Aside from the TWS API's inherent limitation of 50 messages per second implying a maximum of 50 orders per second being sent to the TWS, there are no further API-only limitations. Interactive Brokers however requires its users to monitor their Order Efficiency Ratio (OER) as detailed in the Considerations for Optimizing Order Efficiency IBKB article.

https://interactivebrokers.github.io/tws-api/order_limitations.html

Is it the same rate limit? If so, can we change this limit here, in order to allow more orders sent quicker?

@Martin-Molinero
Copy link
Member

Hey @yul!
Sorry for the delay, we adjusted the rate limit because we were seeing issues, take a look at #29 . There might be room to reduce it but it's risky to undo the change, would require extensive testing many subscriptions/history/orders requests

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

No branches or pull requests

2 participants