Skip to content

期權鏈統計 ​

GET /api/v1.0/quote/{code}/option-chain-statistic

獲取指定標的各到期日期權鏈的隱含波動率(IV)、期望波動幅度(Expected Move,美元/港元等貨幣絕對值)及 Call/Put 成交量彙總。 同時返回標的最新整體 IV 與 HV(百分數)。 支持市場:HK / US / JP。指數標的需傳 index_option_type,普通正股不傳。

請求參數 ​

參數類型位置必填說明
codestring路徑是期權標的代碼(路徑參數),例: US.AAPL / US.TSLA / HK.00700
index_option_typeint查詢否指數期權類型(僅指數標的需要,普通正股不傳)

請求示例 ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/option-chain-statistic?index_option_type=1' \
  -H 'Authorization: Bearer <AccessToken>' | jq

響應參數 ​

參數類型說明
data.itemsobject[]
data.underlying_ivnumber標的整體隱含波動率(百分數,43.54 表示 43.54%)
data.underlying_hvnumber標的整體歷史波動率(百分數)
data.items[].strike_dateinteger到期日 YYYY-MM-DD
data.items[].strike_timestampinteger到期日秒級時間戳
data.items[].product_codestring期權鏈品種代碼
data.items[].ivnumber該到期日隱含波動率(百分數,43.543 表示 43.543%)
data.items[].expected_movenumber該到期日期望波動幅度(Expected Move,按標的幣種計價,原始值放大 10^5)
data.items[].call_volumestring該到期日 Call 總成交量
data.items[].put_volumestring該到期日 Put 總成交量

錯誤碼 ​

ret_codeerror.code說明
0—成功
-3invalid_parameter參數缺失或不在允許範圍內
-7invalid_symbol標的不存在
-8unsupported市場或品類不支持
-9permission_denied沒有對應權限
-10no_data沒有可返回的數據
-11rate_limited調用過於頻繁

響應示例 ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "underlying_iv": "example",
    "underlying_hv": "example",
    "items": [
      {
        "strike_date": 0,
        "strike_timestamp": 0,
        "product_code": "example",
        "iv": "example",
        "expected_move": "example",
        "call_volume": "example"
      }
    ]
  }
}