Xpersona
M

Macro News Signal

CLAWHUB · Unverified

Macro News Signal is an intelligent market analysis skill that transforms real-time global news and key macro indicators into actionable investment insights. Skill: Macro News Signal Owner: zhelincheng Summary: Macro News Signal is an intelligent market analysis skill that transforms real-time global news and key macro indicators into actionable investment insights. Tags: latest:1.1.1 Version history: v1.1.1 | 2026-04-11T05:00:19.533Z | user Version 1.1.1 of macro-news-signal - No file changes detected in this version. - No functional or documentation updates present. - T

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17ewy6bpah5jaryy0zyhbwxfx845car:macro-news-signal
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zhelincheng-macro-news-signal/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

146,406 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

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

# 宏观新闻信号

## 1. 概述

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

## 2.工作流程

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

### 2.1 第一步:来源识别

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

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

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

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

#### 2.2.1 RSS订阅源、指数接口 请求方式
在获取RSS订阅源、指数接口时,需要先判断是否存在curl命令时,如果存在优先使用curl进行数据获取,示例如下:
```bash
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 友好的线性数据结构:

```bash
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$。
3. 预测值比对: 若新闻涉及经济数据发布,自动对比“实际值”与“预期值”,计算超预期偏差。

### 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.py` | Yahoo Finance API 数据格式化脚本,将嵌套 JSON 转为扁平化结构 |

README.md

[简体中文](./README_zh-CN.md) | **English**

# Macro News Signal

> **OpenClaw Skill** — Install at [https://clawhub.ai/zhelincheng/macro-news-signal](https://clawhub.ai/zhelincheng/macro-news-signal)

---

## Overview

Macro News Signal converts fragmented global financial news and macroeconomic indicators into **structured, actionable investment decision support data** through automated collection, deep parsing, sentiment analysis, and multi-dimensional aggregation.

## Demo

![Skill Result](./screenshot/result.png)

---

## Workflow

```
┌─────────────┐    ┌──────────────────┐    ┌───────────────┐
│ News Request │ -> │ Source Identify  │ -> │Automated Collect│
└─────────────┘    └──────────────────┘    └───────────────┘
                                                      │
                                                      v
┌─────────────┐    ┌──────────────────┐    ┌───────────────┐
│Aggregation  │ <- │ Signal Generation│ <- │Parsing & NLP  │
└─────────────┘    └──────────────────┘    └───────────────┘
```

---

## Step 1: Source Identification

Identify appropriate news sources based on request:

| Asset Class    | Main Sources                    | Type     |
|----------------|---------------------------------|----------|
| Equities       | 10JQKA, Bloomberg, CNBC        | RSS      |
| Fixed Income   | Fed Speeches, Indices, BoE      | RSS/API  |
| Commodities    | EIA, OPEC, Metals Bulletin      | Web      |
| Forex          | Central Banks, MNI              | Web      |
| General Macro  | WSJ, FT, Economist, Zaobao     | RSS      |

---

## Step 2: Collection

Use appropriate methods based on source type:

- **RSS Feeds**: See `references/news_apis.md`
- **Web Pages**: Prioritize agent-browser skill if available for dynamic access; otherwise use default scraping method
- **APIs**: See `references/news_apis.md`

Example curl request from `references/news_apis.md`:

```bash
curl 'url' \
  -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'
```

---

## Step 3: Parsing & Analysis

This stage uses NLP to extract core variables from unstructured text:

### 1. Named Entity Recognition (NER)
Automatically identify specific assets (e.g., `$NAS100$), economic indicators (e.g., `$CPI$, `$TIPS`), and key persons or geographic regions.

### 2. Sentiment Polarity
| Type                  | Description                                              |
|-----------------------|----------------------------------------------------------|
| Hawkish/Dovish        | Quantify policy bias for central bank communications     |
| Bullish/Bearish       | Calculate text sentiment score $S$ based on financial dictionaries |

### 3. Forecast Comparison
When news in

_meta.json

{
  "ownerId": "kn72p9s93fys26x5tvcyrmjban845vme",
  "slug": "macro-news-signal",
  "version": "1.1.1",
  "publishedAt": 1775883619533
}

references/news_apis.md

# 新闻API参考

## 1. RSS订阅源

### 1.1 主要金融新闻RSS

| 来源           | URL                                                     | 覆盖范围       | 说明               |
| -------------- | ------------------------------------------------------- | -------------- | ------------------ |
| 彭博社最新报道 | https://bbg.buzzing.cc/feed.json                        | 最新新闻       | Folo订阅地址       |
| 彭博社         | https://feeds.bloomberg.com/markets/news.rss            | 市场           | 无                 |
| CNBC           | https://www.cnbc.com/id/100003114/device/rss/rss.html   | 商业           | 无                 |
| 金融时报       | https://www.ft.com/rss/home                             | 全球金融       | 无                 |
| 华尔街日报市场 | https://feeds.a.dj.com/rss/RSSMarketsMain.xml           | 市场           | 无                 |
| 经济学人       | https://www.economist.com/finance-and-economics/rss.xml | 宏观/金融      | 无                 |
| 联合早报       | http://rss.spriple.org/zaobao/realtime/world            | 国际-即时      | RSSHub公共实例地址 |
| 同花顺         | https://rss.spriple.org/10jqka/realtimenews             | 24小时全球财经 | RSSHub公共实例地址 |

#### 来源说明:

1. 彭博社最新报道Folo订阅查询:https://app.folo.is/share/feeds/70844804758158336
2. RSSHub公共实例查询:https://docs.rsshub.app/zh/guide/instances

以上来源均可查,属于Folo和RSSHub官方提供,可做为可信来源。

### 1.2 央行RSS

| 来源     | URL                                                | 覆盖范围   |
| -------- | -------------------------------------------------- | ---------- |
| 美联储   | https://www.federalreserve.gov/feeds/press_all.xml | 美联储声明 |
| 英国央行 | https://www.bankofengland.co.uk/rss                | 英央行声明 |

## 2. 指数接口

| 来源                  | URL                                                                                                                                                                   | 数据位置                                   |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| US10YTIP              | https://quote.cnbc.com/quote-html-webservice/restQuote/symbolType/symbol?symbols=US10YTIP&requestMethod=itv&noform=1&partnerId=2&fund=1&exthrs=1&output=json&events=1 | FormattedQuoteResult.FormattedQuote[].last |
| ICE U.S. Dollar Index | https://quote.cnbc.com/quote-html-webservice/restQuote/symbolType/symbol?symbols=.DXY&requestMethod=itv&noform=1&partnerId=2&fund=1&exthrs=1&output=json&events=1     | FormattedQuoteResult.FormattedQuote[].last |
| Gold COMEX            | https://quote.cnbc.com/quote-html-webservice/restQuote/symbolType/symbol?symbols=%40GC.1&requestMethod=itv&noform=1&partnerId=2&fund=1&exthrs=1&output=json&events=1  | FormattedQuoteResult.FormattedQuote[].last |
| ICE Brent Crude  | https://quote.cnbc.com/quote-html-webservice/restQuote/symbolType/symbol?symbols=%40LCO.1&requestMethod=itv&noform=1&partnerId=2&fund=1&exthrs=1&output=json&events=1  | FormattedQuoteRes

references/output_format.md

# 宏观新闻信号报告 - 输出格式说明

本文档定义宏观新闻信号报告的标准输出格式。

---

# 📊 宏观新闻信号报告
**覆盖时间:[日期](最近24小时)**

---

## 一、核心事件:[事件标题]

### 概要

**一句话摘要。**

- [要点1]
- [要点2]
- [要点3]
- [要点4]

### 重点新闻

- [新闻1](新闻链接1)
- [新闻2](新闻链接2)
- [新闻3](新闻链接3)

> **信号级别:[Trend-Setting/Flash/Sustained]** | 冲击强度:[极高/高/中/低]

---

## 二、[主题分类] — [方向]

| 指标 | 实际值 | 预期值 | 评判 |
|------|--------|--------|------|
| [指标1] | [值] | [值] | **[判定]** |

- [补充说明]
- [补充说明]

> **信号级别:[Trend-Setting/Flash/Sustained]** | [市场影响描述]

---

## 三、市场行情
下面展示:债券市场、 美元、黄金、上证指数、纳斯达克、标普数据

| 品种 | 数值 | 日变化 |
|------|------|--------|
| [品种1] | **[数值]** | [变化] |
| [品种2] | **[数值]** | [变化] |

- [市场分析]
- [市场分析]

> **[品种]:[方向] | [品种]:[方向]**

---

## 四、能源 & 大宗商品

- **[事件描述]**,影响:[影响说明]
- **[事件描述]**,影响:[影响说明]
- **[事件描述]**,影响:[影响说明]

---

## 五、其他重要宏观

| 事件 | 详情 | 市场影响 |
|------|------|---------|
| [国家] [事件] | [说明] | [影响] |
| [国家] [事件] | [说明] | [影响] |

---

## 六、最近大事日历([日期]起)

- 🔜 [MM-DD][美联储议息会议]
- 🔜 [事件2]
- 🔜 [事件3]


---

## 综合信号汇总

| 资产类别 | 信号 | 评级 | 核心逻辑 |
|----------|------|------|---------|
| **A股** | 📈 买入 | [评级理由] | [逻辑说明] |
| **美股** | 📈 买入 | [评级理由] | [逻辑说明] |
| **美债** | 📉 卖出 | [评级理由] | [逻辑说明] |
| **美元** | ➡️ 持有 | [评级理由] | [逻辑说明] |
| **原油/能源** | 📈 买入 | [评级理由] | [逻辑说明] |
| **黄金** | 📈 买入 | [评级理由] | [逻辑说明] |
| **欧元** | 📉 卖出 | [评级理由] | [逻辑说明] |
| **食品/农业** | 📈 买入 | [评级理由] | [逻辑说明] |

---

> ⚠️ **最大风险提示:** [风险描述]。数据截止:[ISO时间戳]。

---

Sponsored

Ads related to Macro News Signal and adjacent AI workflows.