bbgo_origin/pkg/bbgo/testdata/strategy.yaml

30 lines
425 B
YAML
Raw Normal View History

2020-10-20 06:32:22 +00:00
---
2020-10-23 06:14:07 +00:00
imports:
- github.com/c9s/bbgo/pkg/strategy/buyandhold
2020-10-26 09:57:28 +00:00
2020-10-20 06:32:22 +00:00
sessions:
max:
exchange: max
2020-10-26 09:57:28 +00:00
envVarPrefix: max
2020-10-20 06:32:22 +00:00
binance:
exchange: binance
2020-10-26 09:57:28 +00:00
envVarPrefix: binance
2020-10-20 06:32:22 +00:00
exchangeStrategies:
2020-10-23 06:14:07 +00:00
- on: binance
2020-10-26 13:45:02 +00:00
test:
2020-10-23 06:14:07 +00:00
symbol: "BTCUSDT"
interval: "1m"
baseQuantity: 0.1
minDropPercentage: -0.05
reportPnL:
2020-10-23 06:14:07 +00:00
- averageCostBySymbols:
- "BTCUSDT"
- "BNBUSDT"
of: binance
when:
- "@daily"
- "@hourly"