mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
Update back-testing.md
This commit is contained in:
parent
04453c23ea
commit
de3ebc23f1
|
@ -43,6 +43,12 @@ Note on date formats, the following date formats are supported:
|
|||
|
||||
And then, you can sync remote exchange k-lines (candle bars) data for back-testing:
|
||||
|
||||
```sh
|
||||
bbgo backtest -v --sync --config config/grid.yaml
|
||||
```
|
||||
|
||||
To customize the sync data range, add `--sync-from`:
|
||||
|
||||
```sh
|
||||
bbgo backtest -v --sync --sync-only --sync-from 2020-11-01 --config config/grid.yaml
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user