title: Connecting to Interactive Brokers API via Python
body: <p>I am looking to connect Python to the Interactive Brokers API. A google search reveals the availability of ibPy (see <a href="https://pypi.python.org/pypi/ib" rel="nofollow noreferrer">https://pypi.python.org/pypi/ib</a>) however it appears this library is not maintained nor does it support Python 3. I also found <a href="https://github.com/colin1alexander/IbPython3" rel="nofollow noreferrer">https://github.com/colin1alexander/IbPython3</a> however the project has since been taken down.</p>
  
  <p>I am aware that Quantopian uses Interactive Brokers as their execution agent but has a python front-end for algorithmic strategies. I am interested in knowing how they achieve this? More broadly however does anyone have any recommended resources/insights on how to connect python to interactive brokers? </p>