LEAN CLI
An easy to use, python shell wrapper on LEAN
Automate, Scale, and Systemize
LEAN CLI provides notebooks, backtesting, optimization and live trading with a simple to use API, deploying to the cloud or on premise.
Get Started Download PDF Download PDF Download Cheat SheetKey Concepts
Learn the key concepts before using the CLI
Installation
Install the CLI on your local machine
Initialization
Initialize the CLI
Datasets
Learn to use data from QC and custom files
Projects
Manage and deploy your algorithms
Research
Test your hypothesis on historical data in interactive Jupyter notebooks
Backtesting
Simulate a trading algorithm on historical data
Live Trading
Deploy your algorithms in live mode with real-time data
Reports
Generate polished, professional-grade reports for your algorithms
Optimization
Find the optimal algorithm parameters to maximize or minimize an objective function
Object Store
File system that you can use in your algorithms to save, read, and delete data
API Reference
LEAN CLI commands