API Reference
lean cloud live broadcast
Introduction
Broadcast a command to all running cloud live trading projects in an organization.
$ lean cloud live broadcast [OPTIONS]
Options
The lean cloud live broadcast command supports the following options:
| Option | Description |
|---|---|
--data <string> | The command to send, 'str' representation of a 'dict' e.g. "{ \"target\": \"BTCUSD\", \"$type\":\"MyCommand\" }" [required] |
--organization <string> | The name or id of the organization to broadcast the command to, defaults to the organization of the current Lean CLI directory |
--exclude-project <string> | The name or id of the project to exclude from the broadcast, by default all projects are included |
--verbose | Enable debug logging |
--help | Display the help text of the lean cloud live broadcast command and exit |