What problem does it solve?
This skill helps traders and investors quickly identify US earnings announcements for mid-cap+ companies (>$2B market cap) that are likely to move markets, and presents the data in a clean, report-ready format.
Core Features & Use Cases
- Earnings calendar retrieval: Connects to Financial Modeling Prep (FMP) API to fetch upcoming earnings dates.
- Market-cap filtering: Focuses on mid-cap+ names to prioritize market-moving events.
- Multi-environment output: Outputs JSON for programmatic consumption and markdown render for reports.
- Usage example: If you want to see which U.S. stocks are reporting earnings next week, this skill fetches data, enriches it with basic company metadata, and sorts by date and market cap.
Quick Start
Run the fetcher for the current target week with your API key and generate a markdown earnings calendar:
- Set your API key (env var or prompt)
- Fetch earnings: python scripts/fetch_earnings_fmp.py 2025-11-03 2025-11-09
- Generate a report: python scripts/generate_report.py earnings_data.json earnings_calendar.md