Macro News Signal

v1.1.1

Macro News Signal is an intelligent market analysis skill that transforms real-time global news and key macro indicators into actionable investment insights.

1· 204·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zhelincheng/macro-news-signal.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Macro News Signal" (zhelincheng/macro-news-signal) from ClawHub.
Skill page: https://clawhub.ai/zhelincheng/macro-news-signal
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install macro-news-signal

ClawHub CLI

Package manager switcher

npx clawhub@latest install macro-news-signal
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the actual behavior: the skill collects public news/APIs (RSS, web pages, Yahoo Finance), parses text, produces sentiment/indicator-based signals and structured reports. Required resources (none) align with a lightweight, instruction-driven aggregator.
Instruction Scope
Runtime instructions direct the agent to fetch many third-party endpoints (RSS feeds, public APIs, web pages) which is expected. The included scripts/format.py will fetch and parse any API URL passed on the command line (it accepts an arbitrary URL and issues an HTTP request), so a user/agent-provided URL could cause requests to unintended internal or private endpoints (SSRF-like risk) if misused. The skill does not instruct reading local files or exporting data to unknown endpoints; format.py prints results to stdout only.
Install Mechanism
No install spec and no external packages or downloads are required; the skill is instruction-only with a small Python utility using only the standard library — low install risk.
Credentials
No environment variables, credentials, or config paths are requested. All required external accesses are public news/APIs discussed in the docs, which is proportionate to the stated purpose.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system settings, and is user-invocable only. Autonomous invocation is allowed by platform default but not combined with other privilege escalations here.
Assessment
This skill appears to do what it says and doesn't ask for secrets or installs. Before enabling: 1) remember it will make outgoing HTTP requests to many third‑party news/API endpoints — ensure that is allowed in your environment and complies with terms of use; 2) avoid supplying internal/private URLs as inputs (scripts/format.py will fetch any URL you give it, which could be abused to access internal services); 3) if you need stronger isolation, run the skill in a network-restricted environment or review/modify the script to whitelist only intended endpoints; 4) verify you trust the listed RSSHub/Folo endpoints and Yahoo Finance usage for your compliance needs.

Like a lobster shell, security has layers — review code before you run it.

latestvk975wxmvkcm6md007f3w2n8zzd84n13a
204downloads
1stars
8versions
Updated 2w ago
v1.1.1
MIT-0

宏观新闻信号

1. 概述

Macro News Signal 是一款智能市场分析工具,旨在通过自动化获取、深度解析、情感计算和多维聚合的工作流程,将碎片化的全球金融新闻与宏观经济指标转化为结构化、可操作的投资决策支持数据。

2.工作流程

新闻请求 → 来源识别 → 自动化获取 → 解析与分析 → 信号生成 → 聚合输出

2.1 第一步:来源识别

根据请求识别合适的新闻来源:

资产类别主要来源类型
股票同花顺、彭博社、CNBCRSS
固定收益美联储讲话、指数、英央行RSS/API
大宗商品EIA、欧佩克、金属公报网页
外汇央行、MNI网页
一般宏观华尔街日报、金融时报、经济学人、联合早报RSS
股票指数Yahoo FinanceAPI

2.2 第二步:数据获取(请严格遵守下面的方案)

所有数据来源均存在 references/news_apis.md 中。

2.2.1 RSS订阅源、指数接口 请求方式

在获取RSS订阅源、指数接口时,需要先判断是否存在curl命令时,如果存在优先使用curl进行数据获取,示例如下:

curl '地址' \
  -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
  -H 'accept-language: zh-CN,zh;q=0.9' \
  -H 'cache-control: no-cache' \
  -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36'

当不存在curl命令时,使用默认方式进行数据获取,例如web_fetch。

2.2.2 股票接口 请求方式

当请求股票接口 Yahoo Finance API 时,必须使用 scripts/format.py 对 Yahoo Finance API 原始响应进行格式化,转化为 AI 友好的线性数据结构:

python3 scripts/format.py "<api_url>"

详细 API 端点和数据格式参见 references/news_apis.md 中的 Yahoo Finance API 相关说明。

2.3 第三步:解析与分析

该阶段利用自然语言处理 (NLP) 提取非结构化文本中的核心变量:

  1. 实体提取 (NER): 自动识别新闻中提到的特定资产(如 $NAS100$)、经济指标(如 $CPI$、$TIPS$)及关键人物或地理区域。
  2. 情感极性标注:
  • 鹰/鸽分析 (Hawkish/Dovish): 针对央行沟通,量化政策偏向。
  • 利好/利空 (Bullish/Bearish): 基于金融词典计算文本情感得分 $S$。
  1. 预测值比对: 若新闻涉及经济数据发布,自动对比“实际值”与“预期值”,计算超预期偏差。

2.4 第四步:信号生成

将解析后的分析转化为量化的投资逻辑:

  • 冲击等级: 划分为 Flash (瞬时波动)、Secondary (次要影响) 或 Trend-Setting (趋势级信号)。
  • 指标相关性: 宏观指标,计算当前新闻对特定资产(如黄金与 10Y TIPS 收益率背离)的映射强度。
  • 逻辑校验: 自动检测是否存在“利好出尽”或“情绪过热”的背离信号。

2.5 第五步:聚合

按以下多维方式聚合分析结果,生成结构化报告:

  • 时间窗口: 每日综述、每周深度回顾。
  • 核心主题: 通货膨胀、GDP、就业市场、央行动态、地缘政治。
  • 地区: 美国、中国、欧盟、新兴市场。
  • 资产类别建议:
    • 买入 (Buy): 强利好信号且情绪合理。
    • 持有 (Hold): 信号中性或处于数据真空期。
    • 卖出 (Sell): 结构性利空或情感极度亢奋。

输出格式: 生成的报告必须严格遵循 references/output_format.md 中定义的模板结构,包括信号级别定义、资产信号定义和冲击强度定义。

3. 定义

3.1 信号级别定义

级别说明持续时间
Trend-Setting趋势级,影响未来数周至数月长期
Sustained持续级,影响未来数天至数周中期
Flash瞬时冲击,仅当时段有效短期

3.2 资产信号定义

信号含义
📈 买入预计上涨,适合做多
📉 卖出预计下跌,适合做空
➡️ 持有预期震荡,适合观望

3.3 冲击强度定义

强度说明
极高重大黑天鹅,对市场有决定性影响
重要事件,能引发显著市场波动
常规事件,可能引发短期波动
次要事件,市场影响有限

4. 资源

4.1 references/

文件内容
news_apis.md新闻API文档、RSS订阅源、指数接口及 Yahoo Finance API
output_format.md报告输出格式模板

4.2 scripts/

文件内容
format.pyYahoo Finance API 数据格式化脚本,将嵌套 JSON 转为扁平化结构

Comments

Loading comments...