Skip to content

Per-underlying daily IV/HV history ​

GET /api/v1.0/quote/{code}/option-underlying-his-volatility

Per-underlying daily IV/HV history. Omit end_time for the latest page; count default 60 (max 260). Returns trading day, IV, HV, underlying price. For latest snapshot use quote.option_underlying_overview.

Parameters ​

NameTypeInRequiredDescription
codestringpathyesUnderlying symbol, e.g. US.AAPL
countintquerynoPage size, default 60, max 260
end_timestringquerynoEnd date YYYY-MM-DD; omit on first page for latest. Date YYYY-MM-DD in the security's market timezone
index_option_typeintquerynoHK HSI/HSCEI index-option type; omit for equities

Example ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/option-underlying-his-volatility' \
  -H 'Authorization: Bearer <AccessToken>' | jq

Response parameters ​

NameTypeDescription
data.volatilitiesobject[]
data.volatilities[].timestringTrading day YYYY-MM-DD. Date YYYY-MM-DD in the security's market timezone
data.volatilities[].timestampintTrading-day timestamp , Unix microseconds
data.volatilities[].ivnumberImplied volatility (percent)
data.volatilities[].hvnumberHistorical volatility (percent)
data.volatilities[].underlying_pricestringUnderlying price

Errors ​

ret_codeerror.codeDescription
0—Success
-3invalid_parameterMissing or invalid parameter
-8unsupportedNot supported
-10no_dataNo data

Response example ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "volatilities": [
      {
        "time": "example",
        "timestamp": 1710000000000000,
        "iv": 1.2,
        "hv": 1.2,
        "underlying_price": "example"
      }
    ]
  }
}