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 |
GitHub stars, last 30 days
Daily snapshots since 2026-09-12 (up to 30 days): +62 over the period, now 2,117. 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
Pythonic event-driven algorithmic trading library with backtesting and live trading
Archived event-driven Python algorithmic trading and backtesting library
Archived Python framework for backtesting and virtual-broker order simulation
Unified Python framework for quant data, factors, backtesting and trading
Python framework for building, backtesting, and deploying trading algorithms
Free, open-source crypto trading bot written in Python