code: -1013, msg: 'Filter failure: LOT_SIZE'

Hellow,
I am getting LOT_SIZE error when place order on https://testnet.binance.vision/api/v3/order with parameters { symbol: ‘BTCUSDT’, “side”: “BUY”, “type”: “market”, “quantity”: 737.50435843} and my balance is BTC => 0.00 and USDT => 7375.04358430. Why I am getting this error. Please reply asap.
{
“filterType”: “LOT_SIZE”,
“minQty”: “0.00000100”,
“maxQty”: “900.00000000”,
“stepSize”: “0.00000100”
}
quantity >= minQty => true
quantity <= maxQty => true

Just remeber - “quantity” is used to describe base asset (left of the symbol) and “quoteOrderQty” for the quote(right) asset

Great. It helped me a lot and my issue is fixed. Thank you so much.

I am having a similar error, since I set the api to buy 0.000767 BTC which woulfd be close to 50USDT, and I have the balance to do so, but it won’t work. I have no idea what that can be. I’ve encountered the same error with MATICUSDT

  1. the error you triggered should be market_lot_size for which quantity must be below 100
  2. You want have enough USDT to cover 737 BTC I believe

Thanks for replying but my error is: { code: -1013, msg: ‘Filter failure: LOT_SIZE’ }
And these are my assets
{asset: ‘BNB’, free: ‘997.00000000’, locked: ‘0.00000000’}
{asset: ‘BTC’, free: ‘0.00000000’, locked: ‘0.00000000’}
{asset: ‘BUSD’, free: ‘12838.00000000’, locked: ‘0.00000000’}
{asset: ‘ETH’, free: ‘101.98000000’, locked: ‘0.00000000’}
{asset: ‘LTC’, free: ‘500.00000000’, locked: ‘0.00000000’}
{asset: ‘TRX’, free: ‘500000.00000000’, locked: ‘0.00000000’}
{asset: ‘USDT’, free: ‘7375.04358430’, locked: ‘0.00000000’}
{asset: ‘XRP’, free: ‘50000.00000000’, locked: ‘0.00000000’}
I want to perform buy request on market type with following parameter.
{
“symbol”: “BTCUSDT”,
“side”: “BUY”,
“type”: “market”,
“quantity”: 6637.5392259
}
Can you please tell me what should be the quantity for the market order? And what should be the minimum quantity?
What are the conditions to fulfill order request?
My limit order is working perfect.

You triggered LOT_SIZE error this time because you enlarge the quantity to 6637BTC! As you said which is correct, the maxQty should be 900.
Also for market order, the max is only 100 for BTCUSDT.

One more question.
If I am buying BTCUSDT at market price with 6637 quantity then does the balance withdraw from USDT and Buy BTC for USDT quantity? I mean USDT balance decrease and BTC increase. And I am buying BTC with 6637USDT. Is it like that? If no then please elaborate a little bit.

If you want to buy BTC with 6637 USDT, specify quoteOrderQty=6637 instead

What if I want to sell 1BTC then what should I specify quoteOrderQty or just quantity?

Just one more question.
I want to BUY ETHBUSD with some quantity. It is working fine in buy case and all filters like LOT_SIZE and MIN_NOTIONAL etc are working based on quote ticker but
when I want to sell with these parameters:
{
“symbol1”: “ETHBUSD”,
“side”: “SELL”,
“type”: “market”,
“quantity”: 100"
}
then the filters are working based on the quote ticker(BUSD). But I want to sell 100 ETH and the filter should work according to ticker1 ETH. Why it is working according to ticker1. Is there any way this can verify the filter according to ticker1? And I am getting Error like LOT_SIZE.
I am using testnet account.

I think this is a separate topic. Please open a new one.
One suggestion:
Provide your request and your raw error message to make it more readable. Your description is a little bit confusing

FUI COMPRAR BTTC VIA API DEU ISSO:

code: -1013, msg: ‘Filter failure: LOT_SIZE’