mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
add data/bbgo_test.sql to git lfs
This commit is contained in:
parent
bec1103a64
commit
e1f7d8b965
|
@ -16,8 +16,8 @@ sessions:
|
|||
# example command:
|
||||
# go run ./cmd/bbgo backtest --config config/grid2.yaml --base-asset-baseline
|
||||
backtest:
|
||||
startTime: "2022-01-01"
|
||||
endTime: "2022-11-25"
|
||||
startTime: "2022-06-01"
|
||||
endTime: "2022-06-30"
|
||||
symbols:
|
||||
- BTCUSDT
|
||||
sessions: [binance]
|
||||
|
|
18
doc/topics/strategy-testing.md
Normal file
18
doc/topics/strategy-testing.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
## Strategy Testing
|
||||
|
||||
A pre-built small backtest data db file is located at `data/bbgo_test.sql`.
|
||||
|
||||
You can use this file for environments without networking to test your strategy.
|
||||
|
||||
A small backtest data set is synchronized in the database:
|
||||
|
||||
- exchange: binance
|
||||
- symbol: BTCUSDT
|
||||
- startDate: 2022-06-01
|
||||
- endDate: 2022-06-30
|
||||
|
||||
To import the database, you can do:
|
||||
|
||||
```shell
|
||||
mysql -uroot -pYOUR_PASSWORD < data/bbgo_test.sql
|
||||
```
|
Loading…
Reference in New Issue
Block a user