HTX Will Update clientOrderId Rules for API
- Latest News
- API Announcements
In order to improve the efficiency of order placement and query for API users, HTX is scheduled to upgrade and optimize the API (without perception) at 08:00 (UTC) on May 26th. Details are as follows:
- For completed orders, clientOrderId will be valid for 2 hours since the order creation (it is still valid for 8 hours concerning other orders). That is to say, if an order has been created for more than 2 hours, clientOrderId can’t be used to query the completed order (It is recommended to check it with orderid). Among them, the status of the completed order includes partially canceled, canceled, and fully executed.
- The uniqueness of the clientOrderId passed in when you place an order will no longer be verified. We recommend you to manage clientOrderId by yourself to ensure its uniqueness. If multiple orders use the same clientOrderId, the latest order corresponding to the clientOrderId will be returned when querying/canceling an order.
- Interfaces involved in the API optimization: GET /v1/order/orders/getClientOrder POST /v1/order/orders/place POST /v1/order/orders/submitCancelClientOrder
We sincerely apologize for any inconvenience caused and thank you for your support!
April 27th, 2021