mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
update command doc files
This commit is contained in:
parent
60af0b08e3
commit
c76d57e424
|
@ -47,7 +47,7 @@ bbgo [flags]
|
||||||
* [bbgo optimize](bbgo_optimize.md) - run optimizer
|
* [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 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 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 run](bbgo_run.md) - run strategies from config file
|
||||||
* [bbgo submit-order](bbgo_submit-order.md) - place order to the exchange
|
* [bbgo submit-order](bbgo_submit-order.md) - place order to the exchange
|
||||||
* [bbgo sync](bbgo_sync.md) - sync trades and orders history
|
* [bbgo sync](bbgo_sync.md) - sync trades and orders history
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
## bbgo pnl
|
## 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]
|
bbgo pnl [flags]
|
||||||
|
@ -11,7 +15,7 @@ bbgo pnl [flags]
|
||||||
```
|
```
|
||||||
-h, --help help for pnl
|
-h, --help help for pnl
|
||||||
--include-transfer convert transfer records into trades
|
--include-transfer convert transfer records into trades
|
||||||
--limit int number of trades (default 500)
|
--limit int number of trades
|
||||||
--session string target exchange
|
--session string target exchange
|
||||||
--symbol string trading symbol
|
--symbol string trading symbol
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user