合約系統錯誤碼

代碼 含義
1015 cloudflare frequency limit according to IP, block 30s--超頻錯誤:基於ip的cloudflare限制,觸發限制時間30s
40010 Unavailable to place orders. Your identity information/IP/phone number shows you're at a country/region that is restricted from this service. -- 您當前屬於限制國家,委託無法生效。
100001 There are invalid parameters -- 無效參數
100002 systemConfigError -- 系統配置有誤
100003 Contract parameter invalid -- 沒有此合約
100004 Order is in not cancelable state -- 訂單不存在或者訂單不可撤銷
100005 contractRiskLimitNotExist -- 合約風險限額不存在
200001 The query scope for Level 2 cannot exceed xxx -- level2查詢範圍必須小於等於xxx
200002 Too many requests in a short period of time, please retry later--超頻錯誤:基於接口業務層面的限制, 觸發限制時間10s
200002 The query scope for Level 3 cannot exceed xxx -- level3查詢範圍必須小於等於xxx
200003 The symbol parameter is invalid. -- 參數symbol無效
200005 Insufficient balance. -- 修改risk limit時餘額不足
300000 request parameter illegal -- 請求參數非法
300001 Active order quantity limit exceeded (limit: xxx, current: xxx) -- 超過活動委託數量限制,最大可提交 xxx 個活動委託,當前活動委託數: xxx
300002 Order placement/cancellation suspended, please try again later. -- 系統暫停下單/撤單操作,將自動恢復,請稍後再試
300003 Balance not enough, please first deposit at least 2 USDT before you start the battle -- 可用餘額不足,委託成本爲 xxx
300004 Stop order quantity limit exceeded (limit: xxx, current: xxx) -- 超過條件委託數量限制,最大可提交 xxx 個條件委託,當前條件委託數: xxx
300005 xxx risk limit exceeded -- 委託會導致超過最大風險限額 xxx
300006 The close price shall be greater than the bankruptcy price. Current bankruptcy price: xxx. -- 平倉委託價格不能劣於倉位的破產價格,當前破產價格:xxx
300007 priceWorseThanLiquidationPrice -- 加倉委託價格不能劣於倉位的強平價格,當前強平價格:xxx
300008 Unavailable to place the order, there's no contra order in the market. -- 市場無訂單,市價單提交失敗
300009 Current position size: 0, unable to close the position. -- 當前倉位爲0,無法平倉
300010 Failed to close the position -- 平倉失敗
300011 Order price cannot be higher than xxx -- 委託價格不能高於xxx
300012 Order price cannot be lower than xxx -- 委託價格不能低於xxx
300013 Unable to proceed the operation, there's no contra order in order book. -- 委託訂單沒有合法可撮合價格,訂單提交失敗
300014 The position is being liquidated, unable to place/cancel the order. Please try again later. -- 強制平倉中,系統暫停下單/撤單,將自動恢復,請稍後重試
300015 The order placing/cancellation is currently not available. The Contract/Funding is under the settlement process. When the process is completed, the function will be restored automatically. Please wait patiently and try again later. -- 合約交割/資金費用結算中,系統暫停下單/撤單,將自動恢復,請稍後重試
300016 The leverage cannot be greater than xxx. -- 槓桿數不能大於xxx
300017 Unavailable to proceed the operation, this position is for Futures Brawl -- 該倉位爲亂鬥倉位,不支持操作
300018 clientOid parameter repeated -- clientOid參數重複
400001 Any of KC-API-KEY, KC-API-SIGN, KC-API-TIMESTAMP, KC-API-PASSPHRASE is missing in your request header -- 請求頭中缺少KC-API-KEY、KC-API-SIGN、KC-API-TIMESTAMP和KC-API-PASSPHRASE參數
400002 KC-API-TIMESTAMP Invalid -- 請求時間與服務器時差超過5秒
400003 KC-API-KEY not exists -- API-KEY不存在
400004 KC-API-PASSPHRASE error -- API-PASSPHRAE不正確
400005 Signature error -- 簽名錯誤,請檢查您的簽名
400006 The requested ip address is not in the api whitelist -- 請求IP不在API白名單中
400007 Access Denied -- API權限不足,無法訪問該URI目標地址。
400100 Parameter Error -- 請求參數不合法
400100 account.available.amount -- 餘額不足
404000 Url Not Found -- 找不到請求資源
411100 User are frozen -- 用戶已被凍結,請聯繫幫助中心
415000 Unsupported Media Type -- 請求頭等Content-Type需要設置成application/json
429000 Too Many Requests -- 超頻錯誤:基於接口的全站流量限制,可以直接重試請求
500000 Internal Server Error -- 服務器出錯,請稍後再試

如果系統返回HTTP狀態碼爲200,但業務失敗,系統會報錯。您可根據返回的參數消息排查錯誤。