webcerebrium / java-binance-api

Java Binance API Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MARKET_LOT_SIZE error (code = -1013

MiniCerise opened this issue · comments

Hello everyone,
When I try to place an order with the instruction create_test_order I have this error "APIError(code=-1013): Filter failure: MARKET_LOT_SIZE.

However, I read the documentation about this and I am sure that I respect the conditions (minQty, maxQty, filterType). It happens only when I try to sell 75000 TRX in BUSD, while it's fine with BTCBUSD and ETHBUSD. More precisely, the line I wrote is : order = client.create_test_order(symbol='TRXBUSD', side='SELL', type='MARKET', quantity=0.15*500000))

Do you have any ideas please?

Hello everyone, When I try to place an order with the instruction create_test_order I have this error "APIError(code=-1013): Filter failure: MARKET_LOT_SIZE.

However, I read the documentation about this and I am sure that I respect the conditions (minQty, maxQty, filterType). It happens only when I try to sell 75000 TRX in BUSD, while it's fine with BTCBUSD and ETHBUSD. More precisely, the line I wrote is : order = client.create_test_order(symbol='TRXBUSD', side='SELL', type='MARKET', quantity=0.15*500000))

Do you have any ideas please?

Some assets don't have the same MARKET_LOT_SIZE and LOT_SIZE rules which I believe is the case for TRXBUSD, take a look at my answer: #7 (comment)

It may help you to figure it out.