economic-calendar-fetcherFetch scheduled economic events and data releases from the FMP API for specified dates, filtering by impact, country, and type, and output a chronological ma...
Install via ClawdBot CLI:
clawdbot install Veeramanikandanr48/economic-calendar-fetcherRetrieve upcoming economic events and data releases from the Financial Modeling Prep (FMP) Economic Calendar API. This skill fetches scheduled economic indicators including central bank monetary policy decisions, employment reports, inflation data (CPI/PPI), GDP releases, retail sales, manufacturing data, and other market-moving events that impact financial markets.
The skill uses a Python script to query the FMP API and generates chronological markdown reports with impact assessment for each scheduled event.
Key Capabilities:
Data Source:
https://financialmodelingprep.com/api/v3/economic_calendarUse this skill when the user requests:
DO NOT use this skill for:
Follow these steps to fetch and analyze the economic calendar:
Check for API key availability:
Example user interaction:
User: "Show me economic events for next week"
Assistant: "I'll fetch the economic calendar. Do you have an FMP API key? I can use the FMP_API_KEY environment variable, or you can provide your API key now."
Set appropriate date range based on user request:
Default (no specific dates): Today + 7 days
User specifies period: Use exact dates (validate format: YYYY-MM-DD)
Maximum range: 90 days (FMP API limitation)
Examples:
Validate date range:
Run the get_economic_calendar.py script with appropriate parameters:
Basic usage (default 7 days):
python3 /path/to/economic-calendar-fetcher/scripts/get_economic_calendar.py --api-key YOUR_KEY
With specific date range:
python3 /path/to/economic-calendar-fetcher/scripts/get_economic_calendar.py \
--from 2025-01-01 \
--to 2025-01-31 \
--api-key YOUR_KEY \
--format json
Using environment variable (no --api-key needed):
export FMP_API_KEY=your_key_here
python3 /path/to/economic-calendar-fetcher/scripts/get_economic_calendar.py \
--from 2025-01-01 \
--to 2025-01-07
Script parameters:
--from: Start date (YYYY-MM-DD) - default: today--to: End date (YYYY-MM-DD) - default: today + 7 days--api-key: FMP API key (optional if FMP_API_KEY env var set)--format: Output format (json or text) - default: json--output: Output file path (optional, default: stdout)Handle errors:
Process the JSON response from the script:
Filter examples:
Event data structure:
{
"date": "2025-01-15 14:30:00",
"country": "US",
"event": "Consumer Price Index (CPI) YoY",
"currency": "USD",
"previous": 2.6,
"estimate": 2.7,
"actual": null,
"change": null,
"impact": "High",
"changePercentage": null
}
Evaluate the market significance of each event:
Impact Level Classification (from FMP):
Additional Context Factors:
Create structured markdown report with the following sections:
Report Header:
# Economic Calendar
**Period:** [Start Date] to [End Date]
**Report Generated:** [Timestamp]
**Total Events:** [Count]
**High Impact Events:** [Count]
Event Listing (Chronological):
For each event, provide:
## [Date] - [Day of Week]
### [Event Name] ([Impact Level])
- **Country:** [Country Code] ([Currency])
- **Time:** [HH:MM UTC]
- **Previous:** [Value]
- **Estimate:** [Consensus Forecast]
- **Impact Assessment:** [Your analysis]
**Market Implications:**
[2-3 sentences on why this matters, what markets watch for, typical reaction patterns]
---
Example Event Entry:
## 2025-01-15 - Wednesday
### Consumer Price Index (CPI) YoY (High Impact)
- **Country:** US (USD)
- **Time:** 14:30 UTC (8:30 AM ET)
- **Previous:** 2.6%
- **Estimate:** 2.7%
- **Impact Assessment:** Very High - Core inflation metric for Fed policy decisions
**Market Implications:**
CPI reading above estimate (>2.7%) likely strengthens hawkish Fed expectations, potentially pressuring equities and supporting USD. Reading at or below 2.7% could reinforce disinflation narrative and support risk assets. Options market pricing 1.2% S&P 500 move on release day.
---
Summary Section:
Add analytical summary at the end:
## Key Takeaways
**Highest Impact Days:**
- [Date]: [Events] - [Combined impact rationale]
- [Date]: [Events] - [Combined impact rationale]
**Central Bank Activity:**
- [Summary of any scheduled Fed/ECB/BOJ meetings or speeches]
**Major Data Releases:**
- Employment: [NFP, Unemployment Rate dates]
- Inflation: [CPI, PPI dates]
- Growth: [GDP, Retail Sales dates]
**Market Positioning Considerations:**
[2-3 bullets on how traders might position around these events]
**Risk Events:**
[Highlight any particularly high-uncertainty or surprise-potential events]
Filtering Notes:
If user requested specific filters, note at top:
**Filters Applied:**
- Impact Level: High only
- Country: US
- Events shown: [X] of [Y] total events in date range
Output Format:
economic_calendar_[START]_to_[END].mdFile naming convention:
economic_calendar_2025-01-01_to_2025-01-31.md
economic_calendar_2025-01-15_to_2025-01-21.md (weekly)
economic_calendar_high_impact_2025-01.md (with filters)
Markdown structure requirements:
Table format option (for dense listings):
| Date/Time (UTC) | Event | Country | Impact | Previous | Estimate | Assessment |
|-----------------|-------|---------|--------|----------|----------|------------|
| 01-15 14:30 | CPI YoY | US | High | 2.6% | 2.7% | Core inflation metric |
Language: All reports in English
Python Script:
scripts/get_economic_calendar.py: Main API fetch script with CLI interfaceReference Documentation:
references/fmp_api_documentation.md: Complete FMP Economic Calendar API referenceAPI Details:
https://financialmodelingprep.com/api/v3/economic_calendarEvent Coverage:
Usage Tips:
Error Handling:
Generated Mar 1, 2026
Financial advisors use this skill to provide clients with weekly economic outlooks, highlighting key events like FOMC meetings or CPI releases that may impact investment portfolios. It helps in scheduling client reviews around market-moving data to offer timely advice and risk management strategies.
Treasury departments in multinational corporations rely on the skill to monitor upcoming economic indicators, such as interest rate decisions or inflation reports, that affect currency exchange rates and cash flow planning. This aids in hedging strategies and optimizing foreign exchange transactions to mitigate financial risks.
Trading desks at banks and hedge funds utilize the skill to prepare for high-impact events like employment data or GDP releases, enabling traders to adjust positions and manage volatility. It supports real-time decision-making by providing structured reports on scheduled economic catalysts that influence asset prices.
Research analysts and economists employ this skill to gather data on upcoming economic events for reports, forecasts, and market commentary. It streamlines the collection of indicators like retail sales or manufacturing surveys, enhancing the accuracy and timeliness of economic insights for publications or client briefings.
Financial journalists and news outlets use the skill to track and report on scheduled economic releases, such as central bank decisions or trade data, ensuring comprehensive coverage of market events. It helps in planning editorial calendars and producing timely articles that inform the public about potential market impacts.
Offer tiered subscription plans where users pay monthly or annually for enhanced access to the economic calendar data, including advanced filters, historical trends, or premium impact analysis. Revenue is generated through recurring fees, with higher tiers providing more requests per day and priority support.
Provide a free basic version with limited daily API calls and default date ranges, while charging for premium features like extended date ranges (beyond 90 days), custom report generation, or integration with trading platforms. This model attracts a broad user base and converts heavy users to paid plans.
License the skill as a white-label service to financial institutions, such as banks or brokerages, who embed it into their internal tools or client-facing platforms. Revenue comes from one-time setup fees and ongoing licensing agreements, tailored to the enterprise's specific needs and scale.
💬 Integration Tip
Ensure the FMP API key is securely stored as an environment variable to avoid hardcoding, and implement error handling for rate limits and network issues to maintain reliability in production environments.
Manage Trello boards, lists, and cards via the Trello REST API.
Sync and query CalDAV calendars (iCloud, Google, Fastmail, Nextcloud, etc.) using vdirsyncer + khal. Works on Linux.
Manage tasks and projects in Todoist. Use when user asks about tasks, to-dos, reminders, or productivity.
Master OpenClaw's timing systems. Use for scheduling reliable reminders, setting up periodic maintenance (janitor jobs), and understanding when to use Cron v...
Calendar management and scheduling. Create events, manage meetings, and sync across calendar providers.
Kanban-style task management dashboard for AI assistants. Manage tasks via CLI or dashboard UI. Use when user mentions tasks, kanban, task board, mission con...