# 獲取財報日前後價格漲跌幅表現

get_financials_earnings_price_move(code, period_count=None)

  • 介紹

    獲取財報日前後價格漲跌幅表現

  • 參數

    參數 類型 說明
    code str 股票代碼
    period_count int 財報周期數量
  • 返回

    參數 類型 說明
    ret RET_CODE 介面調用結果
    data pd.DataFrame 當 ret == RET_OK,返回按交易日展開的明細數據
    str 當 ret != RET_OK,返回錯誤描述
    • 返回數據按交易日平鋪,每行同時包含財報元信息與當日行情:

      欄位 類型 說明
      fiscal_year int 財務年度
      financial_type F10Type 財報類型
      period_text str 財報周期
      pub_trading_day_str str 財報發佈對應交易日
      pub_type EarningsPubTimeType 財報發佈時間類型
      price_info_index int 財報發佈當日在本期行情列表中的下標
      day_offset int 距財報發佈日偏移天數
      trading_day_str str 交易日
      close_price float 收盤價
      open_price float 開盤價
      highest_price float 最高價
      lowest_price float 最低價
      last_close_price float 昨收價
      option_iv float 期權隱含波動率
      option_hv float 期權歷史波動率
  • Example

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

ret, data = quote_ctx.get_financials_earnings_price_move("HK.00700", period_count=2)
if ret == RET_OK:
    print(data)
    print(data['period_text'][0])
else:
    print('error:', data)
quote_ctx.close()
1
2
3
4
5
6
7
8
9
10
  • Output
fiscal_year  financial_type  ... option_iv  option_hv
0          2026               1  ...    31.829     32.220
1          2026               1  ...    33.173     33.720
2          2026               1  ...    32.963     30.355
3          2026               1  ...       NaN        NaN
4          2025               4  ...    35.804     37.891
5          2025               4  ...    35.845     37.478
6          2025               4  ...    38.504     37.580
7          2025               4  ...    35.518     38.175
8          2025               4  ...    34.739     37.446
9          2025               4  ...    34.248     37.558
10         2025               4  ...    31.682     44.855
11         2025               4  ...    30.907     43.536
12         2025               4  ...    34.614     43.426
13         2025               4  ...    33.617     44.177
14         2025               4  ...    34.503     42.810

[15 rows x 17 columns]
2026/Q1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

接口限制

  • 每 30 秒內最多請求 30 次。
  • 僅支援港股、美股正股。