Skip to content

Commit 3bd6b9e

Browse files
committed
indicator/v2: fix TestVolumeProfile test since the timestamp was parsed incorrectly
1 parent 097bc43 commit 3bd6b9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/indicator/v2/volume_profile_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ func TestVolumeProfile(t *testing.T) {
3030
stream.EmitKLineClosed(candle)
3131
}
3232
assert.InDelta(t, 36512.7, ind.VP.Low, 0.01, "VP.LOW")
33-
assert.InDelta(t, 36600.811, ind.VP.VAL, 0.01, "VP.VAL")
34-
assert.InDelta(t, 36612.559, ind.VP.POC, 0.01, "VP.POC")
35-
assert.InDelta(t, 36618.433, ind.VP.VAH, 0.01, "VP.VAH")
33+
assert.InDelta(t, 36512.7, ind.VP.VAL, 0.01, "VP.VAL")
34+
assert.InDelta(t, 36518.574, ind.VP.POC, 0.01, "VP.POC")
35+
assert.InDelta(t, 36530.32, ind.VP.VAH, 0.01, "VP.VAH")
3636
assert.InDelta(t, 36617.433, ind.VP.High, 0.01, "VP.HIGH")
3737
}

0 commit comments

Comments
 (0)