# Get Corporate Actions - Buybacks

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

  • Description

    Get buyback records for a stock (HK stocks / A-shares, supports pagination)

  • Parameters

    Parameter Type Description
    code str Stock code
    next_key str Pagination key
    num int Page size
  • Return

    Parameter Type Description
    ret RET_CODE API call result
    data dict When ret == RET_OK, returns buyback data dictionary
    str When ret != RET_OK, returns error description
    • The returned dictionary contains the following fields:

      Field Type Description
      next_key str Pagination key
      hk_buy_back_list pd.DataFrame HK buyback list
      a_buy_back_list pd.DataFrame A-share buyback list
    • hk_buy_back_list fields (HK buyback entry):

      Field Type Description
      publ_date int Announcement date timestamp
      publ_date_str str Announcement date
      end_date int Buyback end date timestamp
      end_date_str str Buyback end date
      buy_back_money float Buyback amount
      buy_back_sum int Buyback shares
      percentage float Percentage of issued shares
      high_price float Highest buyback price
      low_price float Lowest buyback price
      cumulative_sum int Cumulative buyback shares this round
      cumulative_percentage float Cumulative percentage of total shares this round
      share_type str Share type
    • a_buy_back_list fields (A-share buyback entry):

      Field Type Description
      change_reg_date int Business registration change date timestamp
      change_reg_date_str str Business registration change date
      change_date int Share change date timestamp
      change_date_str str Share change date
      event_proce_desc str Event process description
      advance_date int Proposal announcement date timestamp
      advance_date_str str Proposal announcement date
      meet_pass_date int Shareholder meeting approval date timestamp
      meet_pass_date_str str Shareholder meeting approval date
      start_date int Buyback start date timestamp
      start_date_str str Buyback start date
      end_date int Buyback end date timestamp
      end_date_str str Buyback end date
      pay_date int Payment date timestamp
      pay_date_str str Payment date
      seller str Seller
      buy_back_mode str Buyback method
      share_type str Share type
      buy_back_sum int Buyback shares
      buy_back_money float Buyback amount
      percentage float Percentage of issued shares
      value_floor float Minimum planned buyback amount
      value_ceiling float Maximum planned buyback amount
      price_floor float Minimum buyback price
      price_ceiling float Maximum buyback price
      volume_floor float Minimum planned buyback shares
      volume_ceiling float Maximum planned buyback shares
  • Example

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

ret, data = quote_ctx.get_corporate_actions_buybacks("HK.00700", num=3)
if ret == RET_OK:
    df = pd.DataFrame(data.get('hk_buy_back_list', []))
    print(df.to_string(index=False))
else:
    print('error:', data)
quote_ctx.close()
1
2
3
4
5
6
7
8
9
10
11
  • Output
publ_date publ_date_str   end_date end_date_str  buy_back_money  buy_back_sum  percentage  high_price  low_price  cumulative_sum  cumulative_percentage      share_type
1775664000    2026-04-09 1775664000   2026-04-09    1000880717.6       1964000    0.021373       514.5      503.0       119812000                1.30386 Ordinary shares
1775577600    2026-04-08 1775577600   2026-04-08    1000761103.7       1979000    0.021537       510.0      501.0       117848000                1.28249 Ordinary shares
1775059200    2026-04-02 1775059200   2026-04-02     300715258.5        615000    0.006693       496.0      485.2       115869000                1.26095 Ordinary shares
1
2
3
4

API Restrictions

  • Maximum 30 requests per 30 seconds.
  • Supports HK stocks, A-share stocks and funds.