Lean CLI

Local Development, Cloud Backtesting

  • lean init
  • lean create-project “My Project”
  • lean backtest “My Project”

Installation: pip install lean

Lean more about Lean CLI
QuantConnect CLI
Cli Cloud

Harness The Power of LEAN Locally or in The cloud

Seamlessly develop locally in your favorite development environment, with full autocomplete and debugging support to quickly and easily identify problems with your strategy

Setup Your Local Environment

Supported IDE's

pycharm rider vscode visual studio
LEAN CLI

>_ lean backtest

>_ lean cloud backtest

Cli Sync

Easy Synchronization

Synchronize your projects to the cloud to work on the go with QuantConnect’s Web-IDE or to perform cross validation of your results.

Want more processing power than your local environment? Push your code to cloud and then spin up a cluster to run your backtesting.

LEAN CLI

>_ lean cloud push

>_ lean cloud pull

cli tool

Fully Featured Tool

LEAN CLI is a feature-complete tool to leverage the LEAN technology for your algorithmic trading research.

Kick off with our Getting Started Tutorial today.

LEAN CLI

>_ Feature List

  • Local / cloud backtesting
  • Autocomplete and debugging environments
  • Local / cloud optimization
  • Local / cloud live trading
  • Jupyter research environments
  • Generate or download data
  • Synchronize projects with cloud
  • Create algorithm reports
  • Install Lean CLI: pip install lean