Updating backtrader to connect the IB supported IB API ?
-
First off -> This library is fantastic! Loving It. MANY Thanks! Great JOB!
I have been having trouble getting the ibtest.py sample file up a running with the older IbPy2 library developed by Blampe (https://pypi.python.org/pypi/IbPy2).
- Are folks still actively using this library?
- And is anyone using it for live trading within an IB production environment?
I am not following how the queue (self.qlive) is obtaining and returning the data from reqMktData request for example - how are the callbacks invoked and passed to the next() iterator. Since I am not able to currently get the sample up a functioning properly my PyCharm code debugger is not as helpful as it could be at this stage.
-
I feel like I am missing something pretty basic here...any insights?
-
Are there any current plans to create a new set of IB Broker files to work with the new client API from IB?
And/or maybe even connect backtrader up with the ib_insync group/community (https://github.com/erdewit/ib_insync) simplification of the IB API. They have encapsulated the "reqId" management required by the IB API for example into their wrapper which definitely simplifies the calls to the API. However, they have also moved away from use of callbacks but I believe they can still be accessed.
I would be happy to contribute to an "approved design" from the backtrader community regarding the creation of a new set of IB Broker files for the IB API if that is in your plans so I wanted to determine your interest. I believe this would be interest and value to be current and potential users of the backtrader awesomeness.
- Please me know your thoughts on this one.
Thanks,
Darr Moore -
What's the use of IB borker? Can bitMex transactions be connected?
-
@darr said in Updating backtrader to connect the IB supported IB API ?:
I have been having trouble
It's always good to say there is trouble, but not actually what is the trouble.
@darr said in Updating backtrader to connect the IB supported IB API ?:
Are there any current plans to create a new set of IB Broker files to work with the new client API from IB?
@darr said in Updating backtrader to connect the IB supported IB API ?:
Please me know your thoughts on this one.
Feel free. See this for example: https://github.com/ftomassetti/backtrader-oandav20