Error Code
Unified Margin
| Code | Description |
|---|---|
| 10000 | Server Timeout |
| 10001 | params error |
| 10002 | Invalid request, please check your timestamp and recv_window param |
| 10003 | Invalid api_key |
| 10004 | Error sign |
| 10005 | Permission denied |
| 10006 | Too many visits |
| 10008 | User had been banned. Please check your account mode |
| 10009 | IP had been banned |
| 10010 | unmatched IP |
| 10014 | Request is duplicate |
| 10016 | Server Error |
| 10018 | Out of frequency limit of IP |
| 10024 | Compliance rules triggered |
| 10027 | Trading Banned |
| 110001 | Order does not exist |
| 110003 | Order price is out of permissible range |
| 110004 | Insufficient wallet balance |
| 110005 | position status |
| 110006 | cannot afford estimated position_margin |
| 110007 | Insufficient available balance |
| 110008 | Order has been finished or canceled |
| 110009 | The number of stop orders exceeds maximum limit allowed |
| 110010 | Order already cancelled |
| 110011 | Any adjustments made will trigger immediate liquidation |
| 110012 | Available balance not enough |
| 110013 | Due to risk limit, cannot set leverage |
| 110014 | Available balance not enough to add margin |
| 110015 | the position is in cross_margin |
| 110016 | Requested quantity of contracts exceeds risk limit, please adjust your risk limit level before trying again |
| 110017 | Reduce-only rule not satisfied |
| 110018 | userId illegal |
| 110019 | orderId illegal |
| 110020 | number of active orders greater than 500 |
| 110021 | Open Interest exceeded |
| 110022 | qty has been limited, cannot modify the order to add qty |
| 110023 | This contract only supports position reduction operation, please contact customer service for details |
| 110024 | You have an existing position, so position mode cannot be switched |
| 110025 | Position mode is not modified |
| 110026 | Cross/isolated margin mode is not modified |
| 110027 | Margin is not modified |
| 110028 | Open orders exist, so you cannot change position mode |
| 110029 | Hedge mode is not available for this symbol |
| 110030 | Duplicate orderId |
| 110031 | risk limit info does not exists |
| 110032 | Illegal order |
| 110033 | Margin cannot be set without open position |
| 110034 | There is no net position |
| 110035 | Cancel order is not completed before liquidation |
| 110036 | Cross margin mode is not allowed to change leverage |
| 110037 | User setting list does not have this symbol |
| 110038 | Portfolio margin mode is not allowed to change leverage |
| 110039 | Maintain margin rate is too high, which may trigger liquidation |
| 110040 | Order will trigger forced liquidation, please resubmit the order |
| 110041 | Skip liquidation is not allowed when a position or maker order exists |
| 110042 | Pre-delivery status can only reduce positions |
| 110043 | Set leverage not modified |
| 110044 | Insufficient available margin |
| 110045 | Insufficient wallet balance |
| 110046 | Any adjustments made will trigger immediate liquidation |
| 110047 | Risk limit cannot be adjusted due to insufficient available margin |
| 110048 | Risk limit cannot be adjusted as the current/expected position value held exceeds the revised risk limit |
| 110049 | Tick notes can only be numbers |
| 110050 | Coin is not in the range of selected |
| 110051 | The user's available balance cannot cover the lowest price of the current market |
| 110052 | User's available balance is insufficient to set a price |
| 110053 | The user's available balance cannot cover the current market price and upper limit price |
| 110054 | This position has at least one take profit link order, so the take profit and stop loss mode cannot be switched |
| 110055 | This position has at least one stop loss link order, so the take profit and stop loss mode cannot be switched |
| 110056 | This position has at least one trailing stop link order, so the take profit and stop loss mode cannot be switched |
| 110057 | Conditional order or limit order contains TP/SL related params |
| 110058 | Insufficient number of remaining position size to set take profit and stop loss |
| 110059 | In the case of partial filled of the open order, it is not allowed to modify the take profit and stop loss settings of the open order |
| 110060 | Under full TP/SL mode, it is not allowed to modify TP/SL |
| 110061 | Under partial TP/SL mode, TP/SL set more than 20 |
| 110062 | Institution MMP profile not found. |
| 110063 | Settlement in progress! {{key0}} not available for trades. |
| 110064 | The number of contracts modified cannot be less than or equal to the filled quantity |
| 110065 | MMP hasn't yet been enabled for your account. Please contact your BD manager. |
| 110066 | No trading is allowed at the current time |
| 110067 | unified account is not support |
| 110068 | Leveraged user trading is not allowed |
| 110069 | Do not allow OTC lending users to trade |
| 110070 | ETP symbols are not allowed to be traded |
Contract
| Code | Description |
|---|---|
| 10000 | Server Timeout |
| 10001 | params error |
| 10002 | Invalid request, please check your timestamp and recv_window param |
| 10003 | Invalid api_key |
| 10004 | Error sign |
| 10005 | Permission denied |
| 10006 | Too many visits |
| 10008 | User had been banned. Please check your account mode |
| 10009 | IP had been banned |
| 10010 | unmatched IP |
| 10014 | Request is duplicate |
| 10016 | Server Error |
| 10018 | Out of frequency limit of IP |
| 10027 | Trading Banned |
| 140001 | Order does not exist |
| 140003 | Order price is out of permissible range |
| 140004 | Insufficient wallet balance |
| 140005 | position status |
| 140006 | cannot afford estimated position_margin |
| 140007 | Insufficient available balance |
| 140008 | Order has been finished or canceled |
| 140009 | The number of stop orders exceeds maximum limit allowed |
| 140010 | Order already cancelled |
| 140011 | Any adjustments made will trigger immediate liquidation |
| 140012 | Available balance not enough |
| 140013 | Due to risk limit, cannot set leverage |
| 140014 | Available balance not enough to add margin |
| 140015 | the position is in cross_margin |
| 140016 | Requested quantity of contracts exceeds risk limit, please adjust your risk limit level before trying again |
| 140017 | Reduce-only rule not satisfied |
| 140018 | userId illegal |
| 140019 | orderId illegal |
| 140020 | number of active orders greater than 500 |
| 140021 | Open Interest exceeded |
| 140022 | qty has been limited, cannot modify the order to add qty |
| 140023 | This contract only supports position reduction operation, please contact customer service for details |
| 140024 | You have an existing position, so position mode cannot be switched |
| 140025 | Position mode is not modified |
| 140026 | Cross/isolated margin mode is not modified |
| 140027 | Margin is not modified |
| 140028 | Open orders exist, so you cannot change position mode |
| 140029 | Hedge mode is not available for this symbol |
| 140030 | Duplicate orderId |
| 140031 | risk limit info does not exists |
| 140032 | Illegal order |
| 140033 | Margin cannot be set without open position |
| 140034 | There is no net position |
| 140035 | Cancel order is not completed before liquidation |
| 140036 | Cross margin mode is not allowed to change leverage |
| 140037 | User setting list does not have this symbol |
| 140038 | Portfolio margin mode is not allowed to change leverage |
| 140039 | Maintain margin rate is too high, which may trigger liquidation |
| 140040 | Order will trigger forced liquidation, please resubmit the order |
| 140041 | Skip liquidation is not allowed when a position or maker order exists |
| 140042 | Pre-delivery status can only reduce positions |
| 140043 | Set leverage not modified |
| 140044 | Insufficient available margin |
| 140045 | Insufficient wallet balance |
| 140046 | Any adjustments made will trigger immediate liquidation |
| 140047 | Risk limit cannot be adjusted due to insufficient available margin |
| 140048 | Risk limit cannot be adjusted as the current/expected position value held exceeds the revised risk limit |
| 140049 | Tick notes can only be numbers |
| 140050 | Coin is not in the range of selected |
| 140051 | The user's available balance cannot cover the lowest price of the current market |
| 140052 | User's available balance is insufficient to set a price |
| 140053 | The user's available balance cannot cover the current market price and upper limit price |
| 140054 | This position has at least one take profit link order, so the take profit and stop loss mode cannot be switched |
| 140055 | This position has at least one stop loss link order, so the take profit and stop loss mode cannot be switched |
| 140056 | This position has at least one trailing stop link order, so the take profit and stop loss mode cannot be switched |
| 140057 | Conditional order or limit order contains TP/SL related params |
| 140058 | Insufficient number of remaining position size to set take profit and stop loss |
| 140059 | In the case of partial filled of the open order, it is not allowed to modify the take profit and stop loss settings of the open order |
| 140060 | Under full TP/SL mode, it is not allowed to modify TP/SL |
| 140061 | Under partial TP/SL mode, TP/SL set more than 20 |
| 140062 | Institution MMP profile not found. |
| 140063 | Settlement in progress! {{key0}} not available for trades. |
| 140064 | The number of contracts modified cannot be less than or equal to the filled quantity |
| 140065 | MMP hasn't yet been enabled for your account. Please contact your BD manager. |
| 140066 | No trading is allowed at the current time |
| 140067 | unified account is not support |
| 140068 | Leveraged user trading is not allowed |
| 140069 | Do not allow OTC lending users to trade |
| 140070 | ETP symbols are not allowed to be traded |
| 140071 | RiskId not modified |
| 3400045 | Set margin mode failed |
| 340099 | Server error |