mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
add sync config example
This commit is contained in:
parent
880d806736
commit
aaec79eec9
40
config/sync.yaml
Normal file
40
config/sync.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
sessions:
|
||||
binance:
|
||||
exchange: binance
|
||||
envVarPrefix: binance
|
||||
|
||||
max:
|
||||
exchange: max
|
||||
envVarPrefix: max
|
||||
|
||||
okex:
|
||||
exchange: okex
|
||||
envVarPrefix: okex
|
||||
|
||||
kucoin:
|
||||
exchange: kucoin
|
||||
envVarPrefix: kucoin
|
||||
|
||||
sync:
|
||||
# userDataStream is used to sync the trading data in real-time
|
||||
# it uses the websocket connection to insert the trades
|
||||
userDataStream:
|
||||
trade: true
|
||||
filledOrders: true
|
||||
|
||||
# since is the start date of your trading data
|
||||
since: 2019-11-01
|
||||
|
||||
# sessions is the list of session names you want to sync
|
||||
# by default, BBGO sync all your available sessions.
|
||||
sessions:
|
||||
- binance
|
||||
- max
|
||||
|
||||
# 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
|
||||
- ETHUSDT
|
||||
- LINKUSDT
|
Loading…
Reference in New Issue
Block a user