Huobi Global is going to allow sub user to trade in cross margin market through API

Dear API users,

Since the effective day of this notification, Huobi Global is going to allow sub user to trade in cross margin market through API.

Following existing REST endpoints will be made available for sub users –

1) POST /v1/cross-margin/transfer-in
Sub user to transfer assets from spot account to cross margin account.
2) POST /v1/cross-margin/transfer-out
Sub user to transfer assets from cross margin account to spot account.
3) GET /v1/cross-margin/loan-info
Sub user to query interest rate and loanable quota for his/her cross margin account.
4) POST /v1/cross-margin/orders
Sub user to request a margin loan.
5) POST /v1/cross-margin/orders/{order-id}/repay
Sub user to repay a margin loan.
6) GET /v1/cross-margin/loan-orders
Sub user to query margin orders.
7) GET /v1/cross-margin/accounts/balance
Sub user to query cross margin account balance.

Effective Date: February 28, 2020 (GMT+8)
All the changes will be updated on https://huobiapi.github.io/docs/spot/v1/en/

Huobi Global
February 28, 2020

 

The following are the change in details:
1. Cross margin account balance (type=super-margin) will be appended to the response message from following endpoints –

1) GET /v1/subuser/aggregate-balance
Parent user to query accumulated account balance from all sub users.
2) GET /v1/account/accounts/{sub-uid}
Parent user to query account balance from a specific sub user.

2. A new optional request parameter “sub-uid” will be added to following endpoints –

1) GET /v1/cross-margin/loan-orders
Parent user will be able to query specific sub user’s loan orders if sub uid is specified in the request.
If sub uid is not specified, the endpoint will return loan orders of current logged in user.

Request parameter

ParameterData TypeRequiredDefaultDescriptionValue Range
sub-uidlongfalseIf not filled, return loan orders of current userSub user’s UID 

Response field list keeps as is

2) GET /v1/cross-margin/accounts/balance
Parent user will be able to query cross margin account details from a specific sub user if sub uid is specified in the request.
If sub uid is not specified, the endpoint will return cross margin account details of current logged in user.

Request parameter

ParameterData TypeRequiredDefaultDescriptionValue Range
sub-uidlongfalseIf not filled, return loan orders of current userSub user’s UID 

Response field list keeps as is

3. Parent user will be able to activate/deactivate cross margin trading permission for each sub user via Huobi official web site. Once permitted, the sub user should be able to trade all cryptocurrency pairs available in cross margin market, and be able to borrow all cryptocurrencies available for loan, by sharing the same loanable quota with parent user.