3
$\begingroup$

I've read some tutorial of the Interactive Brokers API's TWS and it seems very low level and requires so much work just to place a simple market order.

I've come across IBPy and just wondering how reliable is it? It's very simple to use, but should anything go wrong, is it quite easy to debug?

I've also heard that IBPy is no longer being developed, so it won't support Python 3.0 and up. In that case, is there something similar to IBPy that's just as easy to use and is updated quite frequently?

$\endgroup$

1 Answer 1

5
$\begingroup$

The problem with using IbPy is not only that it does not support Python 3 but even more importantly it's anchored to an older version of IB's API so it's missing a lot of features IB has added in recent years.

If you like the feel of IbPy, ibpythonic is near drop-in replacement for IbPy that works with Python 3 and the newer versions of IB's API. It's maintained by (and used by) QuantRocket. (Disclaimer: I am affiliated with QuantRocket.)

Another option to look at is ib_insync. It replaces IB's asynchronous programming model with a more synchronous programming model and has an active user group.

$\endgroup$
6
  • $\begingroup$ Brian, thanks for all your contributions, any plans to update ibpythonic to support API 9.74? $\endgroup$
    – misantroop
    Commented Nov 24, 2018 at 10:04
  • $\begingroup$ I second the comment from misantroop. Redundant as this may be, a head's up would be helpful before porting over to the native API/another 3rd party, as the IbPy-like interface has always served me well. $\endgroup$
    – JakeZ
    Commented Nov 30, 2018 at 1:45
  • $\begingroup$ @Brian from QuantRocket. I just looked at the QuantRocket website and it was interesting. Is QuantRocket at all close to supporting intraday trading that can go on all day ? I have a strategy that uses the Bovespa Exchange stocks and I'm trying to figure out if there's any platform that allows such a thing ? Thanks. $\endgroup$
    – mark leeds
    Commented Nov 30, 2018 at 7:41
  • $\begingroup$ @misantroop if ibpythonic doesn't work with 9.74, please open a GitHub issue. $\endgroup$ Commented Nov 30, 2018 at 13:26
  • $\begingroup$ @Brian from QuantRocket, I would but there doesn't seem to be a possibility to do so (issues tab missing). $\endgroup$
    – misantroop
    Commented Nov 30, 2018 at 14:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.