mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
29 lines
496 B
YAML
29 lines
496 B
YAML
---
|
|
imports:
|
|
- github.com/c9s/bbgo/pkg/strategy/buyandhold
|
|
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.1
|
|
minDropPercentage: -0.05
|
|
|
|
reportPnL:
|
|
- averageCostBySymbols:
|
|
- "BTCUSDT"
|
|
- "BNBUSDT"
|
|
of: binance
|
|
when:
|
|
- "@daily"
|
|
- "@hourly"
|