Skip to main content

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

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