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"
      }
    ]
  }
}