mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 17:25:16 +00:00
46 lines
1.7 KiB
Markdown
46 lines
1.7 KiB
Markdown
|
## bbgo sync
|
||
|
|
||
|
sync trades and orders history
|
||
|
|
||
|
```
|
||
|
bbgo sync --session=[exchange_name] --symbol=[pair_name] [--since=yyyy/mm/dd] [flags]
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
|
-h, --help help for sync
|
||
|
--session string the exchange session name for sync
|
||
|
--since string sync from time
|
||
|
--symbol string symbol of market for syncing
|
||
|
```
|
||
|
|
||
|
### 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")
|
||
|
--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
|
||
|
|
||
|
###### Auto generated by spf13/cobra on 22-Feb-2022
|