I am having issues understanding the precision of different pairs.
I’ll take the example of XLMUSDT. If I pull the info from your api (/api/v3/exchangeInfo)
LOT_SIZE - stepSize: “0.10000000”
PRICE_filter - tickSize: “0.00001000”
So based on theses informations I should use only 1 decimal for the amounts (quantity/lot size).
But I get amounts with 2 decimals which creates an error in my system:
OrderBook->setElement(Object(Brick\Math\BigDecimal), ‘2677497.7500000…’, ‘asks’)
So basically why is there 2 decimals instead of one, and if I should not use the LOT_SIZE.tick_size as base asset amount precision, which value should I use ?