OpenBB 的 equity.calendar.earnings() 可以取得歷史與未來的美股財報日曆,並包含 EPS 與營收資料,適合 Python 量化系統整合。[1] AInvest API 直接提供 eps actual、eps forecast 與 eps surprise 欄位,可用來判斷財報是否「高於預期或低於預期」。[2] Finnhub、MarketData、EarningsAPI 等資料源可提供「盤前 / 盤後」財報發布時間與 EPS 實際與預估值。[19][32]

Create a landscape editorial hero image for this Studio Global article: 如图所示,美股的财报每天都会有日历跟踪,假设我有个信号触发列表,我希望列表中新增一列,来获取当前的财报发布时间,已发布的给出 高于预期还是低于预期的判断,还没发布的给出时间 比如5 12 盘前或5 12 盘后, 主要是需要这个数据接口 来集成到我的信号触发程序中, 哪些开源接口可. Article summary: 可以优先看 OpenBB 的 equity.calendar.earnings,它是 Python 侧较容易集成到量化/信号程序里的接口,文档给出了 from openbb import obb 和 obb.equity.calendar.earnings() 示例,并明确支持获取历史和未来财报发布,且包含 EPS 与营收数据。[1] 如果你的核心需求是“已发布后判断高于/低于预期”,AInvest 和 Bigdata 的接口证据更直接. Topic tags: deepresearch, general web, llm, agents, ai. Reference image context from search candidates: Reference image 1: visual subject "`# Upload the required packages library(xlsx);library(zoo);library(quantmod);library(rowr);library(TTR); # Set the parameters here pc_up_level = 6 # Set the high percentage thresh" source context "Quantinsti-博客中文翻译-六- - 绝不原创的飞龙" Reference image 2: visual subject "`# Upload the required packages library(xlsx
如果你想在交易訊號列表中新增一欄財報資訊,通常需要兩類資料:
目前其實有不少 API 可以直接提供這兩類資料,而且不少量化交易或研究系統已經在用。
如果你的信號程式是 Python + DataFrame,OpenBB 是最容易接入的一個方案。
OpenBB 提供統一接口:
from openbb import obb
obb.equity.calendar.earnings()它可以取得:
例如:
obb.equity.calendar.earnings(
start_date='2024-02-01',
end_date='2024-02-07'
)這個 API 能直接取得 earnings calendar + EPS + revenue 等資訊,因此常被用來做量化研究或策略系統。[1]
另外 OpenBB 的好處是可以指定不同 provider,例如 FMP 或 NASDAQ 資料源。[3]
適合用途:
如果你的需求是:
AInvest 的 earnings calendar API 已經提供完整欄位:
返回資料包含:
eps_actualStudio Global AI
Use this topic as a starting point for a fresh source-backed answer, then compare citations before you share it.
OpenBB 的 equity.calendar.earnings() 可以取得歷史與未來的美股財報日曆,並包含 EPS 與營收資料,適合 Python 量化系統整合。[1]
OpenBB 的 equity.calendar.earnings() 可以取得歷史與未來的美股財報日曆,並包含 EPS 與營收資料,適合 Python 量化系統整合。[1] AInvest API 直接提供 eps actual、eps forecast 與 eps surprise 欄位,可用來判斷財報是否「高於預期或低於預期」。[2]
Finnhub、MarketData、EarningsAPI 等資料源可提供「盤前 / 盤後」財報發布時間與 EPS 實際與預估值。[19][32]
繼續閱讀「中國「影子 API」灰色市場:開發者如何繞過限制使用 Claude、Gemini 與 ChatGPT」,從另一個角度查看更多引用來源。
開啟相關頁面將這個答案與「六人座電動SUV崛起:中國高端EV市場的新戰場」交叉比對。
開啟相關頁面Get historical and upcoming company earnings releases. Includes earnings per share (EPS) and revenue data. Examples Parameters - standard - fmp - nasdaq - seeking alpha - tmx start date : Start date of the data, in YYYY-MM-DD format. end date : End date o...
Get earnings calendar GET / calendar / earnings Get earnings calendar curl --request GET \ --url \ --header 'Authorization…
Get historical and upcoming company earnings releases. Includes earnings per share (EPS) and revenue data. Examples from openbb import obb obb.equity.calendar.earnings(provider='fmp') Get earnings calendar for specific dates. obb.equity.calendar.earnings(st...
Object specifying which identifier you are using to request the financial latest surprise. You must supply one type and its corresponding value. ... "results": [ "rp entity id": "4A6F00", "target identifier id": "GOOGL", "reporting date": "2025-07-23", "eps...
eps_forecasteps_surpriserevenue_actualrevenue_forecast例如:
GET /calendar/earnings回傳資料示例:
{
"ticker": "AAPL",
"eps_actual": 1.52,
"eps_forecast": 1.45,
"eps_surprise": 0.07
}因此你只要簡單比較:
eps_actual > eps_forecasteps_actual < eps_forecast= → 符合預期這些欄位就是用來判斷 earnings surprise 的核心數據。[2]
如果你希望像這樣顯示:
AAPL | 5‑12 盤後
NVDA | 5‑22 盤前一些 API 已經提供 reportTime 或 before market open / after market close。
例如 MarketData API 返回:
reportTime: "before market open"
reportedEPS
estimatedEPS
surpriseEPS同時包含:
因此可以同時完成:
另一個類似的服務 EarningsAPI 會把財報事件分組為:
pre(盤前)after(盤後)讓交易系統更容易判斷事件時間。[13]
如果你只是要穩定的財報日曆資料源,以下 API 也很常被用:
Finnhub
可查歷史與未來財報。[28]
Alpha Vantage
提供簡單 REST API。[43]
API Ninjas
可以用 ticker 或日期查詢。[7]
如果你要把它整合到 信號觸發列表,通常會設計一個欄位結構,例如:
ticker
signal_time
earnings_date
earnings_session
status
eps_actual
eps_estimate
surprise其中:
earnings_session
status
判斷邏輯:
if eps_actual is None:
status = "pending"
elif eps_actual > eps_estimate:
status = "beat"
elif eps_actual < eps_estimate:
status = "miss"
else:
status = "inline"實際上很多量化系統就是這樣處理 earnings surprise 的。[4]
✅ 實務建議的 API 組合
如果是做量化或交易策略,通常會用這種組合:
這樣就可以在你的信號列表自動顯示:
NVDA | 5‑22 盤後 | 未發布
META | 已發布 | Beat
TSLA | 已發布 | Miss如果你願意補充一點背景,我也可以幫你推薦最適合你系統的 API 組合:
中國「影子 API」灰色市場:開發者如何繞過限制使用 Claude、Gemini 與 ChatGPT
The Earnings Calendar API provides access to earnings results and upcoming earning dates for all major companies. Available endpoints: - /v1/earningscalendar - Get a list of past earnings results and upcoming earnings dates - /v1/earningscalendarlist - Get...
Get comprehensive earnings calendar data for any specific date, including pre-market, after-hours, and unspecified reporting times. /v1/calendar/{yyyy-mm-dd} Quick Example GET /v1/calendar/2025-07-02?apikey=YOUR API KEY ... yyyy-mm-dd string ✅ Yes Date in Y...
Get historical earnings per share data or a future earnings calendar for a stock. Endpoint Method GET ... "s": "ok", "symbol": ["AAPL"], "fiscalYear": [2023], "fiscalQuarter": [1], "date": [1672462800], "reportDate": [1675314000], "reportTime": ["before mar...
company earnings(connection, symbol, opts \\ []) Earnings Surprises Get company historical quarterly earnings surprise going back to 2000. ... company revenue estimates(connection, symbol, opts \\ []) Revenue Estimates Get company's revenue estimates. ... e...
This page explains how to get earnings calendar from Alpha Vantage and the meanings of individual columns in the output dataset. Earnings calendar API URL Earnings calendar is available using . The API URL is: URL parameters The URL always requires the para...