LEAN CLI
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
Cross-check your local backtests by running the same strategy in the cloud or spin up dozens of servers for batch processing a parameter optimization.
LEAN CLI
>_ lean backtest
>_ lean cloud backtest
Open-Source Algorithmic Trading
Easy Synchronization
With a simple command you can 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. Or pull the code down to your local computer to store backups and code version control.
LEAN CLI
>_ lean cloud push
>_ lean cloud pull
Easily Back-Up and Synchronize Strategies
Fully Featured Tool
LEAN CLI is a feature-complete tool to leverage LEAN technology for your algorithmic trading research and trading. We carefully implement every new feature for our cloud and the CLI, ensuring the LEAN project can stand alone.
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
The World's Leading Algorithmic Trading Platform
Upgrade LEAN with Plugins
Supercharge your LEAN CLI installation with plugins from QuantConnect to popular institutional data sources and markets
Type: Data Source, Brokerage
Route orders to any of the Bloomberg EMSX network destinations and source data for your research with Bloomberg data feeds.
Research, Backtest, and Live Data Sources
Live Trade with LEAN through EMSX Network
1300+ Execution Destinations
Available with QuantConnect Subscriptions on Institutional Tier. Combine with the QuantConnect Equities Security Master for the best experience.
Type: Data Source, Brokerage
Route orders to 30+ destinations in the Trading Technologies network for best-in-class futures contract execution.
Route to 30+ Brokerage Destinations
Stateful Restart of Portfolio
UAT or Live Mode Support
Available with QuantConnect Subscriptions on Trading Firm Tier. Combine with the QuantConnect Futures Security Master for the best experience.