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

Does backtrader2 work with the new version of IB Gateway 10.19? #94

Open
hermes-trading opened this issue Nov 6, 2023 · 1 comment
Open

Comments

@hermes-trading
Copy link

Seems like notify_data never receives the data feeds, historical or real time.
If this version is not supported, is there an older version that is confirmed to work?

@FGU1
Copy link

FGU1 commented Nov 30, 2023

To my knowledge, no older version is confirmed to work. There has been a few changes on IB API side (volume int -> float, upcoming datetime format for order validity etc.) and I've made some (somehow) quick & dirty fixes on it and on other issues I found. You can find the branch with these fixes here :
https://github.com/FGU1/backtrader/tree/IB_live_fix_and_others
Tested with TWS 10.26.1h and python 3.11 on paper account, tests still ongoing on live account. For orders with GTD validity : have to be sent in UTC time.
Feel free to let me know if it works for you or if you found some issues with it.

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