You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have seen rounding issues in the self.last_price, which generates the below error.
invalid limit_price 106.215. sub-penny increment does not fulfil minimum pricing criteria
managed to fix this by adding the below before the buy and sell self.last_price = round(self.last_price, 2)
Expected Behavior
No response
SDK Version I encountered this issue in
martingale.py example
Steps To Reproduce
running the example and randomly generating the below error
`invalid limit_price 106.215. sub-penny increment does not fulfil minimum pricing criteria`
Filled out the Steps to Reproduce section?
I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
i have seen rounding issues in the self.last_price, which generates the below error.
invalid limit_price 106.215. sub-penny increment does not fulfil minimum pricing criteria
managed to fix this by adding the below before the buy and sell
self.last_price = round(self.last_price, 2)
Expected Behavior
No response
SDK Version I encountered this issue in
martingale.py example
Steps To Reproduce
Filled out the Steps to Reproduce section?
Anything else?
No response
The text was updated successfully, but these errors were encountered: