The orderbook and listorders 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 but orderbook, when called with precision of 8, returns 0.0052, while for example the price of 0.00282828 remains the same in both calls, same precision.
0.036 -> orderbook shows it as 0.03599999, listorders returns correct price.
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`.