{"repo":"QuantConnect/lean-cli","free":true,"listed":false,"github":"https://github.com/QuantConnect/lean-cli","clone":"git clone https://github.com/QuantConnect/lean-cli.git","description":"CLI for running the LEAN engine locally and in the cloud","language":"Python","stars":322,"topics":["cli","cloud-backtesting","cloud-optimization","quantconnect","lean-data"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"QuantConnect Lean CLI The Lean CLI is a cross-platform CLI aimed at making it easier to develop with the LEAN engine locally and in the cloud. Visit the documentation website for comprehensive and up-to-date documentation. Highlights - Project scaffolding - Local autocomplete - Local data downloading - Local backtesting - Local debugging - Local research environment - Local optimization - Local live trading - Local backtest report creation - Cloud synchronization - Cloud backtesting - Cloud optimization - Cloud live trading Installation The CLI can be installed and updated by running pip install --upgrade lean . Note that many commands in the CLI require Docker to run. See Get Docker for instructions on how to install Docker for your operating system. Note: Some Linux users may need to install tkinter using the following commands: After installing the CLI, open a terminal in an empty directory and run lean init . This command downloads the latest configuration file and sample data from the QuantConnect/Lean repository. We recommend running all Lean CLI commands in the same directory lean init was ran in. Usage The Lean CLI supports multiple workflows. The examples below serve as a starting point, you're free to mix local and cloud features in any way you'd like. A cloud-focused workflow (local development, cloud execution) with the CLI may look like this: 1. Open a terminal in the directory you ran lean init in. 2. Run lean cloud pull to pull remotely changed files. 3. Start ","default_branch":null,"files":null,"tree":[],"storefront":"/r/QuantConnect","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/QuantConnect/lean-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}