API Reference
lean live add-security
Options
The lean live add-security
command supports the following options:
Option | Description |
---|---|
--ticker <value> | The ticker of the symbol to add. |
--market <value> | The market of the symbol to add. |
--security-type <value> | The security type of the symbol to add. |
--resolution <value> | The resolution of the symbol to add. Defaults to "Minute . |
--fill-data-forward <boolean> | The fill forward behavior. true to fill forward or false to not fill forward. Defaults to true . |
--leverage <value> | The leverage for the security. Defaults to 2 for Equity, 50 for Forex, and 1 for everything else. |
--extended-market-hours <boolean> | The extended market hours flag. true to allow pre/post market data or false for only in market data. Defaults to false |
--lean-config <value> | 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 add-security command and exit. |