← 返回 Skills 市场
youpele52

Economic Calendar Pro

作者 youpele52 · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
411
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install economic-calendar-pro
功能描述
Run a local script to fetch economic calendar events for a date range. Defaults to 7 days inclusive from the query day. Uses TradingEconomics when TRADING_EC...
使用说明 (SKILL.md)

Skill: Economic Calendar

When to use

  • The user wants the economic calendar for today, this week, or a custom date range.
  • The user asks for upcoming macro events, scheduled releases, or high/medium/low impact events.
  • The user wants a forward-looking list of calendar items before trading.

When NOT to use

  • The user wants broad market news and sentiment only -> use market-news-brief
  • The user wants a stock price or company-specific quote -> use stock-price-checker-pro
  • The user wants company fundamentals -> use stock-fundamentals

Authentication

  • Preferred: set TRADING_ECONOMICS_API_KEY to your TradingEconomics credential string
  • Supported value format: client:secret
  • Optional: copy .env.example to .env at the repo root and fill in TRADING_ECONOMICS_API_KEY
  • Fallback: if no API key is present, the script uses Yahoo Finance's economic calendar endpoint
  • Important: Yahoo fallback can omit importance and market-expectation fields, and country values are returned as short codes like US, EU, or JP

Commands

Get the default calendar window

uv run /root/.openclaw/workspace/skills/economic-calendar-pro/src/main.py

Defaults to 7 days inclusive from the query day.

Get a custom calendar window

uv run /root/.openclaw/workspace/skills/economic-calendar-pro/src/main.py \x3CSTART_DATE> \x3CEND_DATE>

Dates must use YYYY-MM-DD.

Examples

# Default window: query day plus the next 6 days
uv run /root/.openclaw/workspace/skills/economic-calendar-pro/src/main.py

# Start from a specific day and use 7 days inclusive
uv run /root/.openclaw/workspace/skills/economic-calendar-pro/src/main.py 2026-03-10

# Explicit date range
uv run /root/.openclaw/workspace/skills/economic-calendar-pro/src/main.py 2026-03-10 2026-03-24

Output

The command returns:

  • Requested date range
  • Auth source used (TradingEconomics API or Yahoo Finance fallback)
  • Total event count and covered day count
  • Events grouped by day
  • For each event: UTC time, country, event name, and available actual / forecast / previous values

Notes

  • The script reads TRADING_ECONOMICS_API_KEY from the environment first.
  • If no env var is set, it also checks a repo-root .env file before falling back to Yahoo Finance.
  • Yahoo fallback is better than guest TradingEconomics for current/future windows, but it does not expose the same richness of metadata.
  • Do NOT use the economic-calendar-pro.sh wrapper in normal skill execution - call uv run src/main.py directly as shown above.
  • Do NOT use web search for this workflow - use the script so the output is date-filtered and formatted consistently.
安全使用建议
This skill appears coherent and limited to fetching economic calendar data. Before installing: (1) ensure you trust the skill source and verify the included code if you have concerns; (2) confirm the 'uv' runner on your system is the expected tool; (3) if you provide TRADING_ECONOMICS_API_KEY, be aware the code sends it in the URL query string (which may appear in logs or proxy traces) and the script will load a .env file from the workspace/CWD if present. If you need stronger secrecy, avoid putting secrets in .env or use a mechanism that sends the API key in an Authorization header instead.
功能分析
Type: OpenClaw Skill Name: economic-calendar-pro Version: 0.1.1 The economic-calendar-pro skill is a legitimate tool for fetching macro-economic events from TradingEconomics (via API key) or Yahoo Finance (as a fallback). The code follows standard practices for the OpenClaw environment, using 'uv' for dependency management and properly handling date ranges and data normalization. While it searches for a .env file in the workspace directory to load credentials, this behavior is aligned with the stated authentication instructions and the API key is only transmitted to the official TradingEconomics endpoint.
能力评估
Purpose & Capability
Name/description match the included code and instructions. The code fetches calendar data from TradingEconomics and falls back to Yahoo Finance, which is exactly what the README describes. The declared required binary ('uv') is used in the provided run examples.
Instruction Scope
Runtime instructions run a local Python script and are narrowly scoped to build HTTP requests to TradingEconomics and Yahoo. The script loads a nearby .env file (repo root and CWD) if present and reads TRADING_ECONOMICS_API_KEY from the environment — this is within the advertised auth flow but means the skill will read .env files in the workspace if present.
Install Mechanism
No install spec is provided (instruction-only install), so nothing is downloaded or written by an installer. Code files are bundled with the skill; runtime requires an existing 'uv' binary to run the script.
Credentials
The skill only uses a single optional env var (TRADING_ECONOMICS_API_KEY) and checks a .env file if present. That is proportionate. One implementation detail: the API key is passed as a query parameter ('c') to the TradingEconomics endpoint, which could be logged in transit or by intermediate proxies — users should be aware of this leakage risk when using a secret API key.
Persistence & Privilege
The skill does not request permanent/always-on presence, does not modify other skills, and does not write persistent system-wide configuration. It only reads .env files from expected locations and environment variables.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install economic-calendar-pro
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /economic-calendar-pro 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Renamed skill and script files from economic-calendar to economic-calendar-pro. - Updated SKILL.md documentation to use the new skill name and paths throughout. - Added a new wrapper script: economic-calendar-pro.sh (old economic-calendar.sh removed). - Minor internal code updates in constants and utils for naming consistency.
v0.1.0
Initial release with economic calendar fetch functionality: - Provides economic calendar events for a specific date range, defaulting to 7 days from the query day. - Uses TradingEconomics API when an API key is provided; falls back to Yahoo Finance if not. - Returns events grouped by day, including date range, auth source, event count, and details for each event. - Offers command-line options for setting custom date windows. - Documents command usage, authentication setup, expected output, and fallback behavior.
元数据
Slug economic-calendar-pro
版本 0.1.1
许可证 MIT-0
累计安装 3
当前安装数 2
历史版本数 2
常见问题

Economic Calendar Pro 是什么?

Run a local script to fetch economic calendar events for a date range. Defaults to 7 days inclusive from the query day. Uses TradingEconomics when TRADING_EC... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 411 次。

如何安装 Economic Calendar Pro?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install economic-calendar-pro」即可一键安装,无需额外配置。

Economic Calendar Pro 是免费的吗?

是的,Economic Calendar Pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Economic Calendar Pro 支持哪些平台?

Economic Calendar Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Economic Calendar Pro?

由 youpele52(@youpele52)开发并维护,当前版本 v0.1.1。

💬 留言讨论