Price Validation Failure with Custom Data - Precision Issue? #2770
Unanswered
daydayup789
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I'm encountering a price validation error when using custom data. Could this be caused by precision issues? What should I do?
I stored local BTCUSDT futures data in
.fth
format. After converting the data with the required fields, I ran Example 1 and received this error:During troubleshooting, I reduced tens of thousands of records to a single test row where
close
andlow
are identical:This data appears logically valid since:
I fully support the Bar data validation logic:
Problem:
Despite
low == close
in my test data (which should passlow <= close
), the validation fails withlow was > close
. I cannot identify the root cause.Beta Was this translation helpful? Give feedback.
All reactions