# Get Institutional Holdings

get_shareholders_institutional(code, next_key=None, num=None)

  • Description

    Get the institutional holding count and share quantity history for a stock, with pagination support

  • Parameters

    Parameter Type Description
    code str Stock code
    next_key str Pagination key
    num int Items per page
  • Return

    Parameter Type Description
    ret RET_CODE API call result
    data pd.DataFrame When ret == RET_OK, returns institutional holdings DataFrame
    str When ret != RET_OK, returns error description
    • DataFrame field description:

      Field Type Description
      period_text str Reporting period
      institution_quantity int Number of institutions
      institution_quantity_change int Institution count change
      holder_quantity int Total shares held
      holder_quantity_change int Share count change
      holder_pct float Holding percentage
      holder_pct_change float Holding percentage change
      update_time_str str Data update time
      next_key str Pagination key
  • Example

from futu import *
quote_ctx = OpenQuoteContext(host='127.0.0.1', port=11111)

ret, data = quote_ctx.get_shareholders_institutional("HK.00700")
if ret == RET_OK:
    print(data[['period_text', 'institution_quantity', 'holder_quantity', 'holder_pct']].to_string(index=False))
    print('next_key:', data.attrs.get('next_key', '-1'))
else:
    print('error:', data)
quote_ctx.close()
1
2
3
4
5
6
7
8
9
10
  • Output
period_text  institution_quantity  holder_quantity  holder_pct
    2026/Q1                   863       4192178205      46.474
    2025/Q4                   873       4195284653      46.444
    2025/Q3                   854       4219387239      46.614
    2025/Q2                   839       4254708217      46.881
    2025/Q1                   809       4236696253      46.491
    2024/Q4                   808       4331865949      47.431
    2024/Q3                   803       4404605110      47.919
    2024/Q2                   846       4438538978      47.926
    2024/Q1                   824       4484844061      48.055
    2023/Q4                   857       4472729401      47.717
next_key: -1
1
2
3
4
5
6
7
8
9
10
11
12

API Limits

  • Maximum 30 requests per 30 seconds.
  • Supports HK stocks, US stocks, and funds.
  • Supports pagination; default 10 items per page; pagination key is a string type.