get https://open-api-v4.coinglass.com/api/bitfinex-margin-long-short
This endpoint provides data on margin long and short positions from Bitfinex.
Cache / Update Frequency: Real time for all the API plans.
This endpoint is available on the following API plans:
Plans | Hobbyist | Startup | Standard | Professional | Enterprise |
---|---|---|---|---|---|
Available | ✅ | ✅ | ✅ | ✅ | ✅ |
interval Limit | >=4h | >=30m | No Limit | No Limit | No Limit |
Response Data
{
"code": "0",
"msg": "success",
"data": [
{
"time": 1658880000, // Timestamp, representing the data's corresponding time point
"long_quantity": 104637.94, // Long position quantity
"short_quantity": 2828.53 // Short position quantity
},
{
"time": 1658966400, // Timestamp, representing the data's corresponding time point
"long_quantity": 105259.46, // Long position quantity
"short_quantity": 2847.84 // Short position quantity
}
// More data entries...
]
}