Skip to main content

Long/Short Ratio

API Description

Query symbol Long/Short Ratio

HTTP Request

GET /futures/data/globalLongShortAccountRatio

Request Weight

0

Request Parameters

NameTypeMandatoryDescription
symbolSTRINGYES
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.
  • IP rate limit 1000 requests/5min

Response Example

[
{
"symbol":"BTCUSDT", // long/short account num ratio of all traders
"longShortRatio":"0.1960", //long account num ratio of all traders
"longAccount": "0.6622", // short account num ratio of all traders
"shortAccount":"0.3378",
"timestamp":"1583139600000"

},

{

"symbol":"BTCUSDT",
"longShortRatio":"1.9559",
"longAccount": "0.6617",
"shortAccount":"0.3382",
"timestamp":"1583139900000"

},

]