PluginBench
Skill
Pass
Audit score 90

fxmacrodata-calendar

tradermonty/claude-trading-skills

Fetch official macro release-calendar events for trade planning and event-risk filtering.

What is fxmacrodata-calendar?

Retrieves official-source macro release-calendar events from FXMacroData for forex and macro trading. Use this skill to check event timing, confirmed release dates, and assess macro risk before CPI, NFP, GDP, PCE, retail sales, PMI, and central-bank decision windows.

  • Fetch top-tier macro release events (CPI, NFP, GDP, PCE, retail sales, PMI, central-bank decisions)
  • Filter events by currency and minimum tier level (1, 2, or 3)
  • Retrieve official announcement timestamps and release identifiers
  • Verify data quality and source authenticity before accepting results
  • Support both authenticated and public USD calendar endpoints

How to install fxmacrodata-calendar

npx skills add https://github.com/tradermonty/claude-trading-skills --skill fxmacrodata-calendar
Prerequisites
  • Python 3 installed
  • FXMACRODATA_API_KEY environment variable set (optional for public USD calendar)
  • Access to FXMacroData API endpoint https://api.fxmacrodata.com/v1
Claude Code
Cursor
Windsurf
Cline

How to use fxmacrodata-calendar

  1. 1.Run the calendar fetch script with desired currency and tier: python3 skills/fxmacrodata-calendar/scripts/fetch_calendar.py --currency usd --min-tier 1
  2. 2.Review the events[] array for top-tier releases and announcement timestamps
  3. 3.Verify data_quality confirms official, current, non-proxy source before using results
  4. 4.Fold event timing into your trade plan by pausing entries, reducing leverage, or adjusting position size around high-impact releases
  5. 5.Schedule follow-up review after the actual macro value is released

Use cases

Good for
  • Pause or reduce position size around high-impact macro releases
  • Check event timing before entering new trades to avoid unplanned volatility
  • Schedule follow-up review after actual macro data is released
  • Assess macro regime and event-risk state for portfolio adjustments
  • Filter calendar for specific currencies and release tiers
Who it's for
  • Forex traders
  • Macro traders
  • Risk managers
  • Trading strategy developers
  • Quantitative analysts

fxmacrodata-calendar FAQ

What happens if the script returns a nonzero exit?

Treat it as an unverified event-risk state, not an empty calendar. Only a successful response with events: [] confirms no matching events were found.

Do I need an API key to use this skill?

No. Public USD calendar rows can be fetched without authentication by setting FXMACRODATA_API_KEY. Authenticated endpoints require the key to be set.

What --min-tier values are supported?

Only integer values 1, 2, or 3 are accepted. Tier 1 is highest impact; tier 3 is lower impact.

How should I use macro events in my trade plan?

Pause new entries around high-impact releases, reduce leverage or position size, schedule follow-up review after actual data, and document which event and timestamp drove each adjustment.

What data quality checks does the skill perform?

The skill verifies that the response currency matches your request, confirms the source is official and current (not proxy or fallback), checks that timestamps are complete, and ensures each event has an announcement timestamp and release identifier.

Full instructions (SKILL.md)

Source of truth, from tradermonty/claude-trading-skills.


name: fxmacrodata-calendar description: Fetch official FXMacroData macro release-calendar events for trade planning, macro regime checks, and event-risk filters. Use before CPI, NFP, GDP, PCE, retail sales, PMI, and central-bank decision windows.

FXMacroData Calendar

Retrieve official-source macro release-calendar events from FXMacroData. Use this skill when a trade plan needs event timing, confirmed release dates, or a top-tier macro risk check.

Workflow

  1. Run the calendar script:

    python3 skills/fxmacrodata-calendar/scripts/fetch_calendar.py --currency usd --min-tier 1
    
  2. Review events[] for top-tier releases.

    Treat a nonzero exit as an unverified event-risk state, never as an empty calendar. Only a successful response containing events: [] establishes that no matching events were returned. The client accepts results only when the response currency matches the request and data_quality confirms an official, current, non-proxy, non-fallback, timestamp-complete, point-in-time-safe source. Each event must include an announcement timestamp and a non-empty release identifier.

  3. Fold the event timing into the trade plan:

    • pause new entries around high-impact releases;
    • reduce leverage or position size;
    • schedule follow-up review after the actual value is available;
    • explain which event and timestamp drove the adjustment.

Authentication

Set FXMACRODATA_API_KEY for authenticated FXMacroData endpoints. Public USD calendar rows can be fetched without a key. The client uses the canonical https://api.fxmacrodata.com/v1 endpoint and accepts --min-tier values 1, 2, or 3 only. Live calendar responses currently include market_tier; the skill treats it as an extension field and requires integer values 1 through 3 for filtering, although the current CalendarReleaseRow OpenAPI schema does not declare that field.