HTX will support two new REST endpoints to acquire user-level loan interest rate of margin account
- API Announcements
Dear API user,
Since the effective day of this notification, HTX will support following two new REST endpoints:
User-level loan interest rate & quota for isolated margin account –
GET /v1/margin/loan-info
User-level loan interest rate for cross margin account –
GET /v1/cross-margin/loan-info
Two endpoints are both private API. The interest rate responded belonging to user level private data instead of market level public data.
Effective Date:November 13, 2019 (GMT+8)
All the changes will be updated on https://huobiapi.github.io/docs/spot/v1/en/
HTX
November 4, 2019 (GMT+8)
The following are change details:
GET /v1/margin/loan-info
API Key Permission: Read
Request Parameter
| Field Name |
Data Type |
Mandatory |
Description |
| symbols |
string |
false |
Trading symbol (multiple selection allowed, separated by comma) |
Response
| Field Name |
Data Type |
Description |
| status |
string |
Status code (ok or error) |
| data |
object |
In ascending order of “symbol” |
| { symbol |
string |
Trading symbol |
| currencies |
object |
In ascending order of “currency” |
| { currency |
string |
Currency |
| interest-rate |
string |
Interest rate (daily) |
| min-loan-amt |
string |
Minimal loanable amount |
| max-loan-amt |
string |
Maximum loanable amount |
| loanable-amt }} |
string |
Remaining loanable amount |
GET /v1/cross-margin/loan-info
API Key Permission: Read
Request Parameter
Null
Response
| Field Name |
Data Type |
Description |
| status |
string |
Status code (ok or error) |
| data |
object |
In ascending order of “currency” |
| { currency |
string |
Currency |
| interest-rate |
string |
Interest rate (daily) |
| min-loan-amt |
string |
Minimal loanable amount |
| max-loan-amt |
string |
Maximum loanable amount |
| loanable-amt } |
string |
Remaining loanable amount |
