Skip to main content
skill CX Codex

fxmacrodata-calendar — Claude Code skill: macro release calendar

Pulls official FXMacroData release dates so a trade plan can pause entries ahead of CPI, NFP or a central-bank decision.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add tradermonty/claude-trading-skills --skill fxmacrodata-calendar -a claude-code
Open on GitHub

What fxmacrodata-calendar does

The skill runs fetch_calendar.py and returns the release-calendar events. Your agent then reads events[] and folds the timing into the trade plan: hold off on new entries around high-impact releases, trim leverage or position size, and schedule a follow-up once the actual value lands. It also states which event and timestamp caused the adjustment.

The call is python3 skills/fxmacrodata-calendar/scripts/fetch_calendar.py --currency usd --min-tier 1. Only 1, 2 or 3 are valid for --min-tier. Public USD calendar rows need no key; other FXMacroData endpoints want FXMACRODATA_API_KEY in the environment. Requests go to https://api.fxmacrodata.com/v1.

A nonzero exit means the event-risk state is unverified, not that nothing is scheduled. An empty calendar is only a successful response carrying events: []. Results are accepted when the response currency matches the request and data_quality marks the source as official, current, non-proxy, non-fallback and timestamp-complete. Every event needs an announcement timestamp and a non-empty release identifier.

What it helps with

  • pin down exact CPI, NFP and GDP release dates before a trade
  • pause new entries around central-bank decisions
  • cut leverage ahead of a PCE or PMI print
  • schedule a follow-up review after the actual value is out
  • tell an empty calendar apart from a failed request

Example prompts for the agent

  • Show the USD release calendar with min tier 1
  • Which tier-1 events this week could break my EUR/USD plan?
  • Check macro event risk before I open a position

How to install fxmacrodata-calendar

1Skills CLI (Vercel)

npx skills add tradermonty/claude-trading-skills --skill fxmacrodata-calendar -a claude-code

2Manually: put the files in place

~/.claude/skills/fxmacrodata-calendar/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/fxmacrodata-calendar/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about fxmacrodata-calendar

How do I install fxmacrodata-calendar in Claude Code?

Run npx skills add tradermonty/claude-trading-skills --skill fxmacrodata-calendar -a claude-code. The skill lands at ~/.claude/skills/fxmacrodata-calendar/SKILL.md.

What does fxmacrodata-calendar do?

It fetches official FXMacroData release-calendar events and works their timing into the trade plan: entry pauses, smaller position size, a review after the release.

Do I need an API key?

Public USD calendar rows work without one. For the remaining FXMacroData endpoints, set the FXMACRODATA_API_KEY environment variable.

Source text

SKILL.md · MIT
---
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:

   ```bash
   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.

© tradermonty · MIT · tradermonty/claude-trading-skills

Similar skills

Everything for Finance and business →

From the same set73

stockbee-20pct-study Builds a structured model book of US equities moving 20% or more, tracks catalysts, and calculates multi-day forward outcomes for pattern research. CX Codex +1 2,600installs stockbee-exhaustion-hammer-screener This skill screens US stocks for Stockbee-style selling-exhaustion hammers. Use it to build candidates for manual trade review. CX Codex +1 2,600installs stockbee-setup-fluency-trainer Turns Stockbee Momentum Burst screener candidates into a study model book and fills in 3-day and 5-day outcomes. CX Codex +1 2,600installs stockbee-episodic-pivot-analyzer Evaluates Day 1 Episodic Pivot setups using Stockbee criteria. It pairs corporate catalysts with volume shocks and opening range price expansion. CX Codex +1 2,600installs contrarian-setup-gate Synthesizes COT crowding, news-reaction failure, and weekly price action reports into one actionable trade setup status. Useful before sizing contrarian positions. CX Codex +1 2,500installs news-reaction-failure-analyzer Tests whether a crowded speculative position failed to benefit from favorable news. It handles step two of the COT contrarian process. CX Codex +1 2,500installs cot-contrarian-detector Runs a screen over CFTC futures markets to show where large speculators have piled onto one side. Useful when you want a starting point for a contrarian look. CX Codex +1 2,500installs futures-position-sizer Calculates contract-based futures position sizes from entry, stop-loss, and account risk budgets using verified specs. Runs completely offline via Python with no API keys. CX Codex +1 2,500installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor