Home / Backtesting & trading frameworks
Lumibot
Python algorithmic trading framework for backtesting and live trading
What it is
An open-source Python framework for algorithmic trading where the same strategy code can be used for both backtesting and live trading across stocks, options, crypto, futures, forex, and prediction markets. It supports multiple broker integrations, including Alpaca and Interactive Brokers, and provides a strategy lifecycle that separates trading logic from broker configuration, along with backtesting that produces trade logs and tearsheets without requiring an API key. Traders and developers who want to test rule-based or AI-agent strategies on historical data before deploying through a broker will find it useful. The framework requires configuring a broker account for live trading, and converting a backtest-only example into live trading involves more than flipping a setting, since run mode must be selected explicitly.
At a glance
Worth watchingOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Developers |
|---|---|
| Used for | Backtesting, Live trading |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Moderate learning curve |
| Practical value | High practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | Commits today |
Popularity snapshots
Daily snapshots of GitHub stars. Star changes are not a count of users or usage. Snapshots since 2026-11-02 (up to 30 days): first-to-last change +71 , latest 2,265. Gaps mean no snapshot was taken that day.
Algorithmic trading framework where the same code runs for backtesting and live trading across stocks, options, crypto, futures, and forex with multiple brokers including Alpaca, Interactiv
Similar tools
Backtrader fork with AI-assisted strategy tooling
Pythonic event-driven algorithmic trading library with backtesting and live trading
Async algorithmic trading engine with shared backtest and live code
Archived event-driven Python algorithmic trading and backtesting library
Archived Python framework for backtesting and virtual-broker order simulation
Deploy backtested strategies to live or paper trading unchanged