LOT_SIZE error on BTCUSDT

https://www.binance.com/api/v1/exchangeInfo for BTCUSDT returns:

baseAsset: “BTC”,
baseAssetPrecision: 8,
quoteAsset: “USDT”,
quotePrecision: 8,
quoteAssetPrecision: 8,
baseCommissionPrecision: 8,
quoteCommissionPrecision: 8,

I`m trying to place order with “quantity=0.00197505” (8 decimal places) and API returns:

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

If I try to put “quantity=0.001975” (6 decimal places) - API works fine.

Could someone explain me what is wrong? How can I get possible decimal places before call
Thanks.

Please check the LOT_SIZE of this symbol from this endpoint, it has the requirement of

{
   "filterType": "LOT_SIZE",
   "minQty": "0.00000100",
   "maxQty": "9000.00000000",
   "stepSize": "0.00000100"
}

that’s why quantity can has up to 6 decimals,

2 Likes

Thanks.
I understand. Order amount should be multiple of stepSize

1 Like