# 決算日前後の価格変動を取得

get_financials_earnings_price_move(code, period_count=None)

  • 説明

    決算日前後の価格変動を取得

  • パラメータ

    パラメータ 説明
    code str 銘柄コード
    period_count int 決算期間数
  • 戻り値

    パラメータ 説明
    ret RET_CODE API呼び出し結果
    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 決算発表日のitemList内インデックス
      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 moomoo 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リクエスト。
  • 香港株・米国株(普通株)のみ対応。