mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
55 lines
2.2 KiB
Markdown
55 lines
2.2 KiB
Markdown
## bbgo run
|
|
|
|
run strategies from config file
|
|
|
|
```
|
|
bbgo run [flags]
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
--enable-grpc enable grpc server
|
|
--enable-web-server legacy option, this is renamed to --enable-webserver
|
|
--enable-webserver enable webserver
|
|
--grpc-bind string grpc server binding (default ":50051")
|
|
-h, --help help for run
|
|
--lightweight lightweight mode
|
|
--no-compile do not compile wrapper binary
|
|
--no-sync do not sync on startup
|
|
--setup use setup mode
|
|
--totp-account-name string
|
|
--totp-issuer string
|
|
--totp-key-url string time-based one-time password key URL, if defined, it will be used for restoring the otp key
|
|
--webserver-bind string webserver binding (default ":8080")
|
|
```
|
|
|
|
### 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")
|
|
--cpu-profile string cpu profile
|
|
--debug debug mode
|
|
--dotenv string the dotenv file you want to load (default ".env.local")
|
|
--log-formatter string configure log formatter
|
|
--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
|
|
--rollbar-token string rollbar token
|
|
--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 4-Sep-2024
|