Articles on: Exchanges

Common Binance Error Messages

This documentation illustrates the reasons for some of the most common errors codes while placing orders on Binance with Altrady.

The following are mostly -2010 and -1013 errors (order failed)

Filter failure: PRICE_FILTER
The price is too high, too low, and/or not following the tick size rule for the symbol.

Filter failure: PERCENT_PRICE
The order price is too high or low--too far from the current price.
e.g., at May2022, Binance Leveraged tokens must be within 30% of the current price.
This error will populate if the price is X% too high or X% too low from the average weighted price over the last Y minutes.

Filter failure: LOT_SIZE
Quantity is too high, too low, and/or not following the step size rule for the symbol.

Filter failure: MIN_NOTIONAL
Order value (in quote currency) is too small.
More details here. Choose the quote currency at the top of the page.
This error will populate if the price * quantity is too low to be a valid order for the symbol.

Filter failure: MARKET_LOT_SIZE
The MARKET order's quantity is too high, too low, and/or not following the step size rule for the symbol.

Filter failure: MAX_POSITION
This error will populate if the account's position has reached the maximum defined limit. This is composed of the sum of the balance of the base asset, and the sum of the quantity of all open BUY orders.
Binance Leveraged tokens have limits on how much a trader can hold.

Filter failure: MAX_NUM_ORDERS
The account has too many open orders on the symbol.

Filter failure: MAX_ALGO_ORDERS
The account has too many open stop loss and/or take profit orders on the symbol.

Filter failure: EXCHANGE_MAX_NUM_ORDERS
The account has too many open orders on all pairs on the exchange.

Filter failure: EXCHANGE_MAX_ALGO_ORDERS
The account has too many open stop loss and/or take profit orders on all pairs on the exchange.

This action disabled on this account
Attempting to place an order for a Leveraged token without having completed the Binance requirements.
Log in to Binance, navigate to a leveraged token market (e.g. BTCUP/USDT, ADADOWN/USDT) and you will be asked to complete a quiz and be authorised to trade Binance leveraged tokens.

This symbol is restricted for this account
This means that your account is not allowed to place orders for the coin. You will also be restricted from placing orders for the coin directly on the exchange.
Some reasons include: your country does not allow residents to trade privacy coins (e.g. DASH, ZEC, XMR. See: Why can't I trade privacy coins on Binance?)

Orders position side does not match user details (4061)
On Binance exchange, change the Hedge mode to one-way. Altrady does not support hedge mode yet.

FOK order could not be filled immediately (5021)
Futures-only. Fill or Kill orders.
Note: Binance will delete the order and it will not be kept in the order history.

Post-only order cannot be placed as Maker order (5022)
Futures-only. Post-only orders.
Note: Binance will delete the order and it will not be kept in the order history.

Order's notional must be no smaller than x.x (unless you choose reduce-only) (4146)
The order size is too small for the exchange.

Stop price would trigger immediately.
Occurs on Stop Loss orders where the Stop price is above (for a Sell) or below (for a Buy) the current price.

Occurs on Trailing Stop Orders when the Stop price is too close to the Trigger price. The price has reversed, the SL placed, and the price has already moved past it. The exchange will not allow a Stop Buy order at a price lower than the current Ask Price, or a Stop Sell order at a price above the current Bid price. To avoid this error, use a larger gap between the Trigger price and the Stop price. This especially applies if you are trying to catch a falling knife.

Quantity greater than max quantity
Futures: The order size is too large for the combination of pair and order type. Binance Futures has some restrictions for order sizes for market orders for some pairs.

Insufficient Funds
Not enough available base currency to place the Sell order.

Insufficient Balance
There is not enough quote currency to place the Buy order.

API Key invalid Binance: Invalid API-key, IP, or permissions for action
When creating a Binance API key, no IP whitelist can be used.
These permissions are required:
Read
Spot and Margin Trading
Optional:
Futures
Not permitted:
all other permissions.

Binance turns off Spot and Margin Trading permission approx. 30 days after an API key is created unless the key has an IP whitelist.

How to add an IP whitelist to your API keys

Updated on: 11/05/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!