2023-06-08 07:54:32 +00:00
|
|
|
---
|
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
defaultChannel: "dev-bbgo"
|
|
|
|
errorChannel: "bbgo-error"
|
|
|
|
|
|
|
|
switches:
|
|
|
|
trade: true
|
|
|
|
orderUpdate: true
|
|
|
|
submitOrder: true
|
|
|
|
|
|
|
|
sessions:
|
|
|
|
max:
|
|
|
|
exchange: max
|
|
|
|
envVarPrefix: max
|
|
|
|
|
|
|
|
binance:
|
|
|
|
exchange: binance
|
|
|
|
envVarPrefix: binance
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
json:
|
|
|
|
directory: var/data
|
|
|
|
redis:
|
|
|
|
host: 127.0.0.1
|
|
|
|
port: 6379
|
|
|
|
db: 0
|
|
|
|
|
|
|
|
crossExchangeStrategies:
|
|
|
|
|
|
|
|
- xalign:
|
|
|
|
interval: 1m
|
|
|
|
sessions:
|
|
|
|
- max
|
|
|
|
- binance
|
2023-06-08 08:04:43 +00:00
|
|
|
|
|
|
|
## quoteCurrencies config specifies which quote currency should be used for BUY order or SELL order.
|
|
|
|
## when specifying [USDC,TWD] for "BUY", then it will consider BTCUSDT first then BTCTWD second.
|
2023-06-08 07:54:32 +00:00
|
|
|
quoteCurrencies:
|
|
|
|
buy: [USDC, TWD]
|
|
|
|
sell: [USDT]
|
|
|
|
expectedBalances:
|
|
|
|
BTC: 0.0440
|
|
|
|
|