2
votes
$\begingroup$

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?.

$\endgroup$

3 Answers 3

2
votes
$\begingroup$

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.

$\endgroup$
3
votes
$\begingroup$

TradeStation offers python support via their WebAPI. Check it out here: http://tradestation.github.io/webapi-docs/

$\endgroup$
1
vote
$\begingroup$

Check out Quantopian. It's all in Python. You can backtest and paper trade your algo for free. We do live trading by hooking your algorithm to your Interactive Brokers account.

$\endgroup$

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