Spot API Change Log (August 2020)

Dear users,

Welcome to Huobi API! We will continue to update the Spot API change log (August 2020) in this announcement, please follow us to get latest news. Please refer to 【API Docs】for more details.

 

4. Reflect account update of ‘deposit’ or ‘withdraw’ in existing Websocket channel ‘accounts.update#${mode}’

Currently, account balance change caused by deposit or withdrawal is reflected in channel ‘accounts.update#${mode}’ with changeType as ‘other’.

Since the effective date of this notification, account balance change caused by deposit or withdrawal will be reflected in channel ‘accounts.update#${mode}’ with changeType as ‘deposit’ or ‘withdraw’.

At the same time, v1 version account update channel ‘accounts’ will be also reflecting ‘deposit’ & ‘withdraw’ in field ‘event’.

Effective Date: August 21, 2020 (GMT+8)

All the changes will be updated on 【API Docs】. Click here to download the change details.

 

3. Add exchange fee field in existing stable coin exchange endpoints

Since the effective date of this notification, Huobi Global will include exchange fee field in the response message of following endpoints –
GET v1/stable-coin/quote
POST v1/stable-coin/exchange

Effective Date: August 10, 2020 (GMT+8)

All the changes will be updated on 【API Docs】. Click here to download the change details.

 

2. Add additional response field in account history endpoint

Currently, the existing account history querying endpoint “GET /v1/account/history” doesn’t include an indicator in response message, to indicate whether or not all the historical records queried has been returned. Upon the receipt of a response message, API user doesn’t really know that it should be necessary to make another request to query rest records back, or concerned historical records has been all included this response already.

Since the effective date of this notification, Huobi Global will include an optional field “next-id” in the response message of this endpoint.

Effective Date: August 4, 2020 (GMT+8)

All the changes will be updated on 【API Docs】. Click here to download the change details.

 

1. Support of Trailing Stop Order

Currently, Huobi Global is supporting conditional order on relevant endpoints –https://docs.huobigroup.com/docs/spot/v1/en/#conditional-order

Since the effective date of this notification, Huobi Global will support a new type of conditional order – Trailing Stop Order on the same set of endpoints.

Effective Date: August 3, 2020 (GMT+8)

All the changes will be updated on 【API Docs】. Click here to download the change details.