Skip to main content

Get ADL Information

Type GET

Description: /future/user/v1/position/adl

Request Parameters

ParameterTypeRequiredDefaultDescription
symbolstringNoN/ATrading pair (if not provided, query positions for all trading pairs)

Limit Flow Rules

200/s/apikey

Request Example

Request
curl -G "https://fapi.xt.com/future/user/v1/position/adl" \ 
-H "validate-appkey: $APPKEY" \ # Required
-H "validate-timestamp: $TIMESTAMP" \ # Required
-H "validate-singature: $SINGATURE" \ # Required
-H "Content-Type: application/x-www-form-urlencoded" \ # Required

Response Example

Response
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": [
{
"longQuantile": 0, //long position adl
"shortQuantile": 0, //Short position adl
"symbol": "" //Trading pair
}
],
"returnCode": 0
}

Error code

Error codeDesc
invalid_symbolSymbol does not exist