How do I account for the fill price must be greater than 0 error? #123
Answered
by
SW4T400
EuclideanWild
asked this question in
Q&A
-
I get the following error: Whenever I run the following code:
Keep in mind that my close prices in my dataframe are relatively small. For example one rows close price is 0.005580. Whenever I use a data set with larger close prices like aapl I don't have this problem. |
Beta Was this translation helpful? Give feedback.
Answered by
SW4T400
May 26, 2024
Replies: 1 comment
-
I think pyb rounds to nearest cent. To disable this set the round_fill_price = False and try again.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
EuclideanWild
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think pyb rounds to nearest cent. To disable this set the round_fill_price = False and try again.
For me it was rounding very small crypto prices to 0 and hence the error.