Which brokers offer a Python stock trading API?

  • I would like to automate my trading strategies.

    My strategies are not high-frequency and are written in Python.

    I have a trading account in Interactive Brokers, and I know some non-official Python libraries (such as ibPy and swigPy) that are an interface to the Java API and are not officially supported.

    Is there another broker that has a better stock trading API for Python?

    Inspired by Which brokers offer a .NET stock trading API?.

  • I know of no broker that provides an official, supported Python API. If you are at Interactive Brokers you can consider using their FIX gateway, but that comes with additional cost. QuickFix provides a Python API.

License under CC-BY-SA with attribution

Content dated before 7/24/2021 11:53 AM