Occasional unexpected rounding of the price value in orderbook
and listorders
#2062
Labels
bug
Something isn't working
orderbook
and listorders
#2062
Background
The
orderbook
andlistorders
occasionally return different values for price. Some values seem to be rounded.Steps to reproduce
Place an order with price of:
0.00520001
->listorders
includes the same price butorderbook
, when called with precision of 8, returns0.0052
, while for example the price of0.00282828
remains the same in both calls, same precision.0.036
->orderbook
shows it as0.03599999
,listorders
returns correct price.0.00396999
->orderbook
returns correct price,listorders
returns 0.00397`.The text was updated successfully, but these errors were encountered: