Fixing an Off Grid Price Bug in Polymarket's Order Path
A bug in Polymarket's SDK related to off grid prices has been fixed. The price validation process has been improved.
Polymarket offers a Python SDK for building on their prediction market. An audit revealed a bug in the order validation and signing code, where the price validation incorrectly checked decimal place count instead of confirming if the price was a multiple of the market's tick size. This issue could lead to invalid orders and unnecessary signing attempts by users.