Interactive Brokers native python API and Backtrader
-
Hi,
Is there an effort to make Backtrader work with the native IB Python API rather than IbPy glue library.
Interactive Brokers regularly updates the API and provides new features, but IbPy has not been developed for two years. It would be great if Backtrader can work with the native IB Python API.Thanks
Fatih
-
@humbleguy said in Interactive Brokers native python API and Backtrader:
Interactive Brokers regularly updates the API and provides new features
- Which features?
See for example Community - TWS API python
@humbleguy said in Interactive Brokers native python API and Backtrader:
but IbPy has not been developed for two years
- Is it no longer working?
-
@backtrader
An example of recently introduced feature is live tick data, which was not available in earlier versions. In older versions only 250msec binned data was available. They are constantly adding and modifying things as their API is constantly evolving.I do not know if IbPy is working or not, I am not using it. However, the fact that it has not been updated for 2 years is a serious concern.
In the thread you point out, the same question is discussed, however, it seems like Backtrader is not ported to native IB API.Thanks
-
@humbleguy said in Interactive Brokers native python API and Backtrader:
I do not know if IbPy is working or not, I am not using it. However, the fact that it has not been updated for 2 years is a serious concern.
It's working. If you don't use it, I do really fail to see what the actual concern is.
@humbleguy said in Interactive Brokers native python API and Backtrader:
In example of recently introduced feature is live tick data, which was not available in earlier versions
If you don't use IbPy, my humble guess tells me you are not using Interactive Brokers, at least with backtrader, which means you are not using backtrader either.
What's the actual point then?
@humbleguy said in Interactive Brokers native python API and Backtrader:
In the thread you point out, the same question is discussed, however, it seems like Backtrader is not ported to native IB API.
It doesn't seem and it has never been claimed to. It doesn't use the Python wrapper for the API which IB has developed. (The native API is a wire protocol and has nothing to do with Python or any of the languages they offer as an SDK)