This page documents all order cancellation reasons returned by the Bluefin Pro API via WebSocket order updates.
User-Initiated Cancellations
USER_CANCELLED-- Explicitly canceled by the userUSER_CANCELLED_ALL_ON_MARKET-- Canceled as part of bulk cancellation for a
symbolUSER_CANCELLED_ALL_STANDBY_ON_MARKET-- Conditional order canceled via bulk
request
Margin & Balance Issues
INSUFFICIENT_MARGIN-- Order's margin requirement surpasses available marginMARGIN_CALL-- Account margin ratio fell below maintenance thresholdINSUFFICIENT_BALANCE-- Account lacks deposited funds for the operation
Order Parameter Violations
INVALID_SYMBOL-- Trading pair doesn't existINVALID_LEVERAGE-- Leverage outside allowed market rangeINVALID_INPUT-- Order parameters conflict with business rulesPRICE_OUT_OF_BOUND-- Price exceeds market limitsQUANTITY_OUT_OF_BOUND-- Quantity outside market rangePRICE_OUT_OF_TICK_SIZE-- Price not aligned with minimum incrementQUANTITY_OUT_OF_STEP_SIZE-- Quantity not aligned with minimum increment
Order Logic Violations
DUPLICATE_ORDER-- Order ID already submittedPOST_ONLY_WOULD_TRADE-- Post-only order would immediately matchREDUCE_ONLY_WOULD_OPEN-- Reduce-only order would increase position sizeSELF_TRADE_PREVENTION-- Order would match against own existing orderSIGNED_AT_TOO_OLD-- Signature timestamp exceeds acceptable age
Market & Position Constraints
MARKET_NOT_TRADING-- Market halted or closedTOO_MANY_OPEN_ORDERS_ON_MARKET-- Exceeds market's order limitPOSITION_EXCEEDS_MAX_OPEN_INTEREST-- Position would surpass notional limitORDERS_EXCEED_MAX_OPEN_INTEREST-- Aggregate open orders would surpass market's maximum open interestINSUFFICIENT_LIQUIDITY-- IOC/FOK order lacks matching counterparties
Matching & Trading Issues
TOO_MANY_MATCHES-- Single order matched excessive maker ordersTRADE_QUANTITY_OUT_OF_BOUND-- Resulting trade falls below minimum sizeMARKET_TAKE_BOUND_BREACHED-- Fill price deviates excessively from mark
price
Time & Expiration
ORDER_EXPIRED-- Time-limited order reached expiration
Account & Liquidation
LEVERAGE_UPDATE-- Leverage modification triggered automatic cancellationACCOUNT_NOT_FOUND-- Referenced account doesn't existACCOUNT_DEAUTHORIZED-- Trading authorization revokedPOSITION_NOT_FOUND-- Referenced position doesn't existLIQUIDATION_OUT_OF_ORDER-- Liquidation sequence errorACCOUNT_NOT_LIQUIDATABLE-- Account margin recovered before liquidationORDER_NOT_REDUCING_POSITION-- Liquidation order fails to reduce position
Generic
UNSPECIFIED-- No more specific reason applicable
