# Option Underlying Overview

get_option_underlying_overview(code_list, index_option_type=IndexOptionType.NORMAL)

  • Description

    Batch retrieve option underlying overview data, including the latest snapshot of core metrics such as volume, open interest, implied volatility (IV), and multi-period historical volatility (HV).

  • Parameters

    Parameter Type Description
    code_list list[str] List of underlying stock codes
    index_option_type IndexOptionType Index option type
  • Returns

    Parameter Type Description
    ret RET_CODE Interface call result
    data pandas.DataFrame When ret == RET_OK, returns underlying overview data
    str When ret != RET_OK, returns error description
    • Return DataFrame fields:

      Field Type Description
      code str Stock code
      name str Underlying name
      call_volume int Call option volume
      put_volume int Put option volume
      call_open_interest int Call option open interest (T-1 delayed)
      put_open_interest int Put option open interest (T-1 delayed)
      iv float Implied volatility (percentage)
      iv_rank float IV rank percentile (percentage)
      iv_percentile float IV percentile (percentage)
      pre_iv float Previous trading day IV (percentage)
      hv_30d float 30-day historical volatility (percentage)
      hv_30d_percentile float 30-day HV percentile
      hv_60d float 60-day historical volatility (percentage)
      hv_60d_percentile float 60-day HV percentile
      hv_90d float 90-day historical volatility (percentage)
      hv_90d_percentile float 90-day HV percentile
      hv_120d float 120-day historical volatility (percentage)
      hv_120d_percentile float 120-day HV percentile
      hv_365d float 365-day historical volatility (percentage)
      hv_365d_percentile float 365-day HV percentile
  • Example

from futu import *

quote_ctx = OpenQuoteContext(host='127.0.0.1', port=11111)

ret, data = quote_ctx.get_option_underlying_overview(['US.AAPL', 'US.TSLA', 'US.NVDA'])
if ret == RET_OK:
    print(data)
else:
    print('error:', data)

quote_ctx.close()
1
2
3
4
5
6
7
8
9
10
11
  • Output
      code  name  call_volume  put_volume  call_open_interest  put_open_interest      iv  iv_rank  iv_percentile  pre_iv  hv_30d  hv_30d_percentile  hv_60d  hv_60d_percentile  hv_90d  hv_90d_percentile  hv_120d  hv_120d_percentile  hv_365d  hv_365d_percentile
0  US.AAPL  Apple       782941      490299             3165108            2237950  25.126   37.702         19.841  25.617  23.324             59.126  24.641             65.476  23.019             46.825   23.582              47.619   22.619               8.333
1  US.TSLA  Tesla      2197764     1425740             4178685            2909774  55.053   39.265         64.285  55.401  49.359             68.254  46.536             58.730  44.990             46.031   41.688              29.761   44.500               1.190
2  US.NVDA  NVIDIA     1980405     1176926             9096278            7648683  41.975   27.062         42.460  45.135  45.921             96.825  42.646             99.206  39.980             92.460   38.971              81.746   34.989              17.063
1
2
3
4

Rate Limit

  • Maximum 60 requests per 30 seconds