Skip to main content

Why do I see the error MARKET_LOT_SIZE on Binance?

The MARKET_LOT_SIZE error means your order amount exceeds Binance's maximum allowed size for that trading pair. Lower your buy amount in the base config to fix it.

Written by Bryan
Updated today

The MARKET_LOT_SIZE error means Binance rejected your order because the amount exceeds the maximum allowed size for that specific trading pair. Every trading pair on Binance has its own maximum order size, and your bot tried to place an order that went over that limit.

Example error in the trading output

You may see the following in your trading output:

12/17/2024 1:25:03 PM ERROR Binance error. Code: -1013 Message: Filter failure: MARKET_LOT_SIZE

12/17/2024 1:25:03 PM ERROR Error placing buy order, data: {"error":"Filter failure: MARKET_LOT_SIZE","orderNumber":null}

Cause

Your bot's buy amount is set higher than what Binance allows for the trading pair you are trying to buy. Each pair has a different maximum — you can look up the limits for your pair on Binance's trade rules page.

Solution

  1. Go to Configuration > Base config > Coins and amounts.

  2. Lower the Percentage buy amount or the Minimum amount per order so the resulting order stays within Binance's maximum for the trading pair.

  3. Click Save.

If you are unsure what the maximum is, check the Binance trade rules, select your trading pair, and look at the maximum order size listed under the MARKET_LOT_SIZE filter.

Verify the fix

After saving, let your bot place a new trade. The MARKET_LOT_SIZE error should no longer appear in your trading output.

Did this answer your question?