Skip to main content

Errors

The API uses standard HTTP status codes to indicate the success or failure of the API call, The body of the response will be JSON in the following format:

List of error messages

Error CodeDescription
SYSTEM_ERRORSystem is unavailable, please try again later.
ILLEGAL_PARAMETERParameter error.
INVALID_TOKENInvalid token.
TOO_MANY_SYMBOLSToo many symbols in a single call.
INVALID_SYMBOLWrong symbol.
UNSUPPORTED_API_VERSIONUnsupported api version.
UNAUTHORIZED_CATEGORYNo data permission for this CATEGORY.
INTERNAL_ERRORInternal error.
IP_NOT_ALLOWEDIP forbidden access.
REQUEST_TOTAL_COUNT_EXCEEDEDThe developer's interface call quota is insufficient.
TOO_MANY_REQUESTSA large number of requests in a short period of time trigger current limiting.
MISSING_APP_KEYParameter error, missing x-app-key header.
MISSING_SIGNATUREParameter error, missing x-signature header.
MISSING_ALGORITHMParameter error, missing x-signature-algorithm header.
MISSING_VERSIONParameter error, missing x-version header.
MISSING_NONCEParameter error, missing x-nonce header.
MISSING_TIMESTAMPParameter error, missing x-timestamp header.
SIGNATURE_ALGORITHM_NOT_SUPPORTEDParameter error, the current signature algorithm only supports HMAC-SHA1.
VERSION_NOT_SUPPORTEDParameter error, the current version only supports 1.0.
ILLEAGAL_TIMESTAMPParameter error, x-timestamp format error.
UNAUTHORIZEDParameter error, app_key not found or app_key has expired.
INCORRECT_SIGNParameter error, signature verification failed.
CLOCK_SKEW_EXCEEDEDRequest rejected, x-timestamp clock offset exceeds maximum limit.
DUPPLICATED_REQUESTRequest denied for repeated requests.
ORDER_NOT_FOUNDNo order record.
ACCOUNT_IS_DENYYour account is currently unavailable for trading.
ACCOUNT_IS_DENY_BY_ACTYour account is currently unavailable for trading due to ACAT out.
ACCOUNT_IS_DENY_BY_ANCYour account is currently unavailable for trading due to account type change.
ACCOUNT_IS_DENY_BY_BCLYour account is currently unavailable for trading due to Reg-T rule violation.
ACCOUNT_IS_DENY_BY_CLSYour account is currently unavailable for trading due to account closed.
ACCOUNT_IS_DENY_BY_EICYour account is currently unavailable for trading due to expired ID card.
ACCOUNT_NOT_FOUNDNo account found.
ACCOUNT_NOT_OPEN_ETFETF trading is not available yet. Please apply first.
ACCOUNT_NOT_OPEN_SPECIFICThe account does not have a special tax account.
ACCOUNT_ONLY_CLOSEThe current account is only available for closing your position.
ACCOUNT_ROUTE_ERRORRouting issues
AVAILABLE_FUNDS_NOT_ENOUGHInsufficient initial margin.
BUY_NOT_ALLOW_FOR_HAVING_SHORT_OPEN_ORDERThere are short pending orders for the current stock,and reverse trading is not allowed.
BUY_QTY_EXCEED_AVAILABLE_QTYThe quantity of buy to close exceeds the available quantity of buy to close.
CAN_SELL_QTY_NOT_ENOUGHInsufficient number of positions available for sale.
CHANNEL_REJECTRejected by upstream execution broker.
EQUITY_SELL_LIMIT_PRICE_NOT_GT_STOP_PRICE_ONE_PERCENTThe limit price cannot be greater than the 100.1% of the stop price
EQUITY_SELL_STOP_PRICE_NOT_GT_TRADE_PRICE_ONE_PERCENTThe stop price cannot be greater than the 100.1% of the current market price
ETF_ONLY_CLOSE_FOR_ACCOUNT_CAR_INVALIDYour CAR certification has expired, and you cannot open new ETF positions now.
FEE_GREATER_THAN_ORDER_AMOUNT_ERRORYou cannot place this order because the Estimated Fee Amount is equal or over the Order Amount, please adjust the quantity.
FIX_ROUTE_ERRORRouting issues
FRACTION_CANNOT_CANCELA fractional share order cannot be canceled.
FRACTION_CANNOT_CLOSE_SHORT_POSITIONFractional shares trading is not available for closing a short position.
FRACTION_CANNOT_MODIFYA fractional share order cannot be modified.
FRACTION_NO_ALLOW_AT_THIS_MOMENTYou cannot place fractional share orders at this moment. Fractional shares trading is only available during regular trading hours: 9:30 a.m. - 4:00 p.m. ET (Business Day).
FRACTION_ONLY_ALLOW_MARKETOnly market orders are available for fractional shares trading.
HK_FILL_ORDER_NOT_SUPPORT_MODIFYYour order cannot be modified now because it has been partially filled.
INNER_SYSTEM_ERRORInner System Error
LONG_POSITION_SHOULD_CLOSE_BEFORE_SELL_SHORTSince you currently have long positions in the stock, please close the position before short selling.
NON_FRACTION_CANNOT_MODIFY_TO_FRACTIONIt is not allowed to change a normal order into a fractional order.
NO_TRADING_DAYNon-trading day.
NO_TRADING_TIMENon-trading time.
ORDER_AMOUNT_EXCEED_LIMITThe order amount has exceeded the limit.
ORDER_BUYING_POWER_NOT_ENOUGHInsufficient Buying Power.
ORDER_CANNOT_OPERATEThe current status cannot be modified.
ORDER_EXCHANGE_RATE_WRONGExchange rate error.
ORDER_LMT_PRICE_QTY_STEP_1The latest limit order is greater than 1 and the quantity should be greater than 1.
ORDER_LMT_PRICE_QTY_STEP_100The latest limit order ranges from 0.1~0.999 and the quantity should be greater than 100.
ORDER_LMT_PRICE_QTY_STEP_1000The latest limit order ranges from 0.01~0.099 and the quantity should be greater than 1000.
ORDER_MKT_LMT_PRICE_TOO_LOWLast price of the order cannot be lower than $ 0.01.
ORDER_MKT_MODIFY_ONLY_ALLOW_IN_CORE_TIMEMarket order can only be modified during normal trade hours.
ORDER_MKT_ONLY_ALLOW_IN_CORE_TIMEMarket order can only be placed during normal trade hours.
ORDER_MKT_PRICE_QTY_STEP_1The last market order is greater than 1 and the quantity should be greater than 1.
ORDER_MKT_PRICE_QTY_STEP_1000The latest market order ranges from 0.01~0.099 and the quantity should be greater than 1000.
ORDER_MODIFY_NOT_SUPPORT_IN_PRE_POST_TIMEOrder cannot be modified in extended hours.
ORDER_MODIFY_TO_MKT_ONLY_ALLOW_IN_CORE_TIMECan only be changed to a market order during normal trade hours.
ORDER_NOT_ACCEPT_ALLNo modification is allowed for the current time period.
ORDER_NOT_SUPPORT_IN_PRE_POST_TIMEOrder cannot be placed in extended hours.
ORDER_ONLY_ACCEPT_ALO_ELOOnly At-auction Limit and Enhanced Limit order can be modified and cancelled.
ORDER_ONLY_ACCEPT_AUO_ALOOnly At-auction and At-auction Limit Order are available for the current time period.
ORDER_ONLY_ACCEPT_AUO_ALO_ELOOnly At-auction Market and Limit Order, Enhanced Limit order can be modified and cancelled.
ORDER_ONLY_ACCEPT_ELOOnly Enhanced limit orders are accepted for the current time period.
ORDER_PENDING_CANCELThe order is being canceled and cannot be modified.
ORDER_PENDING_MODIFYThe order is being changed and cannot be modified.
ORDER_PENDING_SUBMITThe order is being submitted and cannot be modified.
ORDER_PRICE_ILLEGALInvalid Order Price
ORDER_QTY_EXCEED_LIMITThe order quantity has exceeded the limit.
POSITION_TRANSFER_BUSY_ERRORThe system is busy. Please try again later.
QUOTE_ASK_PRICE_IS_NULLMarket Order is temporarily unavailable as the Filled Price may significantly differ from the current Bid/Ask. Alternatively, you may submit a Limit Order.
QUOTE_NOT_FOUNDNo quotes available
REPEAT_REQUESTPlease don't tap repetitively.
SECURITY_HAS_CHANGEDThe tickerID has been changed.
SELL_QTY_EXCEED_AVAILABLE_QTYThe quantity of sell to close exceeds the available quantity of sell to close.
SHORT_NOT_ALLOW_FOR_HAVING_BUY_OPEN_ORDERThere are buy pending orders for the current stock,and reverse trading is not allowed.
SHORT_SELL_NOT_SUPPORTNot available for short selling.
STOP_SHOULD_GT_CLOSE_FOR_BUY_IN_NON_TRADING_DAYStop price should be higher than closed price of last trade day.
STOP_SHOULD_GT_CLOSE_FOR_LMT_BUY_IN_POST_TIMEThe Stop Order price should be higher than yesterday's close price if you buy Stop Order during after-market hours.
STOP_SHOULD_GT_CLOSE_FOR_LMT_BUY_IN_PRE_TIMEThe Stop Order price should be higher than yesterday‘s close price during the pre-market hours.
STOP_SHOULD_GT_LIMIT_FOR_LMT_SELLThe Stop Order price should be greater than the Limit Order price for Sell of the Stop Limit Order.
STOP_SHOULD_GT_TRADE_FOR_LMT_BUYStop price must be greater than market price for buy order.
STOP_SHOULD_GT_TRADE_FOR_LMT_BUY_IN_CORE_TIMEThe Stop Order price should be higher than the last price if you buy Stop Order during regular trading hours.
STOP_SHOULD_LT_CLOSE_FOR_LMT_SELL_IN_POST_TIMEThe Stop Order price should be lower than yesterday's close price if you sell Stop Order during after-market hours.
STOP_SHOULD_LT_CLOSE_FOR_LMT_SELL_IN_PRE_TIMESell the Stop order during the pre-market hours; the stop price should be lower than yesterday's close price.
STOP_SHOULD_LT_CLOSE_FOR_SELL_IN_NON_TRADING_DAYStop price should be lower than closed price of last trade day.
STOP_SHOULD_LT_LIMIT_FOR_LMT_BUYThe Stop Order price should be lower than the Limit Order for Buy of the stop Limit Order.
STOP_SHOULD_LT_TRADE_FOR_LMT_SELLStop price must be less than market price for a sell order
STOP_SHOULD_LT_TRADE_FOR_LMT_SELL_IN_CORE_TIMEThe Stop Order price should be lower than the last price if you sell Stop Order during regular trading hours.
TICKER_CANNOT_OPEN_BY_FRACTIONThis security is not eligible for buy in fractional shares.
TICKER_IS_DENYThe current security is not available.
TICKER_IS_HALTMarket order is unavailable during a trading halt or suspension.
TICKER_NOT_FOUNDNo Security Matched
TICKER_ONLY_CLOSEThe symbol is currently restricted from opening new positions.
TRAILING_PRICE_MUST_LESS_THAN_MARKET_PRICEThe trail amount must be a minimum of $0.01 and no greater than the current price.
CANCELLED_BY_CAOrder canceled due to corporate action
IPO_NO_TRADE_CAN_ONLY_PLACE_LMTOnly limit order is available for now.
LIMIT_PRICE_ABOVE_LIMIT_UPThe limit price cannot be higher than the day's highest price.
LIMIT_PRICE_BELOW_LIMIT_DOWNThe limit price cannot be lower than the day's lowest price.
ORDER_QTY_NOT_MATCH_LOT_SIZEOrder quantity needs to be whole lot.