IB = Interactive Brokers
There seem to be two main choices
I understand the relative merits or demerits of using these two methods to some extent. But almost all discussions (in SO) talk about which of these tools would be better for a complex task. What I want to ask is, which of these two should I use for just passing some data to a c++ routine which then calls the API?
I guess I am just asking about the learning curve!
IBpy is a great solution it's a wrapper built on the java version of the API.
Can I propose a 3rd choice? In term of learning curve pyCxx is excellent. I think it is lighter than SWIG or Boost. It might be interesting for you. You can look at the examples to start a 1st module.
I've used it with success in the past and I found it easy to use.
I hope it helps
This version of ibpy works for me with the latest versions of the IB API (as of July 2014 anyway): https://github.com/blampe/IbPy
I've been using it successfully for months now. All I had to do was clone ibpy somewhere:
git clone https://github.com/blampe/IbPy
and install from there:
cd IbPy
python setup.py install
I got this originally from http://www.quantstart.com/articles/Using-Python-IBPy-and-the-Interactive-Brokers-API-to-Automate-Trades
Once you've got that installed, the interface in python is pretty much identical to the Java API interface: IB API pdf
I found it useful to look at the TWS Test Client Java code included with the IB API.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.