跳到主要内容

合约持仓量历史

接口描述

查询合约持仓量历史

HTTP请求

GET /futures/data/openInterestHist

请求权重

0

请求参数

名称类型是否必需描述
symbolSTRINGYES
periodENUMYES"5m","15m","30m","1h","2h","4h","6h","12h","1d"
limitLONGNOdefault 30, max 500
startTimeLONGNO
endTimeLONGNO
  • 若无 startime 和 endtime 限制, 则默认返回当前时间往前的limit值
  • 仅支持最近30天的数据

响应示例

[
{
"symbol":"BTCUSDT",
"sumOpenInterest":"20403.12345678",// 持仓总数量
"sumOpenInterestValue": "176196512.12345678", // 持仓总价值
"timestamp":"1583127900000"

},
{

"symbol":"BTCUSDT",
"sumOpenInterest":"20401.36700000",
"sumOpenInterestValue":"149940752.14464448",
"timestamp":"1583128200000"
},
]