I installed Ibpy2 to connect to my interactive broker account.
https://github.com/blampe/IbPy
I installed IbPy2 successfully (by installing pip install IbPy2
AND python setup.py install
).
However, when I open Spyder in Anaconda and run from IBWrapper import IBWrapper, contract
. It says:
No module named 'IBWrapper'.
Please advise how I may fix it. Many, many thanks!
IbPy is outdated, it's a 3rd party module that's no longer supported as there is an official Python module available.
If you wish to use a IbPy like interface to interact with the official API, use IbPythonic. It's almost identical to IbPy with minor adjustments, for example IbPy has 'm_' prefixes in functions.