update command doc files

This commit is contained in:
Andy Cheng 2022-08-17 18:59:26 +08:00
parent c786d7d395
commit ffcaf0271b
29 changed files with 78 additions and 28 deletions

View File

@ -41,6 +41,7 @@ bbgo [flags]
* [bbgo deposits](bbgo_deposits.md) - A testing utility that will query deposition history in last 7 days
* [bbgo execute-order](bbgo_execute-order.md) - execute buy/sell on the balance/position you have on specific symbol
* [bbgo get-order](bbgo_get-order.md) - Get order status
* [bbgo hoptimize](bbgo_hoptimize.md) - run hyperparameter optimizer (experimental)
* [bbgo kline](bbgo_kline.md) - connect to the kline market data streaming service of an exchange
* [bbgo list-orders](bbgo_list-orders.md) - list user's open orders in exchange of a specific trading pair
* [bbgo margin](bbgo_margin.md) - margin related history
@ -58,4 +59,4 @@ bbgo [flags]
* [bbgo userdatastream](bbgo_userdatastream.md) - Listen to session events (orderUpdate, tradeUpdate, balanceUpdate, balanceSnapshot)
* [bbgo version](bbgo_version.md) - show version name
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo account [--session SESSION] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -51,4 +51,4 @@ bbgo backtest [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo balances [--session SESSION] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -40,4 +40,4 @@ bbgo build [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -50,4 +50,4 @@ bbgo cancel-order [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo deposits [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -49,4 +49,4 @@ bbgo execute-order --session SESSION --symbol SYMBOL --side SIDE --target-quanti
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo get-order --session SESSION --order-id ORDER_ID [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -0,0 +1,49 @@
## bbgo hoptimize
run hyperparameter optimizer (experimental)
```
bbgo hoptimize [flags]
```
### Options
```
-h, --help help for hoptimize
--json print optimizer metrics in json format
--json-keep-all keep all results of trials
--name string assign an optimization session name
--optimizer-config string config file (default "optimizer.yaml")
--output string backtest report output directory (default "output")
--tsv print optimizer metrics in csv format
```
### 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")
--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 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo kline [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo list-orders open|closed --session SESSION --symbol SYMBOL [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -39,4 +39,4 @@ margin related history
* [bbgo margin loans](bbgo_margin_loans.md) - query loans history
* [bbgo margin repays](bbgo_margin_repays.md) - query repay history
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo margin interests --session=SESSION_NAME --asset=ASSET [flags]
* [bbgo margin](bbgo_margin.md) - margin related history
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo margin loans --session=SESSION_NAME --asset=ASSET [flags]
* [bbgo margin](bbgo_margin.md) - margin related history
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo margin repays --session=SESSION_NAME --asset=ASSET [flags]
* [bbgo margin](bbgo_margin.md) - margin related history
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo market [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -44,4 +44,4 @@ bbgo optimize [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo orderbook --session=[exchange_name] --symbol=[pair_name] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo orderupdate [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -50,4 +50,4 @@ bbgo pnl [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -51,4 +51,4 @@ bbgo run [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -45,4 +45,4 @@ bbgo submit-order --session SESSION --symbol SYMBOL --side SIDE --quantity QUANT
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo sync [--session=[exchange_name]] [--symbol=[pair_name]] [[--since=yyyy/mm/d
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo trades --session=[exchange_name] --symbol=[pair_name] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo tradeupdate --session=[exchange_name] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo transfer-history [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo userdatastream [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -40,4 +40,4 @@ bbgo version [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022