Skip to content

Commit

Permalink
update command doc files
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jun 8, 2022
1 parent 60af0b0 commit c76d57e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/commands/bbgo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions doc/commands/bbgo_pnl.md
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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
```
Expand Down

0 comments on commit c76d57e

Please sign in to comment.