
Earnings Calendar
A straightforward wrapper around yfinance for pulling earnings dates, timing, and EPS estimates. You pass in one or more ticker symbols and get back when they're reporting next, whether it's before or after the bell, and what analysts expect for EPS. The multi-symbol output sorts by date, which is actually useful if you're managing a portfolio and want to see which positions have earnings risk coming up first. It's basic fundamental data, nothing fancy, but it beats manually looking up earnings calendars when you need to check if your holdings are about to report. Works well for planning around volatility or just staying aware of what's on deck.
- GitHub stars
- 248
- last updated
- Jun 11, 2026
Install
$ npx -y skills add staskh/trading_skills --skill earnings-calendar --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/staskh/trading_skills
- Category
- Finance & Trading
- License
- MIT
- First seen
- Jun 11, 2026
More from staskh/trading_skills
All 28- Ib Account
- Ib Collar
- Ib Create Consolidated Report
- Ib Find Short Roll
- Ib Option Chain
- Ib Pmcc Advisor
- Ib Portfolio
- Ib Portfolio Action Report
- Ib Report Delta Adjusted Notional Exposure
- Ib Stop Loss
- Ib Trades History
- Ib Trailing Stop
- Insider Trading
- Markdown To Pdf
- Price History
- Scanner Bullish
- Scanner Pmcc
- Spread Analysis
- Whale Hunting
- Technical Analysis598
- News Sentiment246
- Fundamentals182
- Stock Quote131
- Greeks128