CodeMessage
317136Edit tpsl quantity is not allowed for quantity bracket
317137Edit quantity should edit both legs
317138Edit quantity should be same for both legs
317139Trigger price of 1st leg should not be empty for STOP_BRACKET
317140The quantity of a quantity TP/SL order should not be empty.
317141The algo quantity TP/SL limit order should have field price
317142The algo trigger type of quantity TP/SL should not be CLOSE_POSITION
317143The side of TP/SL legs should be the same
317144IndexPrice is not supported for non spot symbol ${symbol}
317145same as INVALID_PRICE_QUOTE_MIN but different ‘code’
317146same as INVALID_PRICE_QUOTE_MAX but different ‘code’
317147same as INVALID_PRICE_TICKER_SIZE but different ‘code’
317148symbol can’t be empty.
317149same with TRADE_NOT_FOUND with different ErrorCodes
317150trigger price must be greater than ${price}
317151trigger price must be less than ${price}
317152The order not found for the order id : ${orderId}
317153child order not found for the order id : ${orderId}
317154RPC failed: error: ${msg}
317155unsupported symbol: ${symbol}
317156unsupported symbol: ${symbol}
317157Trading with ${symbol1}/${symbol2} is temporarily suspended. Please try again later.
317158Trading with ${token}-PERP is temporarily suspended. Please try again later.
317159This pair is currently not supported.
317160The order id and symbol are not matched
317161The order is completed
317162The params should not be null or 0
317163cannot edit TP/SL quantity under bracket order
317164Invalid client order id
317165invalid order id list
317166invalid client order id list
317167unsupported algo type: ${algoType}
317168Order failed due to internal service error. Please contact customer service.
317169Trading with ${left}/${right} is temporarily suspended. Please try again later.
317170The order quantity must bigger than the executed quantity.
317171error path format
317172The userId should not be null or 0
317173The orderId should not be null or 0
317174The order is processing
317176The trigger after should from 0 to ${maxTriggerAfter}
317177Order has terminated
317178The receive window is invalid.
317179Request has failed as the receive window: ${recv_window} millisecond is exceeded from ${api_timestamp}
317184The order cannot be found, or it is already completed.
317206Spot trading is disabled while futures credits are active. Please remove or fully utilize your futures credits to enable spot trading.
317207Request failed. Please ensure you have sufficient USDT to cover the futures credits currently in use.
302111Your account position is being liquidated. Trading has been suspended at the moment. Please try again later.
302137You don’t have enough position for MKT close. Please check your open orders.
302138Insufficient position for reduce only order.
302140The order price is too small.
302141The order quantity is too small.
302117The client_order_id is repeated.
302127Your order is terminated.
302142The order quantity must bigger than the executed quantity.
302147Amount is required for buy market orders when margin disabled.
302148Amount is required for ASK buy order when margin disabled.
302149Amount is required for BID buy order when margin disabled.
302150Quantity is required for sell market orders when margin disabled.
302151Quantity is required for ASK sell order when margin disabled.
302152Quantity is required for BID sell order when margin disabled.
302128Insufficient ${token}. Note that ${baseToken} do not allow for margin trading.
302154Insufficient ${stableToken}.
302155Insufficient ${token}. Please enable margin trading for leverage trading.
302102Your margin is insufficient! Please liquidate assets.
302156Short selling ${token} is not available now.
302129The order doesn’t exist.
302130The order didn’t update.
302314Quantity should be less than your position.
302131Please enable futures trading in Margin & Futures tab. You can create subaccounts to separate margin and futures positions.
302157Insufficient ${token}. Please enable margin trading in Margin & Futures tab for spot leverage trading.
302162You are not able to place this order under Reduce Only trading mode.
302171Buy or sell orders by amount are not supported under Reduce Only trading mode.
302172${token} max position size of ${maxPosition} is exceeded.
302177Pending new orders cannot be edited.
302178Order is rejected as you have an existing market close order.
302188exceed max open notional
302002The data doesn’t exist.
302144There isn’t a positive amount to repay the interest balance.
302301The balance isn’t enough.
302103Your margin will be insufficient after withdrawal.
302104Your margin will be insufficient after this action.
302136Your balance must be positive.
302135The amount must be positive.
302134The details are empty.
302132Attempt failed. Please close your negative positions and try again.
302133Please repay your interest.
302145Your margin will be insufficient after disabling this token as collateral.
302126Attempt failed. Please close your futures positions, cancel open orders and try again.
302143Application not found.
302999An unknown error has occurred.
302159Your request has timed out. Please try again later.
302160Reduce only orders are only supported under spot pairs quoted by your account currency ${AccountCurrency}.
302163Reduce only orders are not allowed.
302164The order value should be greater or equal to ${minNotional}.
302305Failed to update cross margin leverages due to insufficient margin. Please top up or close your cross positions to proceed.
302306Invalid leverage, please provide positive integer leverage
302307The account has been suspended
302165The token has no price.
302166Token balance cannot be negative under Spot Only.
302167Token balance cannot be negative under Spot & Futures.
302168The token is not enabled for margin.
302169Collateral is not sufficient to cover initial margin requirements under Spot & Margin.
302170Collateral is not sufficient to cover initial margin requirements under Spot & Futures.
302185Your order request cannot be processed at this moment because the position mode is currently being switched.
302186The position side you’ve used is not compatible with your current position mode.
302195The position side you’ve used is invalid
302303Too many pending orders on reduce only order
302190Unable to adjust isolated margin while there are pending orders. Please cancel them to proceed.
302191Only adjustments to futures isolated margin are allowed.
302192The amount exceeds the withdrawable margin limit.
302193The amount exceeds the available USDT balance.
302194Maximum number of isolated pending orders for ${symbol} reached.
302196Please use up all of your active futures credits before adding more.
302199Please switch to futures trading mode to adjust futures credits.
302197Futures credits cannot be reduced while there are open positions.
302198Futures credits cannot be reduced while there are still pending orders.
302308Attempt failed. Please close your futures positions, cancel open orders and try again.
302309Spot trading is disabled while futures credits are active. Please remove or fully utilize your futures credits to enable spot trading
302310Request failed. Please ensure you have sufficient USDT to cover the futures credits currently in use.
302311This request is currently being processed.
302312This request is currently being processed.
302313This request is currently being processed.
302001data status is not expected
302003The param number is invalid.
302004invalid params
302005An error has occurred due to other pending requests. Please try again later.
302101symbol is not exists
302109create order engine error
302110application is lock now
302112Remaining order quantity is smaller than transaction quantity
302113Order side is not same as transaction side
302114Order price too small
302115Order quantity too small
302118no enough balance to close
302119Insufficient funds. Please enable margin trading. Note that certain coins do not allow for leverage trading.
302120Please lower the leverage ratio below 1.0 and close your short positions.
302121Please repay your interest.
302122Remaining order amount is smaller than transaction quantity
302123user group data not found
302125Quantity should be less than your position.
302189Changing isolated position leverage is not allowed when there is a pending order.
311999There is a system error.
311002The data does not exist.
311001The data status is invalid.
311004The parameters are invalid.
311004Please at least change one of the order parameters.
311004apollo init set single properties error,fieldName ${fieldName},${errorMessage}
311004You can’t place more than ${orderNumber} trigger orders.
311004Given a side and a symbol, only allow at most one positional TP/SL order.
311004Cancellation is not supported for this order.
311004Edit request is not allowed during algo order triggering.
311004Cancel request is not allowed during algo order triggering.
311004Position side is invalid
311004Create order is not allowed when switching position mode
311004Your order request cannot be processed at this moment because the position mode is currently being switched.
311004Position side is required when trading in hedge mode mode
311004Position side is unnecessary when trading in one way mode
311004Position side is invalid
311004Bracket Order with side ${side} and position side ${positionSide} is not allowed in hedge mode
311004You can’t place more than ${orderNumber} TP/SL orders.
311004TP/SL order with side ${side} and position side ${positionSide} is not allowed in hedge mode
311004The account has been suspended