add import section

This commit is contained in:
c9s 2020-10-23 14:14:07 +08:00
parent 407db84689
commit 0ec57cf404

View File

@ -1,4 +1,6 @@
---
imports:
- github.com/c9s/bbgo/pkg/strategy/buyandhold
sessions:
max:
exchange: max
@ -9,7 +11,7 @@ sessions:
keyVar: BINANCE_API_KEY
secretVar: BINANCE_API_SECRET
exchangeStrategies:
- on: binance
- on: binance
buyandhold:
symbol: "BTCUSDT"
interval: "1m"
@ -17,7 +19,7 @@ exchangeStrategies:
minDropPercentage: -0.05
reportPnL:
- averageCostBySymbols:
- averageCostBySymbols:
- "BTCUSDT"
- "BNBUSDT"
of: binance