Hi, I’m sending a LIMIT order with following information, but I’m receiving the LOT_SIZE error. I’m wrong in some thing but sincerely I’m not able to understand…
The quantity sent seems in the range and passing all the checks including
(quantity
-minQty
) % stepSize
== 0
( 0.033 - 0.001 ) % 0.001 = 0
The following details come from testnet per BNB.
{
filterType: ‘LOT_SIZE’,
minQty: ‘0.00100000’,
maxQty: ‘900000.00000000’,
stepSize: ‘0.00100000’
}
The params that I’m sending :
{
price: 460,
quantity: 0.033,
timeInForce: ‘GTC’,
newClientOrderId: ‘neecos1444’,
recvWindow: 60000,
newOrderRespType: ‘FULL’
}
…from the error received:
config: {
url: ‘/api/v3/order?price=460&quantity=0.033&timeInForce=GTC&newClientOrderId=neecos1444&recvWindow=60000&newOrderRespType=FULL&symbol=BNBUSDT&side=SELL&type=LIMIT×tamp=1649170629072&signature=f7af2f4da7cc3cce02d82d2555f038f7a25fe2342a297eed9cd91e8253356fbf’,
method: ‘post’,
headers: {
Accept: ‘application/json, text/plain, /’,
‘Content-Type’: ‘application/json’,
‘X-MBX-APIKEY’: ‘xxx’,
‘User-Agent’: ‘@binance/connector-node/1.8.1’
},
baseURL: ‘https://testnet.binance.vision’,
…
data: { code: -1013, msg: ‘Filter failure: LOT_SIZE’ }
…
Please, could some one help me ?