Order rejected? The most common Binance, OKX, Bybit and MT5 errors and how to fix them

Most rejected orders break one of five rules: size is not a whole number of steps, size is below the minimum, order value is too small, price is not a whole number of ticks, or too many decimals were sent. Read the symbol's limits from the exchange, round down to the step, and check the minimum before sending. The table below links to the fix page for each error.

Checked 30 November 2026 · sources below · not financial advice

The five rules behind most rejections

An exchange checks every order against rules for that symbol. These rules come from the exchange's own data (Binance exchangeInfo, OKX /api/v5/public/instruments, Bybit instruments info, MT5 symbol properties). Most "errors" are one of five things:

RuleBinanceOKXBybitMetaTrader 5
Size is not a whole number of stepsFilter failure: LOT_SIZE (-1013)51121170137 (volume decimals)10014 invalid volume
Size below the minimumLOT_SIZE minQty5102017013610014 (SYMBOL_VOLUME_MIN)
Order value (price x size) too smallNOTIONAL, futures -4164-170140-
Price not a whole number of ticksPRICE_FILTERtickSz170134 / 170133-
Too many decimals sent-1111 BAD_PRECISION51121170134 / 170137-
Stops too close / wrong filling mode---10016, 10030

The fix that solves most of them

Read the symbol's step, minimum and tick from the exchange, round down to the step, then check the minimum and the order value before you send. Do not round to a number of decimals: a step of 0.00001 is not the same as "5 decimals" on every symbol. Never round up, because that can push you past your balance or the maximum. Send numbers as strings so a float does not add digits. Example in plain Python (standard library only):

from decimal import Decimal, ROUND_DOWN
def floor_to_step(value, step):
    v, s = Decimal(str(value)), Decimal(str(step))
    return (v / s).to_integral_value(ROUND_DOWN) * s
qty = floor_to_step("0.123456789", "0.00001")   # BTCUSDT step in our data
print(qty)   # 0.12345

Why a small account hits these more

If you size a trade as "1% of the account", a small balance gives a quantity under the minimum, so the order is rejected (OKX 51020, Bybit 170136, Binance NOTIONAL). The right answer is to skip the trade or raise the size on purpose, not to retry in a loop.

Check before you send, or look up a code

Sources: Binance Spot API docs (filters, errors); Binance USD-M futures error codes; OKX API v5 docs; Bybit V5 error codes; MQL5 documentation, trade server return codes. Official pages opened 16 November 2026 for the fix pages linked above.