bbgo_origin/config/xgap.yaml

54 lines
895 B
YAML
Raw Normal View History

2021-03-22 01:54:38 +00:00
---
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: "$silent"
2021-03-22 01:54:38 +00:00
order: "$silent"
submitOrder: "$silent"
pnL: "bbgo-pnl"
persistence:
json:
directory: var/data
redis:
host: 127.0.0.1
port: 6379
db: 0
sessions:
max:
exchange: max
envVarPrefix: max
binance:
exchange: binance
envVarPrefix: binance
publicOnly: true
crossExchangeStrategies:
2021-12-26 07:13:51 +00:00
- xgap:
2021-03-22 01:54:38 +00:00
symbol: "ETHUSDT"
sourceExchange: binance
tradingExchange: max
updateInterval: 5s
2021-03-22 10:48:18 +00:00
dailyMaxVolume: 100
dailyFeeBudgets:
MAX: 100
2021-03-22 01:54:38 +00:00
persistence:
type: redis