跳到主要内容
知仓学习社ZHICANG

fxmacrodata-calendar

Fetch official FXMacroData macro release-calendar events for trade planning, macro regime checks, and event-risk filters. Use before CPI, NFP, GDP, …

读凭据联网严重 0 · 高危 1tradermonty/claude-trading-skills

它会碰到什么

扫了多少4 个文本文件,37 KB
它会碰到什么读凭据联网
命中总数30 处
命中统计严重 0 · 高 1 · 中 27 · 低 2
逐条看命中(1 条严重或高危)
  • scripts/fetch_calendar.py:175cred-envread
    api_key = os.getenv("FXMACRODATA_API_KEY")

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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
  1. 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.

  1. 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.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。