Long/Short Ratio
API Description
The proportion of net long and net short accounts to total accounts of the top 20% users with the highest margin balance. Each account is counted once only. Long Account % = Accounts of top traders with net long positions / Total accounts of top traders with open positions Short Account % = Accounts of top traders with net short positions / Total accounts of top traders with open positions Long/Short Ratio (Accounts) = Long Account % / Short Account %
HTTP Request
GET /futures/data/globalLongShortAccountRatio
Request Weight
1
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
pair | STRING | YES | BTCUSD |
period | ENUM | YES | "5m","15m","30m","1h","2h","4h","6h","12h","1d" |
limit | LONG | NO | Default 30,Max 500 |
startTime | LONG | NO | |
endTime | LONG | NO |
- 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.1960",
"longAccount": "0.6622", //66.22%
"shortAccount": "0.3378", //33.78%
"timestamp": 1583139600000
},
{
"pair": "BTCUSD",
"longShortRatio": "1.9559",
"longAccount": "0.6617",
"shortAccount": "0.3382",
"timestamp": 1583139900000
}
]