# 获取机构持股列表

get_institution_holding_list(market, institution_id, change_type=None, sort_field=None, sort_dir=None, count=None, page=None, keyword=None)

  • 介绍

    获取机构持股列表,返回指定机构的全部持股明细(包含市值、持股比例、变动等),支持按变动类型筛选、多维度排序和关键词搜索。

  • 参数

    参数 类型 说明
    market Market 市场类型(HK/US)(必填)
    institution_id int 机构 ID(必填)
    change_type InstitutionHoldingChangeType 按变动类型筛选(不传=全部)
    sort_field InstitutionHoldingListSortField 排序字段,默认持仓市值
    sort_dir RankSortDir 排序方向,默认降序
    count int 返回数量 [1, 200],默认 20
    page str 翻页游标
    keyword str 搜索关键词(股票名/代码)
  • 返回

    参数 类型 说明
    ret RET_CODE 接口调用结果
    data pd.DataFrame 当 ret == RET_OK,返回数据
    str 当 ret != RET_OK,返回错误描述
    • 数据格式如下:
      字段 类型 说明
      security str 股票代码(如 'US.AAPL'
      name str 股票名称
      industry_name str 所属行业
      holding_value float 持股市值
      holding_pct float 持股比例—占股票总市值(%)
      last_holding_pct float 上期持股比例(%)
      change_shares int 变动股数
      portfolio_pct float 占机构总仓位比例(%)
      change_pct float 变动比例(%)
      holding_date int 持仓时间(时间戳)
      source str 披露来源
      currency str 币种
  • Example

from futu import *

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

# 先获取机构ID
ret, data, _, _ = quote_ctx.get_institution_list(market=Market.US, count=1)
if ret == RET_OK and len(data) > 0:
    inst_id = data.iloc[0]['institution_id']

    # 查询持股列表
    ret, data, next_page, all_count = quote_ctx.get_institution_holding_list(
        market=Market.US, institution_id=inst_id, count=2)
    if ret == RET_OK:
        print(f'总数据量: {all_count}')
        print(data)
    else:
        print('error:', data)

quote_ctx.close()
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  • Output
总数据量: 4430
  security name industry_name  holding_value  holding_pct  last_holding_pct  change_shares  portfolio_pct  change_pct holding_date source currency
0  US.NVDA  英伟达            电子   3.887350e+11       7.9295            7.8996      -19284971         4.9289     -0.0796   2026-03-30    13F      USD
1  US.AAPL   苹果           计算机   3.398298e+11       7.7520            7.7624      -10565359         4.3088     -0.0719   2026-03-30    13F      USD
1
2
3
4

接口限制

  • 30 秒内最多 60 次请求
  • 分页请求仅首页计入限频统计