diff --git a/pkg/indicator/v2_atr_test.go b/pkg/indicator/v2_atr_test.go index bacbc78612..23b3cc9702 100644 --- a/pkg/indicator/v2_atr_test.go +++ b/pkg/indicator/v2_atr_test.go @@ -64,7 +64,7 @@ func Test_ATR2(t *testing.T) { t.Run(tt.name, func(t *testing.T) { stream := &types.StandardStream{} - kLines := KLines(stream) + kLines := KLines(stream, "", "") atr := ATR2(kLines, tt.window) for _, k := range tt.kLines { diff --git a/pkg/indicator/v2_test.go b/pkg/indicator/v2_test.go index a96812c1fc..717713d11b 100644 --- a/pkg/indicator/v2_test.go +++ b/pkg/indicator/v2_test.go @@ -11,7 +11,7 @@ import ( func Test_v2_Subtract(t *testing.T) { stream := &types.StandardStream{} - kLines := KLines(stream) + kLines := KLines(stream, "", "") closePrices := ClosePrices(kLines) fastEMA := EWMA2(closePrices, 10) slowEMA := EWMA2(closePrices, 25) diff --git a/pkg/indicator/v2_tr_test.go b/pkg/indicator/v2_tr_test.go index c6b46332ab..1067529c9a 100644 --- a/pkg/indicator/v2_tr_test.go +++ b/pkg/indicator/v2_tr_test.go @@ -64,7 +64,7 @@ func Test_TR_and_RMA(t *testing.T) { t.Run(tt.name, func(t *testing.T) { stream := &types.StandardStream{} - kLines := KLines(stream) + kLines := KLines(stream, "", "") atr := TR2(kLines) rma := RMA2(atr, tt.window, true)