doc: update strategy testing doc

This commit is contained in:
c9s 2022-12-04 17:51:28 +08:00
parent e1f7d8b965
commit 7abeb3c59e

View File

@ -1,6 +1,6 @@
## Strategy Testing ## Strategy Testing
A pre-built small backtest data db file is located at `data/bbgo_test.sql`. A pre-built small backtest data db file is located at `data/bbgo_test.sql`, which contains 30days BTCUSDT kline data from binance.
You can use this file for environments without networking to test your strategy. You can use this file for environments without networking to test your strategy.
@ -11,6 +11,12 @@ A small backtest data set is synchronized in the database:
- startDate: 2022-06-01 - startDate: 2022-06-01
- endDate: 2022-06-30 - endDate: 2022-06-30
The SQL file is added via git-lfs, so you need to install git-lfs first:
```shell
git lfs install
```
To import the database, you can do: To import the database, you can do:
```shell ```shell