mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
308427416a
- use uuid for client order id - add stop limit and stop market order types - add order convert functions - improve submit orders
52 lines
927 B
YAML
52 lines
927 B
YAML
---
|
|
imports:
|
|
- github.com/c9s/bbgo/pkg/strategy/buyandhold
|
|
- github.com/c9s/bbgo/pkg/strategy/xpuremaker
|
|
|
|
notifications:
|
|
slack:
|
|
defaultChannel: "bbgo"
|
|
errorChannel: "bbgo-error"
|
|
|
|
reportTrades:
|
|
channelBySymbol:
|
|
"btcusdt": "bbgo-btcusdt"
|
|
"ethusdt": "bbgo-ethusdt"
|
|
"bnbusdt": "bbgo-bnbusdt"
|
|
"sxpusdt": "bbgo-sxpusdt"
|
|
|
|
reportPnL:
|
|
- averageCostBySymbols:
|
|
- "BTCUSDT"
|
|
- "BNBUSDT"
|
|
of: binance
|
|
when:
|
|
- "@daily"
|
|
- "@hourly"
|
|
|
|
sessions:
|
|
max:
|
|
exchange: max
|
|
keyVar: MAX_API_KEY
|
|
secretVar: MAX_API_SECRET
|
|
binance:
|
|
exchange: binance
|
|
keyVar: BINANCE_API_KEY
|
|
secretVar: BINANCE_API_SECRET
|
|
|
|
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
|