Open source algorithmic trading engine for backtesting and live trading in Python and C#
open coreApache-2.0self-hostablefree
LEAN is QuantConnect's open source, event-driven algorithmic trading engine: you write strategies in Python or C#, backtest them and trade live across equities, forex, options, futures and crypto, with alternative data and live-trading support out of the box. It's modular, with every component pluggable and models shipped for all the major plug-in points, and the Lean CLI (pip install lean) creates projects, runs backtests locally in Docker and deploys. QuantConnect also runs a hosted platform built on LEAN, with a free plan and paid plans.
Problems it solves
- backtest a trading strategy in Python
- an open source algorithmic trading engine I can run myself
- move a backtested strategy to live trading
Features
- event-driven backtesting and live trading
- Python and C# strategies
- equities, forex, options, futures and crypto
- pluggable models
- Lean CLI with Docker
Ways to run it
LEAN engine
Only in this edition
- backtesting and live trading engine
- Lean CLI
You arrange
- market data and brokerage connections
QuantConnect cloud
Price not published3
Only in this edition
- Free, Quant Researcher, Team, Trading Firm and Institution plans
- hosted data and live trading
Alternatives
The same job
These do what LEAN (QuantConnect) does.
- Freqtrade A free, open source crypto trading bot in Python
- abu (阿布量化) Open source Python quantitative trading system with backtesting and machine-learning strategy optimization
- QuantDinger Self-hosted AI trading platform: Python strategies, AI market research, backtesting and paper or live trading
- Fincept Terminal Open source financial terminal for market analytics, research, backtesting and algo trading
- Qlib Microsoft's open source AI platform for quantitative investment research
- Qbot Python platform for quantitative trading research: data, AI strategies, backtesting, paper trading and automated live trading