# 期权标的排行

get_option_underlying_rank(option_market, sort_type, sort_direction=None, count=None, trading_date=None, filter_list=None, page=None)

  • 介绍

    获取期权热门标的排行,按指定维度对期权标的(正股/ETF/指数)进行排名,支持多维度筛选与分页。

  • 参数

    参数 类型 说明
    option_market OptionMarket 期权市场类型
    sort_type UnderlyingRankSortType 排序字段
    sort_direction int 排序方向
    count int 每页数量
    trading_date str 交易日
    filter_list list[UnderlyingRankFilter] 筛选条件列表
    page str 分页游标
  • 返回

    参数 类型 说明
    ret RET_CODE 接口调用结果
    data pandas.DataFrame 当 ret == RET_OK,返回排行数据
    str 当 ret != RET_OK,返回错误描述
    next_page str 下一页游标字符串,None 表示无下一页
    all_count int 符合条件的总数据量
    • data DataFrame 字段:

      字段 类型 说明
      code str 标的股票代码
      name str 标的名称
      total_volume int 期权总成交量
      total_open_interest int 期权总持仓量
      volume_ratio float Put/Call 成交量比值(百分比)
      open_interest_ratio float Put/Call 持仓量比值(百分比)
      iv float 隐含波动率(百分比)
      iv_rank float IV 排名百分位(百分比)
      iv_percentile float IV 百分位(百分比)
      price float 标的最新价
      change_ratio float 标的涨跌幅(小数)
      iv_change float IV 变化率(百分比)
      hv float 历史波动率(百分比)
      hv_change float HV 变化率(百分比)
      market_cap float 市值
      trading_date str 排行数据对应交易日
      trading_timestamp float 排行数据对应交易日时间戳(Unix 秒)
  • Example

from futu import *

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

ret, data, next_page, all_count = quote_ctx.get_option_underlying_rank(
    option_market=OptionMarket.US_SECURITY,
    sort_type=UnderlyingRankSortType.VOLUME,
    count=5
)
if ret == RET_OK:
    print(data)
    print('all_count:', all_count)
else:
    print('error:', data)

quote_ctx.close()
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  • Output
      code                        name  total_volume  total_open_interest  volume_ratio  open_interest_ratio      iv  iv_rank  iv_percentile   price  change_ratio  iv_change      hv  hv_change    market_cap trading_date  trading_timestamp
0   US.SPY               标普500ETF-SPDR      14228830             19909256       0.97899              1.93868  17.675   27.143         61.111  741.75      0.540826     -8.261  15.031     -0.057  7.814945e+11   2026-06-12       1.781237e+09
1   US.QQQ  纳指100ETF-Invesco QQQ Trust       8239190             12964422       0.99417              1.49888  27.652   62.918         91.269  721.34      0.588465     -8.332  26.196     -0.644  4.765533e+11   2026-06-12       1.781237e+09
2  US.TSLA                         特斯拉       3623504              7088459       0.64872              0.69633  55.053   39.265         64.285  406.43      1.823876     -0.629  49.359     -1.194  1.526439e+12   2026-06-12       1.781237e+09
3  US.NVDA                         英伟达       3157331             16744961       0.59428              0.84085  41.975   27.062         42.460  205.19      0.156197     -7.002  45.921     -1.972  4.965598e+12   2026-06-12       1.781237e+09
4   US.IWM           罗素2000ETF-iShares       2840729             11791964       0.79034              2.78276  24.857   33.930         64.285  292.95      0.874626     -6.744  24.802      0.522  8.061984e+10   2026-06-12       1.781237e+09
all_count: 6017
1
2
3
4
5
6
7

接口限制

  • 30 秒内最多请求 60 次期权标的排行接口(支持分页的接口,仅首次调用纳入统计)