HTX is going to add new field - client-order-id, into the response message of following order query endpoints

Dear API user,

Since the effective date of this notification, HTX is going to add new field - client-order-id, into the response message of following order query endpoints –

GET /v1/order/orders/{order-id}

-          "client-order-id" (if specified) can be returned from all open orders.

-          "client-order-id"  (if specified) can be returned only from closed orders (state <> canceled) created within 7 days.

-          "client-order-id"  (if specified) can be returned only from closed orders (state = canceled) created within 24 hours.

GET /v1/order/orders/getClientOrder -          only those orders created within 24 hours can be returned.
GET /v1/order/openOrders -          "client-order-id" (if specified) can be returned from all open orders.
GET /v1/order/orders

-          "client-order-id" (if specified) can be returned from all open orders.

-          "client-order-id" (if specified) can be returned only from closed orders (state <> canceled) created within 7 days.

-          only those closed orders (state = canceled) created within 24 hours can be returned.

GET /v1/order/history

-          "client-order-id" (if specified) can be returned only from closed orders (state <> canceled) created within 48 hours, upon order creation time.

-          only those closed orders (state = canceled) created within 24 hours can be returned.

The request parameters of above endpoints keep same as existing.

Effective Date: February 5, 2020 (GMT+8)

All the changes will be updated on https://huobiapi.github.io/docs/spot/v1/en/

HTX
February 5, 2020