360 Secure SkillHub
360 安全技能中心

trading-news-guard

核心功能:本地检测NFP、CPI等高影响财经事件的交易禁窗,输出状态与事件信息,无需网络或API密钥。典型场景:算法交易开单前风控检查,规避新闻时段剧烈波动。输出为JSON,含状态、当前/后续事件;仅提供数据,需自行决策,不可达时默认禁窗。

northcap-group
热度 36.32
最近更新 2026-09-01 05:04:07
分类:数据依赖:代码执行应用场景:财务 / 市场分析

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add trading-news-guard
Metadata
name
trading-news-guard
description
News blackout awareness for trading: local reference for high-impact events (NFP/CPI/FOMC) and blackout-window logic. The agent decides whether to trade. 100% lokal reference — ingen netværkskald, ingen API-nøgle.
metadata
{"clawbot":{"requires":{"python3":true},"notes":"100% lokal analyse — ingen netværkskald, ingen API-nøgle."}}

Trading News Guard 🛡️📰

⚠️ Important (read first)

  • This skill provides DATA, not enforcement. It fetches the news status — your agent must decide whether to skip the trade. Do not assume safety is guaranteed.
  • Fail closed: if the API is unreachable, treat it as a blackout (do not trade) rather than proceeding.

Why it is critical

High-impact news (NFP, CPI, FOMC, ECB) can move the market 50-200+ points in seconds. Even perfect DRT/ICT setups get run over if you are in a position during a news candle. Professional traders close positions or wait — your agent should do the same.

Command


# 2) Check news status BEFORE entry

Output (example)

{
  "status": "blackout" | "clear",
  "current_event": "CPI m/m — High Impact",
  "next_events": [
    {"name": "FOMC Statement", "impact": "High", "time": "19:00 UTC"}
  ]
}

Use in your agent (pseudo-code)

news = check_news()                      # calls the API
if news["status"] == "blackout":
    skip_trade("News blackout: " + news["current_event"])
else:
    place_trade()                        # only when the market is clear

Payment

Files

trading-news-guard/
├── SKILL.md

Rules

  • ALWAYS check news before entry — especially in London/NY windows (08:00-17:00 CET)
  • Blackout = no new position. The period typically lasts 5-30 min around the event
  • Exception: if your strategy explicitly trades news (not DRT/ICT) — then use this skill to KNOW when it happens