2020-10-10 04:23:05 +00:00
|
|
|
---
|
2020-10-24 07:38:13 +00:00
|
|
|
imports:
|
|
|
|
- github.com/c9s/bbgo/pkg/strategy/buyandhold
|
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-23 05:50:17 +00:00
|
|
|
reportPnL:
|
2020-10-24 07:38:13 +00:00
|
|
|
- averageCostBySymbols:
|
|
|
|
- "BTCUSDT"
|
|
|
|
- "BNBUSDT"
|
|
|
|
of: binance
|
|
|
|
when:
|
|
|
|
- "@daily"
|
|
|
|
- "@hourly"
|
2020-10-23 05:50:17 +00:00
|
|
|
|
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
|
|
|
|
keyVar: MAX_API_KEY
|
|
|
|
secretVar: MAX_API_SECRET
|
|
|
|
binance:
|
|
|
|
exchange: binance
|
|
|
|
keyVar: BINANCE_API_KEY
|
|
|
|
secretVar: BINANCE_API_SECRET
|
|
|
|
|
|
|
|
exchangeStrategies:
|
2020-10-24 07:38:13 +00:00
|
|
|
- on: binance
|
|
|
|
buyandhold:
|
|
|
|
symbol: "BTCUSDT"
|
|
|
|
interval: "1m"
|
|
|
|
baseQuantity: 0.01
|
|
|
|
minDropPercentage: -0.02
|