mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
add baseQuantity
This commit is contained in:
parent
2fbf19455e
commit
8cc5db7506
|
@ -29,6 +29,7 @@ func TestLoadStrategies(t *testing.T) {
|
|||
length: 1,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
strategies, err := LoadExchangeStrategies(tt.args.configFile)
|
||||
|
|
1
pkg/loader/testdata/strategy.yaml
vendored
1
pkg/loader/testdata/strategy.yaml
vendored
|
@ -3,4 +3,5 @@ exchangeStrategies:
|
|||
- buyandhold:
|
||||
symbol: "BTCUSDT"
|
||||
interval: "1m"
|
||||
baseQuantity: 0.1
|
||||
minDropPercentage: -0.05
|
||||
|
|
Loading…
Reference in New Issue
Block a user