bbgo_origin/config/bbgo.yaml

60 lines
1.1 KiB
YAML
Raw Normal View History

2020-10-10 04:23:05 +00:00
---
imports:
- github.com/c9s/bbgo/pkg/strategy/buyandhold
2020-10-24 10:22:23 +00:00
- github.com/c9s/bbgo/pkg/strategy/xpuremaker
2020-10-22 02:54:03 +00:00
notifications:
2020-10-10 04:23:05 +00:00
slack:
2020-10-22 02:54:03 +00:00
defaultChannel: "bbgo"
2020-10-10 04:23:05 +00:00
errorChannel: "bbgo-error"
2020-10-22 02:54:03 +00:00
reportTrades:
channelBySymbol:
"btcusdt": "bbgo-btcusdt"
"ethusdt": "bbgo-ethusdt"
"bnbusdt": "bbgo-bnbusdt"
"sxpusdt": "bbgo-sxpusdt"
2020-10-26 09:00:17 +00:00
"maxusdt": "max-maxusdt"
2020-10-22 02:54:03 +00:00
reportPnL:
- averageCostBySymbols:
- "BTCUSDT"
- "BNBUSDT"
of: binance
when:
- "@daily"
- "@hourly"
2020-10-22 02:54:03 +00:00
sessions:
2020-10-10 04:23:05 +00:00
max:
2020-10-22 02:54:03 +00:00
exchange: max
2020-10-26 09:00:17 +00:00
envVarPrefix: max
2020-10-26 09:57:28 +00:00
orderExecutor:
bySymbol:
BTCUSDT:
RiskControlOrderExecutor:
minQuoteBalance: 1000.0
maxBaseAssetBalance: 10.0
minBaseAssetBalance: 1.0
maxOrderAmount: 100.0
2020-10-22 02:54:03 +00:00
binance:
exchange: binance
2020-10-26 09:00:17 +00:00
envVarPrefix: binance
2020-10-22 02:54:03 +00:00
exchangeStrategies:
- on: binance
buyandhold:
symbol: "BTCUSDT"
interval: "1m"
baseQuantity: 0.01
minDropPercentage: -0.02
- on: max
xpuremaker:
symbol: MAXUSDT
numOrders: 2
side: both
behindVolume: 1000.0
priceTick: 0.01
baseQuantity: 100.0