2022-02-22 08:52:14 +00:00
|
|
|
## bbgo kline
|
|
|
|
|
|
|
|
connect to the kline market data streaming service of an exchange
|
|
|
|
|
|
|
|
```
|
|
|
|
bbgo kline [flags]
|
|
|
|
```
|
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for kline
|
|
|
|
--interval string interval of the kline (candle), .e.g, 1m, 3m, 15m (default "1m")
|
|
|
|
--session string session name
|
|
|
|
--symbol string the trading pair. e.g, BTCUSDT, LTCUSDT...
|
|
|
|
```
|
|
|
|
|
|
|
|
### Options inherited from parent commands
|
|
|
|
|
|
|
|
```
|
|
|
|
--binance-api-key string binance api key
|
|
|
|
--binance-api-secret string binance api secret
|
|
|
|
--config string config file (default "bbgo.yaml")
|
2022-06-09 18:52:54 +00:00
|
|
|
--cpu-profile string cpu profile
|
2022-02-22 08:52:14 +00:00
|
|
|
--debug debug mode
|
|
|
|
--dotenv string the dotenv file you want to load (default ".env.local")
|
|
|
|
--ftx-api-key string ftx api key
|
|
|
|
--ftx-api-secret string ftx api secret
|
|
|
|
--ftx-subaccount string subaccount name. Specify it if the credential is for subaccount.
|
|
|
|
--max-api-key string max api key
|
|
|
|
--max-api-secret string max api secret
|
|
|
|
--metrics enable prometheus metrics
|
|
|
|
--metrics-port string prometheus http server port (default "9090")
|
|
|
|
--no-dotenv disable built-in dotenv
|
|
|
|
--slack-channel string slack trading channel (default "dev-bbgo")
|
|
|
|
--slack-error-channel string slack error channel (default "bbgo-error")
|
|
|
|
--slack-token string slack token
|
|
|
|
--telegram-bot-auth-token string telegram auth token
|
|
|
|
--telegram-bot-token string telegram bot token from bot father
|
|
|
|
```
|
|
|
|
|
|
|
|
### SEE ALSO
|
|
|
|
|
|
|
|
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
|
|
|
|
|
2022-07-19 01:48:21 +00:00
|
|
|
###### Auto generated by spf13/cobra on 19-Jul-2022
|