批量标的最新期权统计
POST/api/v1.0/quote/option-underlying-overview批量标的最新期权统计(成交量/持仓量/IV/HV)。symbols 最多 500 个。港股恒指/国指可传 index_option_type。 返回每标的 call/put 成交与持仓、IV/IV Rank/Percentile、HV 多周期、前一日 IV。 历史序列请用 quote.option_underlying_his_statistic / quote.option_underlying_his_volatility。
请求参数
| 参数 | 类型 | 位置 | 必填 | 说明 |
|---|---|---|---|---|
codes | string | 请求体 | 是 | 标的代码列表,最多 500,例: ["US.AAPL","US.TSLA"] |
index_option_type | int | 请求体 | 否 | 港股恒指/国指指数期权类型,正股不传 |
请求示例
bash
curl -X POST 'https://webapi.moomoo.com/api/v1.0/quote/option-underlying-overview' -H 'Content-Type: application/json' -d '{}' \
-H 'Authorization: Bearer <AccessToken>' | jq响应参数
| 参数 | 类型 | 说明 |
|---|---|---|
data.items | object[] | |
data.items[].code | string | 标的代码 |
data.items[].name | string | 标的名称 |
data.items[].call_volume | string | Call 成交量 |
data.items[].put_volume | string | Put 成交量 |
data.items[].call_open_interest | string | Call 持仓量(T-1) |
data.items[].put_open_interest | string | Put 持仓量(T-1) |
data.items[].iv | number | 隐含波动率(百分数) |
data.items[].iv_rank | number | IV Rank(百分数) |
data.items[].iv_percentile | number | IV Percentile(百分数) |
data.items[].pre_iv | number | 前一交易日 IV(百分数) |
data.items[].historical_volatilities | object[] | |
data.items[].historical_volatilities[].time_range | int | HV 周期天数:30/60/90/120/365/1095 |
data.items[].historical_volatilities[].hv | number | 历史波动率(百分数) |
错误码
| ret_code | error.code | 说明 |
|---|---|---|
| 0 | — | 成功 |
| -3 | invalid_parameter | 参数不合法 |
| -8 | unsupported | 不支持 |
| -10 | no_data | 没有数据 |
响应示例
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"items": [
{
"code": "US.AAPL",
"name": "example",
"call_volume": "example",
"put_volume": "example",
"call_open_interest": "example",
"put_open_interest": "example",
"iv": 1.2,
"iv_rank": 1.2,
"iv_percentile": 1.2,
"pre_iv": 1.2,
"historical_volatilities": "example"
}
]
}
}