config: update grid2 config for sync

This commit is contained in:
c9s 2022-12-19 19:00:52 +08:00
parent 756bfe2402
commit 5d6669fde4
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -13,6 +13,26 @@ sessions:
exchange: binance
envVarPrefix: binance
sync:
# userDataStream is used to sync the trading data in real-time
# it uses the websocket connection to insert the trades
userDataStream:
trades: false
filledOrders: false
# since is the start date of your trading data
since: 2019-01-01
# sessions is the list of session names you want to sync
# by default, BBGO sync all your available sessions.
sessions:
- binance
# symbols is the list of symbols you want to sync
# by default, BBGO try to guess your symbols by your existing account balances.
symbols:
- BTCUSDT
# example command:
# go run ./cmd/bbgo backtest --config config/grid2.yaml --base-asset-baseline
backtest: