
In simple English
This tool helps you build and run automated trading systems in Python. You can write traditional rules or use artificial intelligence agents to make buying and selling decisions. It lets you test your strategy on past market data before you risk any real cash. You can then connect the same code to a live broker account to trade automatically. The software is free to download, but you will pay for market data feeds and model calls if you use artificial intelligence.
What it is
LumiBot is an open-source algorithmic trading framework with built-in support for artificial intelligence agents, historical backtesting, and twelve different brokers. It allows you to define a single strategy class and switch seamlessly between historical simulation, paper trading, and live execution.
What it is good for
Solo builders who want to test trading strategies on historical data or run automated trading bots using Python without writing custom broker connections from scratch.
- Runs the exact same strategy code in historical backtests and live broker accounts.
- Connects to twelve different brokers including Alpaca, Interactive Brokers, and Tradier.
- Includes built-in support for artificial intelligence agents that analyze market data and place trades.
- Requires comfort with Python programming and command-line tools to set up and run.
- Artificial intelligence features require paid model API keys and can incur high usage costs.
- Licenced under the GPL-3.0 licence, which has strict rules if you modify and distribute the code.
Writing custom broker API scripts and manual backtesting loops from scratch
Alpaca
- mementum/backtrader24k stars
A popular Python backtesting library, though it lacks built-in artificial intelligence agent runtimes.
- freqtrade/freqtrade56k stars
A crypto trading bot and backtesting framework written in Python, but focused primarily on digital assets.
- polakowo/vectorbt9.5k stars
A fast portfolio backtesting library for Python, though it does not provide direct live broker execution.
- jesse-ai/jesse8.7k stars
A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.
- hummingbot/hummingbot20k stars
A free framework for writing and running automated trading programs on cryptocurrency exchanges.
- lballabio/QuantLib7.7k stars
The long-established free library for pricing and risk-managing financial instruments.
pip install lumibot lumibot demo