2022-02-22 08:52:14 +00:00
|
|
|
## bbgo backtest
|
|
|
|
|
2022-06-07 14:24:47 +00:00
|
|
|
run backtest with strategies
|
2022-02-22 08:52:14 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
bbgo backtest [flags]
|
|
|
|
```
|
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
```
|
2022-05-05 01:04:04 +00:00
|
|
|
--base-asset-baseline use base asset performance as the competitive baseline performance
|
2022-12-23 05:08:05 +00:00
|
|
|
--config string strategy config file (default "config/bbgo.yaml")
|
2022-05-05 01:04:04 +00:00
|
|
|
--force force execution without confirm
|
|
|
|
-h, --help help for backtest
|
|
|
|
--output string the report output directory
|
2022-06-07 14:24:47 +00:00
|
|
|
--session string specify only one exchange session to run backtest
|
|
|
|
--subdir generate report in the sub-directory of the output directory
|
2022-05-05 01:04:04 +00:00
|
|
|
--sync sync backtest data
|
|
|
|
--sync-exchange string specify only one exchange to sync backtest data
|
|
|
|
--sync-from string sync backtest data from the given time, which will override the time range in the backtest config
|
|
|
|
--sync-only sync backtest data only, do not run backtest
|
|
|
|
-v, --verbose count verbose level
|
|
|
|
--verify verify the kline back-test data
|
2022-02-22 08:52:14 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Options inherited from parent commands
|
|
|
|
|
|
|
|
```
|
|
|
|
--binance-api-key string binance api key
|
|
|
|
--binance-api-secret string binance api secret
|
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")
|
2023-06-29 09:19:22 +00:00
|
|
|
--log-formatter string configure log formatter
|
2022-02-22 08:52:14 +00:00
|
|
|
--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
|
2022-12-23 05:08:05 +00:00
|
|
|
--rollbar-token string rollbar token
|
2022-02-22 08:52:14 +00:00
|
|
|
--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
|
|
|
|
|
2023-12-20 14:47:28 +00:00
|
|
|
###### Auto generated by spf13/cobra on 20-Dec-2023
|