Announcement on Adding New Endpoint of “Get Holding Limit of Leveraged ETP” API
- API Announcements
Dear users,
HTX has added a new API endpoint on January 19, 2021 at 11:00 (UTC), providing users with additional convenience in getting access to the leveraged ETP holding limit. Details are as follows:
Get Holding Limit of Leveraged ETP
Users can get the holding limit of leveraged ETP through this endpoint.
HTTP Request
GET /v2/etp/limit
Request example
GET /v2/etp/limit?currency=btc3l,btc3s
Request parameter
Parameter | Data Type | Required | Description | |||
currency | string | true | Currency, support batch query (currency is separated by comma), 10 currencies can be quoted at a time |
Response
{
"data": [
{
"remainingAmount": "2",
"currency": "btc3l",
"maxHoldings": "2"
},
{
"remainingAmount": "12000",
"currency": "btc3s",
"maxHoldings": "12000"
},
"code": 200,
"success": true
}
Response Content
Field | Data Type | Required | Description | ||||
code | integer | TRUE | Status Code | ||||
message | string | FALSE | Error message (if any) | ||||
{ currency | string | TRUE | Quote currency | ||||
maxHoldings | string | TRUE | Holding limit | ||||
remainingAmount} | string | TRUE | Remaining amount |
Effective Date: January 19, 2021 (GMT+8)
Please refer to HTX API Docs or the Spot API Change Log for details.
API users need to evaluate how the API improvements will help with their trades and update relevant Apps accordingly.