Help ma please! I want to show by example that the LOT_SIZE filter does not pass
For example 1000UST I want to sell everything and buy BTC
order = client.order_market_buy (
symbol = 'BTCUSDT, quoteOrderQty = 1000)
An error comes out
binance.exceptions.BinanceAPIException: APIError (code = -2010): Filter failure: LOT_SIZE
(Quantity- minQty)% stepSize == 0
print ((1000-0.01)% 0.1 == 0)
I get False, most likely because of this the filtering does not pass, how to solve the problem, how to round off quoteOrderQty?