Skip to content

Commit

Permalink
indicator/v2: fix TestVolumeProfile test since the timestamp was pars…
Browse files Browse the repository at this point in the history
…ed incorrectly
  • Loading branch information
c9s committed Mar 28, 2024
1 parent 097bc43 commit 3bd6b9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/indicator/v2/volume_profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

0 comments on commit 3bd6b9e

Please sign in to comment.