From 14a427d27265e063cea8e4803d47f5c9edbc30b5 Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 11 Sep 2022 18:02:42 +0800 Subject: [PATCH] update command doc files --- doc/commands/bbgo.md | 2 +- doc/commands/bbgo_account.md | 2 +- doc/commands/bbgo_backtest.md | 2 +- doc/commands/bbgo_balances.md | 2 +- doc/commands/bbgo_build.md | 2 +- doc/commands/bbgo_cancel-order.md | 2 +- doc/commands/bbgo_deposits.md | 2 +- doc/commands/bbgo_execute-order.md | 2 +- doc/commands/bbgo_get-order.md | 2 +- doc/commands/bbgo_hoptimize.md | 2 +- doc/commands/bbgo_kline.md | 2 +- doc/commands/bbgo_list-orders.md | 2 +- doc/commands/bbgo_margin.md | 2 +- doc/commands/bbgo_margin_interests.md | 2 +- doc/commands/bbgo_margin_loans.md | 2 +- doc/commands/bbgo_margin_repays.md | 2 +- doc/commands/bbgo_market.md | 2 +- doc/commands/bbgo_optimize.md | 2 +- doc/commands/bbgo_orderbook.md | 2 +- doc/commands/bbgo_orderupdate.md | 2 +- doc/commands/bbgo_pnl.md | 2 +- doc/commands/bbgo_run.md | 2 +- doc/commands/bbgo_submit-order.md | 16 +++++++++------- doc/commands/bbgo_sync.md | 2 +- doc/commands/bbgo_trades.md | 2 +- doc/commands/bbgo_tradeupdate.md | 2 +- doc/commands/bbgo_transfer-history.md | 2 +- doc/commands/bbgo_userdatastream.md | 2 +- doc/commands/bbgo_version.md | 2 +- 29 files changed, 37 insertions(+), 35 deletions(-) diff --git a/doc/commands/bbgo.md b/doc/commands/bbgo.md index 6b0df22cc..422d3e795 100644 --- a/doc/commands/bbgo.md +++ b/doc/commands/bbgo.md @@ -59,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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_account.md b/doc/commands/bbgo_account.md index 773c1d98a..f4734bc09 100644 --- a/doc/commands/bbgo_account.md +++ b/doc/commands/bbgo_account.md @@ -42,4 +42,4 @@ bbgo account [--session SESSION] [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_backtest.md b/doc/commands/bbgo_backtest.md index f71b897ca..567926a8c 100644 --- a/doc/commands/bbgo_backtest.md +++ b/doc/commands/bbgo_backtest.md @@ -51,4 +51,4 @@ bbgo backtest [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_balances.md b/doc/commands/bbgo_balances.md index 38cf3a468..4803d8b6c 100644 --- a/doc/commands/bbgo_balances.md +++ b/doc/commands/bbgo_balances.md @@ -41,4 +41,4 @@ bbgo balances [--session SESSION] [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_build.md b/doc/commands/bbgo_build.md index cebe9d4e2..dfdd6bfa0 100644 --- a/doc/commands/bbgo_build.md +++ b/doc/commands/bbgo_build.md @@ -40,4 +40,4 @@ bbgo build [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_cancel-order.md b/doc/commands/bbgo_cancel-order.md index c187a479f..164108410 100644 --- a/doc/commands/bbgo_cancel-order.md +++ b/doc/commands/bbgo_cancel-order.md @@ -50,4 +50,4 @@ bbgo cancel-order [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_deposits.md b/doc/commands/bbgo_deposits.md index 177441ae9..3e0687c13 100644 --- a/doc/commands/bbgo_deposits.md +++ b/doc/commands/bbgo_deposits.md @@ -42,4 +42,4 @@ bbgo deposits [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_execute-order.md b/doc/commands/bbgo_execute-order.md index fdd7473ee..9d3f1755b 100644 --- a/doc/commands/bbgo_execute-order.md +++ b/doc/commands/bbgo_execute-order.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_get-order.md b/doc/commands/bbgo_get-order.md index 87a0e1935..31c2f14e3 100644 --- a/doc/commands/bbgo_get-order.md +++ b/doc/commands/bbgo_get-order.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_hoptimize.md b/doc/commands/bbgo_hoptimize.md index 5bce80c2b..92fd2cedb 100644 --- a/doc/commands/bbgo_hoptimize.md +++ b/doc/commands/bbgo_hoptimize.md @@ -46,4 +46,4 @@ bbgo hoptimize [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_kline.md b/doc/commands/bbgo_kline.md index ebb6333c4..555c18508 100644 --- a/doc/commands/bbgo_kline.md +++ b/doc/commands/bbgo_kline.md @@ -43,4 +43,4 @@ bbgo kline [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_list-orders.md b/doc/commands/bbgo_list-orders.md index 688e60522..174b87150 100644 --- a/doc/commands/bbgo_list-orders.md +++ b/doc/commands/bbgo_list-orders.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_margin.md b/doc/commands/bbgo_margin.md index 5674b984c..e11f86991 100644 --- a/doc/commands/bbgo_margin.md +++ b/doc/commands/bbgo_margin.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_margin_interests.md b/doc/commands/bbgo_margin_interests.md index d6560c56e..3820b59ca 100644 --- a/doc/commands/bbgo_margin_interests.md +++ b/doc/commands/bbgo_margin_interests.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_margin_loans.md b/doc/commands/bbgo_margin_loans.md index 47f53c8ba..54c055934 100644 --- a/doc/commands/bbgo_margin_loans.md +++ b/doc/commands/bbgo_margin_loans.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_margin_repays.md b/doc/commands/bbgo_margin_repays.md index f237ca68a..26d926ffc 100644 --- a/doc/commands/bbgo_margin_repays.md +++ b/doc/commands/bbgo_margin_repays.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_market.md b/doc/commands/bbgo_market.md index 51c7d388d..68e15b01c 100644 --- a/doc/commands/bbgo_market.md +++ b/doc/commands/bbgo_market.md @@ -41,4 +41,4 @@ bbgo market [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_optimize.md b/doc/commands/bbgo_optimize.md index dac96463c..bbe2c2142 100644 --- a/doc/commands/bbgo_optimize.md +++ b/doc/commands/bbgo_optimize.md @@ -44,4 +44,4 @@ bbgo optimize [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_orderbook.md b/doc/commands/bbgo_orderbook.md index 876c67266..9cd65d218 100644 --- a/doc/commands/bbgo_orderbook.md +++ b/doc/commands/bbgo_orderbook.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_orderupdate.md b/doc/commands/bbgo_orderupdate.md index b30b6c7c3..6fb9e1254 100644 --- a/doc/commands/bbgo_orderupdate.md +++ b/doc/commands/bbgo_orderupdate.md @@ -41,4 +41,4 @@ bbgo orderupdate [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_pnl.md b/doc/commands/bbgo_pnl.md index d4e9ba4ae..30cd842d2 100644 --- a/doc/commands/bbgo_pnl.md +++ b/doc/commands/bbgo_pnl.md @@ -50,4 +50,4 @@ bbgo pnl [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_run.md b/doc/commands/bbgo_run.md index e74d528c1..ba59770b2 100644 --- a/doc/commands/bbgo_run.md +++ b/doc/commands/bbgo_run.md @@ -51,4 +51,4 @@ bbgo run [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_submit-order.md b/doc/commands/bbgo_submit-order.md index efa97cd68..bbbb34584 100644 --- a/doc/commands/bbgo_submit-order.md +++ b/doc/commands/bbgo_submit-order.md @@ -9,12 +9,14 @@ bbgo submit-order --session SESSION --symbol SYMBOL --side SIDE --quantity QUANT ### Options ``` - -h, --help help for submit-order - --price string the trading price - --quantity string the trading quantity - --session string the exchange session name for sync - --side string the trading side: buy or sell - --symbol string the trading pair, like btcusdt + -h, --help help for submit-order + --margin-side-effect string margin order side effect + --market submit order as a market order + --price string the trading price + --quantity string the trading quantity + --session string the exchange session name for sync + --side string the trading side: buy or sell + --symbol string the trading pair, like btcusdt ``` ### Options inherited from parent commands @@ -45,4 +47,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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_sync.md b/doc/commands/bbgo_sync.md index d623937a5..5d0a6580a 100644 --- a/doc/commands/bbgo_sync.md +++ b/doc/commands/bbgo_sync.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_trades.md b/doc/commands/bbgo_trades.md index bcffc395f..7ca058d91 100644 --- a/doc/commands/bbgo_trades.md +++ b/doc/commands/bbgo_trades.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_tradeupdate.md b/doc/commands/bbgo_tradeupdate.md index d41716fba..b97c0280c 100644 --- a/doc/commands/bbgo_tradeupdate.md +++ b/doc/commands/bbgo_tradeupdate.md @@ -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 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_transfer-history.md b/doc/commands/bbgo_transfer-history.md index d2c6b1379..fda299904 100644 --- a/doc/commands/bbgo_transfer-history.md +++ b/doc/commands/bbgo_transfer-history.md @@ -43,4 +43,4 @@ bbgo transfer-history [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_userdatastream.md b/doc/commands/bbgo_userdatastream.md index c66b48e5b..120044bc6 100644 --- a/doc/commands/bbgo_userdatastream.md +++ b/doc/commands/bbgo_userdatastream.md @@ -41,4 +41,4 @@ bbgo userdatastream [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022 diff --git a/doc/commands/bbgo_version.md b/doc/commands/bbgo_version.md index 7299851c9..5a4eef23b 100644 --- a/doc/commands/bbgo_version.md +++ b/doc/commands/bbgo_version.md @@ -40,4 +40,4 @@ bbgo version [flags] * [bbgo](bbgo.md) - bbgo is a crypto trading bot -###### Auto generated by spf13/cobra on 7-Sep-2022 +###### Auto generated by spf13/cobra on 11-Sep-2022