diff --git a/pkg/loader/loader_test.go b/pkg/loader/loader_test.go index 99cb2b220..c984909fa 100644 --- a/pkg/loader/loader_test.go +++ b/pkg/loader/loader_test.go @@ -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) diff --git a/pkg/loader/testdata/strategy.yaml b/pkg/loader/testdata/strategy.yaml index 527a5fed3..4c43de5e3 100644 --- a/pkg/loader/testdata/strategy.yaml +++ b/pkg/loader/testdata/strategy.yaml @@ -3,4 +3,5 @@ exchangeStrategies: - buyandhold: symbol: "BTCUSDT" interval: "1m" + baseQuantity: 0.1 minDropPercentage: -0.05