mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
config: clean up xmaker config
This commit is contained in:
parent
abc7dc0a2b
commit
1652c17e33
|
@ -4,31 +4,11 @@ notifications:
|
||||||
defaultChannel: "dev-bbgo"
|
defaultChannel: "dev-bbgo"
|
||||||
errorChannel: "bbgo-error"
|
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 rules
|
||||||
routing:
|
routing:
|
||||||
trade: "$symbol"
|
trade: "$silent"
|
||||||
order: "$silent"
|
order: "$silent"
|
||||||
submitOrder: "$silent"
|
submitOrder: "$silent"
|
||||||
pnL: "bbgo-pnl"
|
|
||||||
|
|
||||||
reportPnL:
|
|
||||||
- averageCostBySymbols:
|
|
||||||
- "BTCUSDT"
|
|
||||||
- "BNBUSDT"
|
|
||||||
of: binance
|
|
||||||
when:
|
|
||||||
- "@daily"
|
|
||||||
- "@hourly"
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
json:
|
json:
|
||||||
|
@ -59,10 +39,11 @@ crossExchangeStrategies:
|
||||||
# disableHedge: true
|
# disableHedge: true
|
||||||
|
|
||||||
hedgeInterval: 10s
|
hedgeInterval: 10s
|
||||||
|
notifyTrade: true
|
||||||
|
|
||||||
margin: 0.004
|
margin: 0.004
|
||||||
askMargin: 0.004
|
askMargin: 0.4%
|
||||||
bidMargin: 0.004
|
bidMargin: 0.4%
|
||||||
|
|
||||||
quantity: 0.001
|
quantity: 0.001
|
||||||
quantityMultiplier: 2
|
quantityMultiplier: 2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user