talira

LEAN (QuantConnect)

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

You run it, Apache-2.0

free12

Only in this edition

  • backtesting and live trading engine
  • Lean CLI

You arrange

  • market data and brokerage connections

Self-hosting docs

QuantConnect cloud

Hosted by QuantConnect

Price not published3

Only in this edition

  • Free, Quant Researcher, Team, Trading Firm and Institution plans
  • hosted data and live trading

Pricing

Alternatives

The same job

These do what LEAN (QuantConnect) does.

  1. Freqtrade A free, open source crypto trading bot in Python
  2. abu (阿布量化) Open source Python quantitative trading system with backtesting and machine-learning strategy optimization
  3. QuantDinger Self-hosted AI trading platform: Python strategies, AI market research, backtesting and paper or live trading
  4. Fincept Terminal Open source financial terminal for market analytics, research, backtesting and algo trading
  5. Qlib Microsoft's open source AI platform for quantitative investment research
  6. Qbot Python platform for quantitative trading research: data, AI strategies, backtesting, paper trading and automated live trading

Compare LEAN (QuantConnect) with the top 3