mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
doc: add command usages
This commit is contained in:
parent
ea7b501c26
commit
3d625fa738
14
README.md
14
README.md
|
@ -68,6 +68,20 @@ dotenv -f .env.local -- bbgo migrate redo
|
|||
|
||||
(It internally uses `goose` to run these migration files, see [migrations](migrations))
|
||||
|
||||
|
||||
To query transfer history:
|
||||
|
||||
```sh
|
||||
dotenv -f .env.local -- bbgo transfer-history --exchange max --asset USDT --since "2019-01-01"
|
||||
```
|
||||
|
||||
To calculate pnl:
|
||||
|
||||
```sh
|
||||
dotenv -f .env.local -- bbgo pnl --exchange binance --asset BTC --since "2019-01-01"
|
||||
```
|
||||
|
||||
|
||||
## Examples
|
||||
|
||||
Please check out the example directory: [examples](examples)
|
||||
|
|
Loading…
Reference in New Issue
Block a user