Skip to main content

Top Trader Long/Short Ratio (Positions)

API Description

The proportion of net long and net short positions to total open positions of the top 20% users with the highest margin balance. Long Position % = Long positions of top traders / Total open positions of top traders Short Position % = Short positions of top traders / Total open positions of top traders Long/Short Ratio (Positions) = Long Position % / Short Position %

HTTP Request

GET /futures/data/topLongShortPositionRatio

Request Weight

1

Request Parameters

NameTypeMandatoryDescription
pairSTRINGYESBTCUSD
periodENUMYES"5m","15m","30m","1h","2h","4h","6h","12h","1d"
limitLONGNODefault 30,Max 500
startTimeLONGNO
endTimeLONGNO
  • If startTime and endTime are not sent, the most recent data is returned.
  • Only the data of the latest 30 days is available.

Response Example

[  
{
"pair": "BTCUSD",
"longShortRatio": "0.7869",
"longPosition": "0.6442", //64.42%
"shortPosition": "0.4404", //44.04%
"timestamp": 1592870400000
},
{
"pair": "BTCUSD",
"longShortRatio": "1.1231",
"longPosition": "0.2363",
"shortPosition": "0.4537",
"timestamp": 1592956800000
}
]