API Updates for Margin Trading
Dear KuCoin Margin API Users,
KuCoin margin high-frequency API will undergo a non-stop system upgrade at 8:00:00 AM (UTC) on January 24, 2024. The upgrade time takes 30 minutes. In this upgrade, we will standardize the format of high-frequency magin trading error codes and add a series of new error codes. The new error codes will become effective immediately after the upgrade completes.
If you only trade spot, futures, or only use margin low-frequency accounts, this update will not impact you.
For specific error codes, please refer to the document: https://www.kucoin.com/docs/basic-info/errors-code/margin-errors-code
If there is a large market fluctuation before the upgrade, we may postpone the upgrade according to the market change and post announcement notice.
For more API communication or feedback, please join our official api telegram group: https://t.me/KuCoin_API or send email to newapi@kucoin.plus.
We apologise for the inconvenience!
Thank you for supporting KuCoin Margin!
The KuCoin Margin Team
Old Code | New Code | Meaning |
200000 | 126000 | Abnormal margin trading |
600002 | 126001 | Users currently do not support high frequency |
400700 | 126002 | There is a risk problem in your account and transactions are temporarily not allowed. |
400760 | 126003 | The order amount is less than the minimum transaction amount for a single order. |
900001 | 126004 | Trading pair does not exist or is prohibited |
600201 | 126005 | This trading pair requires advanced KYC verification |
400600 | 126006 | Trading pair is not available |
600203 | 126007 | Trading pair has been suspended |
200001 | 126009 | Trading pair has been suspended for creating orders |
200002 | 126010 | Trading pair has been suspended for order cancellation |
200003 | 126011 | There are too many pending orders |
200004 | 126013 | Insufficient account balance |
400200 | 126015 | It is prohibited to place orders on this trading pair |
400500 | 126021 | This asset is not allowed to trade in your region. |
400300 | 126022 | The price of your order triggers our price protection strategy. To protect the price from deviating too much, please place an order again. |
400350 | 126027 | Only limit orders are supported |
400360 | 126028 | Only limit orders are supported before the specified time |
400370 | 126029 | The maximum order price is: xxx |
400380 | 126030 | The minimum order price is: xxx |
409100 | 126033 | Duplicate order |
200350 | 126034 | Failed to create take profit and stop loss order |
400800 | 126036 | Failed to create margin order |
400750 | 126037 | Due to the country and region restrictions, this function has been suspended! |
500010 | 126038 | Third-party service call failed (internal exception) |
500020 | 126039 | Third-party service call failed, reason: xxx |
400751 | 126041 | clientTimestamp parameter error |
400752 | 126042 | Exceeded maximum position limit |
400753 | 126043 | Order does not exist |
400754 | 126044 | clientOid duplication |
400301 | 126045 | This digital asset is not allowed to trade in your region. |
400302 | 126046 | This digital asset is not allowed to trade under your IP region. |
400303 | 126047 | Please complete KYC |
400304 | 126048 | Please complete KYC for your master account |
200000 | 135005 | Margin order query error |
200000 | 135018 | Margin order query service error |
400100 | 400400 | Parameter error/service exception |
230006 | 400401 | User is not logged in |
135408 | 408000 | Network timeout, please try again later |
100000 | 500000 | Service exception |