Skip to main content

Get Leveraged long-short ratio Data

Frequency limit: 1 times/1s (IP)

Description

The long-short position ratio for a specific coin in cross and isolated margin accounts.

HTTP Request

  • GET /api/v2/margin/market/long-short-ratio
Request Example
curl "https://api.bitget.com/api/v2/margin/market/long-short-ratio?symbol=BTCUSDT"

Request Parameters

ParameterTypeRequiredDescription
symbolStringYesTrading pair
periodStringNoDefault:24h, support:
24h
30d
coinStringNoBase coin or quete coin, default: base coin
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1656589586807,
"data": [
{
"ts": "1713942000000",
"longShortRatio": "-0.96"
},
{
"ts": "1713942000000",
"longShortRatio": "-0.96"
}
]
}

Response Parameters

ParameterTypeDescription
longShortRatioStringlong short ratio
tsStringMillseconds time