Internationalization Support
The Language parameter can be passed in the request header to enable multilingual responses. If the parameter is not provided, the default language is Chinese. If the specified language is not supported, the system defaults to English. Currently supported languages: Chinese, English, Japanese, Korean, French.
Error code Example
| code | description |
|---|---|
| 0 | Operate succeed |
| 9999 | Public abnormal |
| 500 | Internal error |
| 501 | System busy |
| 401 | Unauthorized |
| 402 | Api_key expired |
| 406 | Accessed IP is not in the whitelist |
| 506 | Unknown source of request |
| 510 | Excessive frequency of requests |
| 511 | Endpoint inaccessible |
| 513 | Invalid request(for open api serves time more or less than 10s) |
| 600 | Parameter error |
| 601 | Data decoding error |
| 602 | Verify failed |
| 603 | Repeated requests |
| 1000 | Account does not exist |
| 1001 | Contract does not exist |
| 1002 | Contract not activated |
| 1003 | Error in risk limit level |
| 1004 | Amount error |
| 2001 | Wrong order direction |
| 2002 | Wrong opening type |
| 2003 | Overpriced to pay |
| 2004 | Low-price for selling |
| 2005 | Balance insufficient |
| 2006 | Leverage ratio error |
| 2007 | Order price error |
| 2008 | The quantity is insufficient |
| 2009 | Positions do not exist or have been closed |
| 2011 | Order quantity error |
| 2013 | Cancel orders over maximum limit |
| 2014 | The quantity of batch order exceeds the limit |
| 2015 | Price or quantity accuracy error |
| 2016 | Trigger volume over the maximum |
| 2018 | Exceeding the maximum available margin |
| 2019 | There is an active open position |
| 2021 | The single leverage is not consistent with the existing position leverage |
| 2022 | Wrong position type |
| 2023 | There are positions over the maximum leverage |
| 2024 | There are orders with leverage over the maximum |
| 2025 | The holding positions is over the maximum allowable positions |
| 2026 | Modification of leverage is not supported for cross |
| 2027 | There is only one cross or isolated in the same direction |
| 3001 | Trigger price type error |
| 3002 | Trigger type error |
| 3003 | Executive cycle error |
| 3004 | Trigger price error |
| 4001 | Unsupported currency |
| 5001 | The take-price and the stop-loss price cannot be none at the same time |
| 5002 | The Stop-Limit order does not exist or has closed |
| 5003 | Take-profit and stop-loss price setting is wrong |