API Reference
lean cloud live
Introduction
Interact with the QuantConnect cloud live deployments.
$ lean cloud live [OPTIONS] COMMAND [ARGS]...
Description
The lean cloud live command provides subcommands for managing live trading deployments in the QuantConnect cloud.
Use lean cloud live deploy to start a new live deployment, lean cloud live stop to stop a running deployment, and lean cloud live liquidate to stop trading and liquidate all positions.
You can also use lean cloud live command to send a custom command to a running live deployment.
See the subcommand pages for full details on each operation.
Commands
The lean cloud live command expects the following arguments:
| Argument | Description |
|---|---|
command | Send a command to a running cloud live trading project |
deploy | Start live trading for a project in the cloud |
liquidate | Stops live trading and liquidates existing positions for a certain project |
stop | Stops live trading for a certain project without liquidating existing positions |