mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
config: update config for new notification switches settings
This commit is contained in:
parent
4387b078c0
commit
3133d54957
|
@ -3,19 +3,10 @@ notifications:
|
||||||
slack:
|
slack:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
switches:
|
||||||
# if you want to route channel by symbol
|
trade: true
|
||||||
symbolChannels:
|
orderUpdate: true
|
||||||
"^BTC": "btc"
|
submitOrder: true
|
||||||
"^ETH": "eth"
|
|
||||||
"^BNB": "bnb"
|
|
||||||
|
|
||||||
# object routing rules
|
|
||||||
routing:
|
|
||||||
trade: "$symbol"
|
|
||||||
order: "$symbol"
|
|
||||||
submitOrder: "$session" # not supported yet
|
|
||||||
pnL: "bbgo-pnl"
|
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
# binance:
|
# binance:
|
||||||
|
|
|
@ -4,17 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# if you want to route channel by symbol
|
switches:
|
||||||
symbolChannels:
|
trade: true
|
||||||
"^BTC": "btc"
|
orderUpdate: true
|
||||||
"^ETH": "eth"
|
submitOrder: true
|
||||||
|
|
||||||
# object routing rules
|
|
||||||
routing:
|
|
||||||
trade: "$symbol"
|
|
||||||
order: "$symbol"
|
|
||||||
submitOrder: "$session" # not supported yet
|
|
||||||
pnL: "bbgo-pnl"
|
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
binance:
|
binance:
|
||||||
|
|
|
@ -3,6 +3,11 @@ notifications:
|
||||||
slack:
|
slack:
|
||||||
defaultChannel: "bbgo"
|
defaultChannel: "bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
switches:
|
||||||
|
trade: true
|
||||||
|
orderUpdate: true
|
||||||
|
submitOrder: true
|
||||||
|
|
||||||
|
|
||||||
exchangeStrategies:
|
exchangeStrategies:
|
||||||
- on: max
|
- on: max
|
||||||
|
|
|
@ -4,17 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# if you want to route channel by symbol
|
switches:
|
||||||
symbolChannels:
|
trade: true
|
||||||
"^BTC": "btc"
|
orderUpdate: true
|
||||||
"^ETH": "eth"
|
submitOrder: true
|
||||||
|
|
||||||
# object routing rules
|
|
||||||
routing:
|
|
||||||
trade: "$symbol"
|
|
||||||
order: "$symbol"
|
|
||||||
submitOrder: "$session" # not supported yet
|
|
||||||
pnL: "bbgo-pnl"
|
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
binance:
|
binance:
|
||||||
|
|
|
@ -3,16 +3,10 @@ notifications:
|
||||||
slack:
|
slack:
|
||||||
defaultChannel: "bbgo"
|
defaultChannel: "bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
switches:
|
||||||
reportPnL:
|
trade: true
|
||||||
- averageCostBySymbols:
|
orderUpdate: true
|
||||||
- "BTCUSDT"
|
submitOrder: true
|
||||||
- "ETHUSDT"
|
|
||||||
- "BNBUSDT"
|
|
||||||
of: binance
|
|
||||||
when:
|
|
||||||
- "@daily"
|
|
||||||
- "@hourly"
|
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
binance:
|
binance:
|
||||||
|
|
|
@ -3,6 +3,10 @@ notifications:
|
||||||
slack:
|
slack:
|
||||||
defaultChannel: "bbgo"
|
defaultChannel: "bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
switches:
|
||||||
|
trade: true
|
||||||
|
orderUpdate: true
|
||||||
|
submitOrder: true
|
||||||
|
|
||||||
exchangeStrategies:
|
exchangeStrategies:
|
||||||
- on: max
|
- on: max
|
||||||
|
|
|
@ -4,18 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# if you want to route channel by symbol
|
switches:
|
||||||
symbolChannels:
|
trade: true
|
||||||
"^BTC": "btc"
|
orderUpdate: true
|
||||||
"^ETH": "eth"
|
submitOrder: true
|
||||||
"^BNB": "bnb"
|
|
||||||
|
|
||||||
# object routing rules
|
|
||||||
routing:
|
|
||||||
trade: "$symbol"
|
|
||||||
order: "$symbol"
|
|
||||||
submitOrder: "$session" # not supported yet
|
|
||||||
pnL: "bbgo-pnl"
|
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
binance_margin_linkusdt:
|
binance_margin_linkusdt:
|
||||||
|
|
|
@ -3,11 +3,10 @@ notifications:
|
||||||
slack:
|
slack:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
# object routing rules
|
switches:
|
||||||
routing:
|
trade: true
|
||||||
trade: "$symbol"
|
orderUpdate: true
|
||||||
order: "$symbol"
|
submitOrder: true
|
||||||
submitOrder: "$session" # not supported yet
|
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
binance:
|
binance:
|
||||||
|
|
|
@ -4,18 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# if you want to route channel by symbol
|
switches:
|
||||||
symbolChannels:
|
trade: true
|
||||||
"^BTC": "btc"
|
orderUpdate: true
|
||||||
"^ETH": "eth"
|
submitOrder: true
|
||||||
"^BNB": "bnb"
|
|
||||||
|
|
||||||
# object routing rules
|
|
||||||
routing:
|
|
||||||
trade: "$symbol"
|
|
||||||
order: "$symbol"
|
|
||||||
submitOrder: "$session" # not supported yet
|
|
||||||
pnL: "bbgo-pnl"
|
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
binance:
|
binance:
|
||||||
|
|
|
@ -4,22 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# if you want to route channel by symbol
|
switches:
|
||||||
symbolChannels:
|
trade: true
|
||||||
"^BTC": "btc"
|
orderUpdate: true
|
||||||
"^ETH": "eth"
|
submitOrder: true
|
||||||
|
|
||||||
# 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:
|
sessions:
|
||||||
max:
|
max:
|
||||||
|
|
|
@ -4,22 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# if you want to route channel by symbol
|
switches:
|
||||||
symbolChannels:
|
trade: true
|
||||||
"^BTC": "btc"
|
orderUpdate: true
|
||||||
"^ETH": "eth"
|
submitOrder: true
|
||||||
|
|
||||||
# if you want to route channel by exchange session
|
|
||||||
sessionChannels:
|
|
||||||
max: "bbgo-max"
|
|
||||||
binance: "bbgo-binance"
|
|
||||||
|
|
||||||
# routing rules
|
|
||||||
routing:
|
|
||||||
trade: "$silent"
|
|
||||||
order: "$silent"
|
|
||||||
submitOrder: "$silent"
|
|
||||||
pnL: "bbgo-pnl"
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
json:
|
json:
|
||||||
|
|
|
@ -4,22 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# if you want to route channel by symbol
|
switches:
|
||||||
symbolChannels:
|
trade: true
|
||||||
"^BTC": "btc"
|
orderUpdate: true
|
||||||
"^ETH": "eth"
|
submitOrder: true
|
||||||
|
|
||||||
# if you want to route channel by exchange session
|
|
||||||
sessionChannels:
|
|
||||||
max: "bbgo-max"
|
|
||||||
binance: "bbgo-binance"
|
|
||||||
|
|
||||||
# routing rules
|
|
||||||
routing:
|
|
||||||
trade: "$symbol"
|
|
||||||
order: "$silent"
|
|
||||||
submitOrder: "$silent"
|
|
||||||
pnL: "bbgo-pnl"
|
|
||||||
|
|
||||||
reportPnL:
|
reportPnL:
|
||||||
- averageCostBySymbols:
|
- averageCostBySymbols:
|
||||||
|
|
|
@ -4,22 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# if you want to route channel by symbol
|
switches:
|
||||||
symbolChannels:
|
trade: true
|
||||||
"^BTC": "btc"
|
orderUpdate: false
|
||||||
"^ETH": "eth"
|
submitOrder: false
|
||||||
|
|
||||||
# if you want to route channel by exchange session
|
|
||||||
sessionChannels:
|
|
||||||
max: "bbgo-max"
|
|
||||||
binance: "bbgo-binance"
|
|
||||||
|
|
||||||
# routing rules
|
|
||||||
routing:
|
|
||||||
trade: "$symbol"
|
|
||||||
order: "$silent"
|
|
||||||
submitOrder: "$silent"
|
|
||||||
pnL: "bbgo-pnl"
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
json:
|
json:
|
||||||
|
|
|
@ -4,11 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# routing rules
|
switches:
|
||||||
routing:
|
trade: true
|
||||||
trade: "$silent"
|
orderUpdate: false
|
||||||
order: "$silent"
|
submitOrder: false
|
||||||
submitOrder: "$silent"
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
json:
|
json:
|
||||||
|
|
|
@ -4,22 +4,10 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
# if you want to route channel by symbol
|
switches:
|
||||||
symbolChannels:
|
trade: true
|
||||||
"^BTC": "btc"
|
orderUpdate: true
|
||||||
"^ETH": "eth"
|
submitOrder: true
|
||||||
|
|
||||||
# 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:
|
sessions:
|
||||||
max:
|
max:
|
||||||
|
|
|
@ -4,14 +4,10 @@ notifications:
|
||||||
defaultChannel: "bbgo"
|
defaultChannel: "bbgo"
|
||||||
errorChannel: "bbgo-error"
|
errorChannel: "bbgo-error"
|
||||||
|
|
||||||
reportPnL:
|
switches:
|
||||||
- averageCostBySymbols:
|
trade: true
|
||||||
- "BTCUSDT"
|
orderUpdate: true
|
||||||
- "BNBUSDT"
|
submitOrder: true
|
||||||
of: binance
|
|
||||||
when:
|
|
||||||
- "@daily"
|
|
||||||
- "@hourly"
|
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
max:
|
max:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user