mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
add import section
This commit is contained in:
parent
407db84689
commit
0ec57cf404
6
pkg/config/testdata/strategy.yaml
vendored
6
pkg/config/testdata/strategy.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user