Skip to main content

Start with the message

The message Existing orders are held unless an explicit stop or liquidation policy requires cancellation describes ANSIO’s response to a block. It is not the underlying exchange error and does not mean every order was cancelled. Read the reason immediately above it.

Futures quantity and InvalidOrder

Contracts, base tokens and quote value are different units. For a linear contract, approximate order value is contracts × contract size × price. Rounding a small quote budget down can leave zero contracts. Check the current contract specification before changing the budget. Increasing order size is a trading decision; ANSIO should explain the minimum rather than silently increase exposure.

Exchange errors

Binance

Spot codes · USD-M Futures codes

MEXC

Spot codes · Futures codes

Bybit

V5 codes

OKX

V5 reference

BingX

Official swap reference · Spot and swap documentation

Gate.io

API v4 codes

KuCoin

Futures codes · Spot codes

Bitget

Classic codes · UTA codes

LBank

Official error guide

XT

Spot response codes

WhiteBIT

Rate limits and error format

Coinbase

Exchange requests and errors

Upbit

REST errors

Kraken

Spot errors · Futures order response

Crypto.com

Exchange REST reference

Bitfinex

REST limits · WebSocket errors

Hyperliquid

Error responses

Before retrying

Keep the original order ID and the timestamp. Check open orders, recent fills and the current position. For a minimum-size error, correct the parameter first. For a timeout, reconcile first. Never resend a full order solely because its acknowledgement is missing. For support, include the venue, Spot/Futures, pair, timestamp and complete error text. Do not include API secrets, passwords or authentication codes.