2022-01-27 00:43:44 +00:00
|
|
|
---
|
|
|
|
sessions:
|
|
|
|
binance:
|
|
|
|
exchange: binance
|
|
|
|
envVarPrefix: binance
|
|
|
|
|
2022-06-01 10:30:24 +00:00
|
|
|
binance_margin_dotusdt:
|
|
|
|
exchange: binance
|
|
|
|
envVarPrefix: binance
|
|
|
|
margin: true
|
|
|
|
isolatedMargin: true
|
|
|
|
isolatedMarginSymbol: DOTUSDT
|
|
|
|
|
2022-01-27 00:43:44 +00:00
|
|
|
max:
|
|
|
|
exchange: max
|
|
|
|
envVarPrefix: max
|
|
|
|
|
2022-06-08 07:05:44 +00:00
|
|
|
kucoin:
|
|
|
|
exchange: kucoin
|
|
|
|
envVarPrefix: kucoin
|
|
|
|
|
|
|
|
okex:
|
|
|
|
exchange: okex
|
|
|
|
envVarPrefix: okex
|
|
|
|
|
2022-01-27 00:43:44 +00:00
|
|
|
sync:
|
|
|
|
# userDataStream is used to sync the trading data in real-time
|
|
|
|
# it uses the websocket connection to insert the trades
|
|
|
|
userDataStream:
|
2022-01-27 01:34:04 +00:00
|
|
|
trades: true
|
2022-01-27 00:43:44 +00:00
|
|
|
filledOrders: true
|
|
|
|
|
|
|
|
# since is the start date of your trading data
|
2022-06-02 05:38:54 +00:00
|
|
|
since: 2019-01-01
|
2022-01-27 00:43:44 +00:00
|
|
|
|
|
|
|
# sessions is the list of session names you want to sync
|
|
|
|
# by default, BBGO sync all your available sessions.
|
|
|
|
sessions:
|
|
|
|
- binance
|
2022-06-01 10:30:24 +00:00
|
|
|
- binance_margin_dotusdt
|
2022-01-27 00:43:44 +00:00
|
|
|
- max
|
2022-06-08 07:05:44 +00:00
|
|
|
- okex
|
|
|
|
- kucoin
|
2022-01-27 00:43:44 +00:00
|
|
|
|
|
|
|
# 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
|
2022-06-01 18:13:42 +00:00
|
|
|
- DOTUSDT
|
2022-06-14 05:03:37 +00:00
|
|
|
- binance:BNBUSDT
|
|
|
|
- max:USDTTWD
|
2022-05-30 16:59:33 +00:00
|
|
|
|
2022-06-01 10:30:24 +00:00
|
|
|
# marginHistory enables the margin history sync
|
|
|
|
marginHistory: true
|
|
|
|
|
|
|
|
# marginAssets lists the assets that are used in the margin.
|
|
|
|
# including loan, repay, interest and liquidation
|
|
|
|
marginAssets:
|
|
|
|
- USDT
|
|
|
|
|
2022-06-08 07:05:44 +00:00
|
|
|
depositHistory: true
|
|
|
|
rewardHistory: true
|
2022-06-01 18:31:46 +00:00
|
|
|
withdrawHistory: true
|