Easiest Algorithmic Trading Platform in Python
Build, backtest, and deploy trading algorithms from home — all in one place.
Supports Interactive Brokers, TD Ameritrade, and Robinhood.
def handle_data(context, data):
sma_short = data.history('SPY', 'close', 50).mean()
sma_long = data.history('SPY', 'close', 200).mean()
if sma_short > sma_long:
order_target_percent('SPY', 1.0)
What Is IBridgePy?
IBridgePy is a Python trading platform that lets you write automated trading strategies and run them with real brokers like Interactive Brokers, TD Ameritrade, and Robinhood. You write your strategy in Python on your own computer, test it with historical data (backtesting), and when you're ready, run it live — using the exact same code. No cloud accounts needed, no restrictions on Python libraries, and your strategies never leave your machine.
Who is it for?
Traders who want to automate their strategies without learning complex broker APIs. Whether you're a beginner writing your first moving average crossover or an experienced quant building multi-account portfolio systems, IBridgePy handles the broker connection so you can focus on your trading logic.
IBridgePy was developed by Dr. Hui Liu, a respected figure in the trading community. Interactive Brokers has featured IBridgePy in their education center. Learn more about IBridgePy →
Privacy Protection
Run IBridgePy on your own computer. Your trading strategies and data never leave your machine.
Seamless Backtesting
Use the same code for backtesting and live trading. Validate strategies before risking real capital.
Multi-Account Management
Manage multiple trading accounts simultaneously with a single IBridgePy instance.
Any Python Package
Use pandas, numpy, scikit-learn, or any Python library in your trading strategies. No restrictions.
What Customers Say
“Our firm uses IBridgePy to build automated trading robots. IBridgePy is super-powerful and easy to use! Highly recommend any firm to try it out!”
“We are happy to announce that we have selected IBridgePy as our preferred platform to connect our autonomous AI trading platform. IBridgePy is flexible and easy.”
“IBridgePy is a good algorithmic trading platform. We believe that it makes great technical contribution to IBKR campus audiences and really hope more people know it.”
Live Strategy Performance
Starting June 2026, our investment team publishes results from 3 algorithmic trading strategies powered by IBridgePy. Portfolio values are recorded at 4:30 PM Pacific Time each trading day after the U.S. market closes. All strategies are benchmarked against SPY (S&P 500 ETF).
Anyone can submit their trading records to IBridgePy to have their strategy performance displayed here. View full details →
Disclaimer: The information presented here is for educational and informational purposes only. It does not constitute investment advice, financial guidance, or a recommendation to buy or sell any securities. Past performance is not indicative of future results. Trading involves substantial risk of loss and is not suitable for all investors. Always consult a qualified financial advisor before making investment decisions.



