update command doc files

This commit is contained in:
c9s 2022-06-08 23:17:11 +08:00
parent 60af0b08e3
commit c76d57e424
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54
2 changed files with 7 additions and 3 deletions

View File

@ -47,7 +47,7 @@ bbgo [flags]
* [bbgo optimize](bbgo_optimize.md) - run optimizer
* [bbgo orderbook](bbgo_orderbook.md) - connect to the order book market data streaming service of an exchange
* [bbgo orderupdate](bbgo_orderupdate.md) - Listen to order update events
* [bbgo pnl](bbgo_pnl.md) - pnl calculator
* [bbgo pnl](bbgo_pnl.md) - Average Cost Based PnL Calculator
* [bbgo run](bbgo_run.md) - run strategies from config file
* [bbgo submit-order](bbgo_submit-order.md) - place order to the exchange
* [bbgo sync](bbgo_sync.md) - sync trades and orders history

View File

@ -1,6 +1,10 @@
## bbgo pnl
pnl calculator
Average Cost Based PnL Calculator
### Synopsis
This command calculates the average cost-based profit from your total trades
```
bbgo pnl [flags]
@ -11,7 +15,7 @@ bbgo pnl [flags]
```
-h, --help help for pnl
--include-transfer convert transfer records into trades
--limit int number of trades (default 500)
--limit int number of trades
--session string target exchange
--symbol string trading symbol
```