Skip to content

財報價格走勢

GET /v1/quote/{symbol}/f10/earnings-price-move

獲取股票在財報披露日前後的價格走勢。返回以披露日為中心、跨多個財報期的逐日行情序列(開/收/高/低/昨收/成交量、期權 IV/HV),並附整次請求的 overview 匯總(近 N 個財報期的財報日平均漲跌幅)。

請求參數

參數類型位置必填說明
symbolstring路徑標的代碼,如 HK.00700
countint查詢返回最近 N 個財報期的數據。預設 10,最大 50
overview_countint查詢overview 匯總統計的財報期數。預設 8,最大 50。實際生效值 = min(overview_count, count)。

請求示例

bash
curl "$ip/v1/quote/US.AAPL/f10/earnings-price-move?count=10&overview_count=8" | jq

響應字段

返回 data.records[](逐日行情)與 data 頂層 overview 匯總字段。

records 字段:

字段類型說明
fiscal_yearint財年,如 2025。
financial_typeint財報期類型,詳見命名詞典
period_textstring財報期文本,如 2025/Q4
pub_trading_dayint披露日交易日時間戳(秒)。
pub_trading_day_strstring披露日字串(yyyy-MM-dd,按市場時區)。
pub_typeint財報披露時點類型,詳見命名詞典
price_info_indexint披露日在該財報期子數組中的索引位置(即 day_offset=0 處)。
day_offsetint相對披露日的偏移天數(0=披露當日,負=披露前,正=披露後)。
trading_dayint當前行交易日時間戳(秒)。
trading_day_strstring當前行交易日字串(yyyy-MM-dd,按市場時區)。
open_pricefloat開盤價。
close_pricefloat收盤價。
highest_pricefloat最高價。
lowest_pricefloat最低價。
last_close_pricefloat昨收價。
option_ivfloat期權隱含波動率(%);無期權數據的標的可能為 0。
option_hvfloat期權歷史波動率(%);無期權數據的標的可能為 0。
volumeint當前行交易日成交量(股)。
volume_precisionint成交量精度 n,真實成交量 = volume / 10^n(通常為 0)。

data 頂層 overview 匯總字段:

字段類型說明
overview_recent_period_countintoverview 實際統計的財報期數 N。
overview_avg_earnings_day_change_pctfloat近 N 個財報期的財報日平均漲跌幅(%),如 1.15 表示 +1.15%。

限制範圍

  • 支持市場:HK / US / SH / SZ / CA / AU 的正股 / ADR;其它市場正股可能暫無數據(返回空 records)。
  • 僅適用正股類標的;期權 / 期貨 / 外匯 / 指數等非正股品類不支持(返回 unsupported)。
  • 標的合法但無財報行情數據時返回 ret_code=0 + 空 records。

錯誤碼

ret_codeerror.code觸發條件處理建議
0成功(含合法但無數據,records=[])
-3invalid_parameter參數類型/範圍非法(如 count 超 50)校正參數後重試
-7invalid_symbolsymbol 解析不到證券用 search 類接口確認代碼合法性
-8unsupported非正股品類(期權/期貨/外匯等)該接口僅適用正股,換正股代碼
-4 / -6internal_error網關內部錯誤稍後重試;持續失敗聯繫支持

響應示例

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "records": [
      {
        "fiscal_year": 2026,
        "financial_type": 1,
        "period_text": "2026/Q1",
        "pub_trading_day": 1769058000,
        "pub_trading_day_str": "2026-01-22",
        "pub_type": 1,
        "price_info_index": 5,
        "day_offset": -1,
        "trading_day": 1768971600,
        "trading_day_str": "2026-01-21",
        "open_price": 248.238789331,
        "close_price": 247.190736542,
        "highest_price": 251.093485501,
        "lowest_price": 244.725317122,
        "last_close_price": 246.242498303,
        "option_iv": 31.095,
        "option_hv": 15.588,
        "volume": 54641725,
        "volume_precision": 0
      },
      {
        "fiscal_year": 2026,
        "financial_type": 1,
        "period_text": "2026/Q1",
        "pub_trading_day": 1769058000,
        "pub_trading_day_str": "2026-01-22",
        "pub_type": 1,
        "price_info_index": 5,
        "day_offset": 0,
        "trading_day": 1769058000,
        "trading_day_str": "2026-01-22",
        "open_price": 248.737862088,
        "close_price": 247.889438401,
        "highest_price": 250.534524014,
        "lowest_price": 247.689809299,
        "last_close_price": 247.190736542,
        "option_iv": 30.057,
        "option_hv": 15.406,
        "volume": 39708340,
        "volume_precision": 0
      }
    ],
    "overview_recent_period_count": 8,
    "overview_avg_earnings_day_change_pct": 1.1529
  }
}