update command doc files

This commit is contained in:
c9s 2022-07-10 15:29:19 +08:00
parent 1759dcdb73
commit 69baa8772b
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54
28 changed files with 36 additions and 33 deletions

View File

@ -58,4 +58,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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-2022

View File

@ -13,6 +13,7 @@ bbgo optimize [flags]
--json print optimizer metrics in json format
--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
@ -43,4 +44,4 @@ bbgo optimize [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-2022

View File

@ -13,11 +13,13 @@ bbgo pnl [flags]
### Options
```
-h, --help help for pnl
--include-transfer convert transfer records into trades
--limit int number of trades
--session string target exchange
--symbol string trading symbol
-h, --help help for pnl
--include-transfer convert transfer records into trades
--limit uint number of trades
--session stringArray target exchange sessions
--since string query trades from a time point
--symbol string trading symbol
--sync sync before loading trades
```
### Options inherited from parent commands
@ -48,4 +50,4 @@ bbgo pnl [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-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 17-Jun-2022
###### Auto generated by spf13/cobra on 10-Jul-2022