Get Position Auto Deleverage History
Info
- This endpoint requires signature. For specific signature rules, please refer to Authentication
- This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.
HTTP request
GET /futures/position-adl-history
Request parameters
Parameter Name | Required | Type | Notes |
---|---|---|---|
market | false | string | Market name |
market_type | true | string | Market type. Note: In spot related functions, only SPOT or MARGIN can be used. In futures related functions, only FUTURES can be used. |
position_id | false | int | Position ID |
start_time | false | int | Query start time.
|
end_time | false | int | Query end time.
|
page | false | int | Number of pagination. Default is 1 |
limit | false | int | Number in each page. Default is 10 |
Return parameters
Parameter Name | Type | Notes |
---|---|---|
market | string | Market name |
market_type | string | Market Type |
position_id | int | Position ID |
order_id | int | Order id |
deal_id | int | Txid |
amount | string | Filled volume |
price | string | Filled price |
side | string | Buy or sell |
role | string | Taker or maker |
created_at | int | Data creation time |
Request example
GET /futures/position-adl-history?market=CETUSDT&market_type=FUTURES&position_id=927266133&start_time=1636451914231&page=1&limit=100
Response example
{
"code": 0,
"message": "OK",
"data": [
{
"market": " CETUSDT",
"market_type": "FUTURES",
"position_id": 927266133,
"order_id": 8678890,
"deal_id": 3514376759,
"amount": "0.00000325"
"price": "30718.42",
"side": "buy",
"role": "maker",
"created_at": 1691482451000
}
],
"pagination": {
"has_next": false
}
}