mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
51 lines
831 B
YAML
51 lines
831 B
YAML
|
---
|
||
|
notifications:
|
||
|
slack:
|
||
|
defaultChannel: "dev-bbgo"
|
||
|
errorChannel: "bbgo-error"
|
||
|
|
||
|
# if you want to route channel by symbol
|
||
|
symbolChannels:
|
||
|
"^BTC": "btc"
|
||
|
"^ETH": "eth"
|
||
|
|
||
|
# if you want to route channel by exchange session
|
||
|
sessionChannels:
|
||
|
max: "bbgo-max"
|
||
|
binance: "bbgo-binance"
|
||
|
|
||
|
# routing rules
|
||
|
routing:
|
||
|
trade: "$symbol"
|
||
|
order: "$slient"
|
||
|
submitOrder: "$slient"
|
||
|
pnL: "bbgo-pnl"
|
||
|
|
||
|
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:
|
||
|
|
||
|
- xbalance:
|
||
|
asset: USDT
|
||
|
addresses:
|
||
|
binance: your_whitelisted_address
|
||
|
max: your_whitelisted_address
|
||
|
low: 5000
|
||
|
middle: 6000
|
||
|
|