Skip to content

批量标的最新期权统计 ​

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。

请求参数 ​

参数类型位置必填说明
codesstring请求体是标的代码列表,最多 500,例: ["US.AAPL","US.TSLA"]
index_option_typeint请求体否港股恒指/国指指数期权类型,正股不传

请求示例 ​

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.itemsobject[]
data.items[].codestring标的代码
data.items[].namestring标的名称
data.items[].call_volumestringCall 成交量
data.items[].put_volumestringPut 成交量
data.items[].call_open_intereststringCall 持仓量(T-1)
data.items[].put_open_intereststringPut 持仓量(T-1)
data.items[].ivnumber隐含波动率(百分数)
data.items[].iv_ranknumberIV Rank(百分数)
data.items[].iv_percentilenumberIV Percentile(百分数)
data.items[].pre_ivnumber前一交易日 IV(百分数)
data.items[].historical_volatilitiesobject[]
data.items[].historical_volatilities[].time_rangeintHV 周期天数:30/60/90/120/365/1095
data.items[].historical_volatilities[].hvnumber历史波动率(百分数)

错误码 ​

ret_codeerror.code说明
0—成功
-3invalid_parameter参数不合法
-8unsupported不支持
-10no_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"
      }
    ]
  }
}