lean live command - Documentation QuantConnect.com
API Reference
Introduction
Send a command to a local running live trading project.
$ lean live command [OPTIONS] PROJECT
To use the CLI, you must be a member in an organization on a paid tier.
Options
The lean live command command supports the following options:
| Option | Description |
|---|---|
--data <string> | The command to send, 'str' representation of a 'dict' e.g. "{ \"target\": \"BTCUSD\", \"$type\":\"MyCommand\" }" |
--lean-config <file> | The Lean configuration file that should be used (defaults to the nearest lean.json) |
--verbose | Enable debug logging |
--help | Display the help text of the lean live command command and exit |