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 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.

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

Order's notional must be no smaller than 5.0 (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.

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. 90 days after an API key is created. The API key can be edited in Binance and the Spot and Margin Trading permission turned back on again.

More details on adding a Binance API key.
Was this article helpful?
Cancel
Thank you!