API Reference
lean cloud backtest
Description
Runs a backtest for a cloud project.
While running the backtest, a progress bar shows to keep you up-to-date on the status of the backtest.
After running the backtest, the resulting statistics and a link to the full results on QuantConnect are logged.
You can use the --open
option to automatically open the full results in the browser after the backtest has finished.
If you have a local copy of the cloud project, you can use the --push
option to push local modifications to the cloud before running the backtest.
Options
The lean cloud backtest
command supports the following options:
Option | Description |
---|---|
--name <string> | The name of the backtest (a random one is generated if not specified) |
--push | Push local modifications to the cloud before running the backtest |
--open | Automatically open the results in the browser when the backtest is finished |
--verbose | Enable debug logging |
--help | Display the help text of the lean cloud backtest command and exit |