mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 16:21:09 +00:00
584 B
584 B
Strategy Testing
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.
A small backtest data set is synchronized in the database:
- exchange: binance
- symbol: BTCUSDT
- startDate: 2022-06-01
- endDate: 2022-06-30
The SQL file is added via git-lfs, so you need to install git-lfs first:
git lfs install
To import the database, you can do:
mysql -uroot -pYOUR_PASSWORD < data/bbgo_test.sql