Agent Skills
› staskh/trading_skills
› earnings-calendar
earnings-calendar
GitHub获取股票 upcoming 财报日期、交易时段及 EPS 预估。支持单个或多个代码查询,按日期排序输出,适用于评估持仓风险、规划交易及构建观察列表。
触发场景
查询某公司或股票的下次财报发布日期
查看财报日历或 earnings calendar
询问特定股票何时发布财报
检查投资组合的财报风险
安装
npx skills add staskh/trading_skills --skill earnings-calendar -g -y
SKILL.md
Frontmatter
{
"name": "earnings-calendar",
"description": "Get upcoming earnings dates with timing (before\/after market) and EPS estimates. Use when user asks about earnings dates, earnings calendar, when a company reports, or upcoming earnings.",
"dependencies": [
"trading-skills"
]
}
Earnings Calendar
Retrieve upcoming earnings dates for stocks.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python scripts/earnings.py SYMBOLS
Arguments
SYMBOLS- Ticker symbol or comma-separated list (e.g.,AAPLorAAPL,MSFT,GOOGL,NVDA)
Output
Single symbol returns:
symbol- Ticker symbolearnings_date- Next earnings date (YYYY-MM-DD)timing- "BMO" (Before Market Open), "AMC" (After Market Close), or nulleps_estimate- Consensus EPS estimate, or null if unavailable
Multiple symbols returns:
results- Array of earnings info, sorted by date (soonest first)
Examples
# Single symbol
uv run python scripts/earnings.py NVDA
# Multiple symbols (sorted by date)
uv run python scripts/earnings.py AAPL,MSFT,GOOGL,NVDA,META
# Portfolio earnings calendar
uv run python scripts/earnings.py CAT,GOOG,HOOD,IWM,NVDA,PLTR,QQQ,UNH
Use Cases
- Check when positions have upcoming earnings risk
- Plan trades around earnings announcements
- Build an earnings calendar for watchlist
Dependencies
pandasyfinance
Timezone
All timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.
版本历史
- cc30858 当前 2026-07-05 11:04
依赖关系
-
required
trading-skills


