Closed hallazzang closed 2 years ago
Since we use Ceil when taking quote coin from buy orders, a buy order that lasts for multiple batches can have insufficient offer coin to buy OpenAmount. We can solve this issue by using Truncated OpenAmount before matching.
Ceil
OpenAmount
Truncate
Since we use
Ceil
when taking quote coin from buy orders, a buy order that lasts for multiple batches can have insufficient offer coin to buyOpenAmount
. We can solve this issue by usingTruncate
dOpenAmount
before matching.