# 獲取回購

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

  • 介紹

    獲取股票的回購記錄(港股 / A 股,支援分頁)

  • 參數

    參數 類型 說明
    code str 股票代碼
    next_key str 分頁標識
    num int 每頁數量
  • 返回

    參數 類型 說明
    ret RET_CODE 介面調用結果
    data dict 當 ret == RET_OK,返回回購數據字典
    str 當 ret != RET_OK,返回錯誤描述
    • 返回字典包含以下欄位:

      欄位 類型 說明
      next_key str 分頁標識
      hk_buy_back_list pd.DataFrame 港股回購列表
      a_buy_back_list pd.DataFrame A股回購列表
    • hk_buy_back_list 欄位(港股回購條目):

      欄位 類型 說明
      publ_date int 公告日時間戳
      publ_date_str str 公告日
      end_date int 回購截止日時間戳
      end_date_str str 回購截止日
      buy_back_money float 回購金額
      buy_back_sum int 回購股數
      percentage float 佔總股本比例
      high_price float 最高回購價
      low_price float 最低回購價
      cumulative_sum int 本輪累計回購股數
      cumulative_percentage float 本輪累計佔總股本比例
      share_type str 股份類別
    • a_buy_back_list 欄位(A股回購條目):

      欄位 類型 說明
      change_reg_date int 工商變更登記日時間戳
      change_reg_date_str str 工商變更登記日
      change_date int 股份變動日時間戳
      change_date_str str 股份變動日
      event_proce_desc str 事件進程描述
      advance_date int 預案公告日時間戳
      advance_date_str str 預案公告日
      meet_pass_date int 股東大會通過日時間戳
      meet_pass_date_str str 股東大會通過日
      start_date int 回購開始日時間戳
      start_date_str str 回購開始日
      end_date int 回購截止日時間戳
      end_date_str str 回購截止日
      pay_date int 支付日時間戳
      pay_date_str str 支付日
      seller str 出售方
      buy_back_mode str 回購方式
      share_type str 股份類別
      buy_back_sum int 回購股數
      buy_back_money float 回購金額
      percentage float 佔總股本比例
      value_floor float 擬回購資金總額下限
      value_ceiling float 擬回購資金總額上限
      price_floor float 回購價格下限
      price_ceiling float 回購價格上限
      volume_floor float 擬回購股數下限
      volume_ceiling float 擬回購股數上限
  • 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

介面限制

  • 每 30 秒內最多請求 30 次。
  • 支援港股、A股正股及基金。