合约主动买卖量
接口描述
合约主动买卖量
HTTP请求
GET /futures/data/takerlongshortRatio
请求权重
0
请求参数
名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
symbol | STRING | YES | |
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 |
- 若无 startime 和 endtime 限制, 则默认返回当前时间往前的 limit 值
- 仅支持最近 30 天的数据
- IP限频为1000次/5min
响应示例
[
{
buySellRatio: "1.5586",
buyVol: "387.3300", // 主动买入量
sellVol: "248.5030", // 主动卖出量
timestamp: "1585614900000",
},
{
buySellRatio: "1.3104",
buyVol: "343.9290",
sellVol: "248.5030",
timestamp: "1583139900000",
},
]