From b10c8625e4d9a8892524e332670b05162c6dcfbf Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 14 Dec 2023 16:08:08 +0800 Subject: [PATCH] indicator/v2: fix TestVolumeProfile test since the timestamp was parsed incorrectly --- pkg/indicator/v2/volume_profile_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/indicator/v2/volume_profile_test.go b/pkg/indicator/v2/volume_profile_test.go index b3ae4cf208..bc554518d7 100644 --- a/pkg/indicator/v2/volume_profile_test.go +++ b/pkg/indicator/v2/volume_profile_test.go @@ -30,8 +30,8 @@ func TestVolumeProfile(t *testing.T) { stream.EmitKLineClosed(candle) } assert.InDelta(t, 36512.7, ind.VP.Low, 0.01, "VP.LOW") - assert.InDelta(t, 36600.811, ind.VP.VAL, 0.01, "VP.VAL") - assert.InDelta(t, 36612.559, ind.VP.POC, 0.01, "VP.POC") - assert.InDelta(t, 36618.433, ind.VP.VAH, 0.01, "VP.VAH") + assert.InDelta(t, 36512.7, ind.VP.VAL, 0.01, "VP.VAL") + assert.InDelta(t, 36518.574, ind.VP.POC, 0.01, "VP.POC") + assert.InDelta(t, 36530.32, ind.VP.VAH, 0.01, "VP.VAH") assert.InDelta(t, 36617.433, ind.VP.High, 0.01, "VP.HIGH") }