Install
openclaw skills install market-news-aggregatorAggregate, classify, summarize, and analyze market news from Chinese financial portals (Sina Finance, EastMoney, Hexun, Jin10). Use for (1) pre-market briefing on overnight news, (2) intraday real-time alerts for market-moving events, (3) end-of-day news review. Supports sector classification, sentiment tagging, keyword extraction, and importance ranking.
openclaw skills install market-news-aggregator聚合国内财经网站新闻,按品种/板块分类,生成摘要、提取关键词、判断情绪(偏多/偏空/中性),并按重要度排序。适用于盘前/盘中/盘后三个场景。
| Source | URL | Coverage | Notes |
|---|---|---|---|
| 新浪财经 | https://finance.sina.com.cn/ | 要闻、宏观、行业、个股 | 资讯页可导航 |
| 东方财富 | https://www.eastmoney.com/ | 快讯、研报、公告、宏观 | 滚动新闻量最大 |
| 和讯网 | https://www.hexun.com/ | 期货、外汇、宏观 | 偏大宗商品 |
| 金十数据 | https://www.jin10.com/ | 实时快讯、数据公布、事件预警 | 速度快、偏交易 |
宏观宏观 — 宏观经济政策、GDP、CPI、PMI、利率、汇率
农产品 — 大豆、玉米、棉花、白糖、生猪、鸡蛋等
有色 — 铜、铝、锌、铅、镍、锡、黄金、白银
黑色 — 铁矿石、螺纹钢、焦煤、焦炭、热卷
能源化工 — 原油、甲醇、PTA、纯碱、尿素、橡胶、燃料油
股指 — IF、IC、IH、IM 及大盘指数
Based on the user's request, pick the right source(s) and category:
| Scenario | Recommended Source(s) | Depth |
|---|---|---|
| 盘前隔夜消息 (pre-market) | 新浪财经 + 金十数据 | 综合 |
| 盘中异动 (intraday alert) | 金十数据 快讯 | 实时 |
| 盘后回顾 (EOD review) | 东方财富 + 新浪财经 | 深度 |
| 特定品种 (specific product) | 和讯网 | 垂直 |
Use the web_fetch tool with extractMode=text to get clean text content. Set maxChars appropriately:
web_fetch:
url: "<source-url>"
extractMode: text
maxChars: 8000 # per page, enough for ~5-10 headlines + snippets
Example fetches:
https://finance.sina.com.cn/https://finance.sina.com.cn/futures/https://www.eastmoney.com/https://www.jin10.com/Respect robots.txt: Use moderate fetch intervals and reasonable maxChars. Do not scrape at high frequency.
Parse fetched text and classify each news item. Look for keywords in headline and body:
| Sector | Trigger Keywords |
|---|---|
| 宏观 | 央行、MLF、降准、降息、GDP、CPI、PMI、进出口、美联储、非农、加息、数据 |
| 农产品 | 豆粕、豆油、玉米、棉花、白糖、生猪、鸡蛋、棕榈、菜油、USDA |
| 有色 | 铜、铝、锌、铅、镍、锡、黄金、白银、LME、库存、矿 |
| 黑色 | 螺纹、铁矿、焦煤、焦炭、热卷、限产、粗钢、地产、基建 |
| 能源化工 | 原油、甲醇、PTA、纯碱、尿素、橡胶、燃料油、OPEC、EIA、炼厂 |
| 股指 | 沪指、创业板、上证、深证、北向、涨停、成交量、A股 |
Output format — group news under their sector heading:
### 🏛️ 宏观宏观
1. [标题] — 摘要(来源,时间)
2. [标题] — 摘要(来源,时间)
For each news item (or at least the top 5-8 most important ones), produce a one-line summary:
Example:
❌ 不好: "央行宣布降准0.5个百分点,市场流动性得到改善"
✅ 好: "央行降准0.5%,释放长期资金约1万亿"
Extract 2-5 key terms per news item. Prioritize actionable terms that traders care about:
Tag each news item with a sentiment direction:
| Tag | Meaning | When to Use |
|---|---|---|
| 🟢 偏多 | 利好/利多 | Positive for price (supply cut, policy support, strong demand) |
| 🔴 偏空 | 利空/利淡 | Negative for price (supply surge, policy tightening, weak data) |
| ⚪ 中性 | 中性/无明确方向 | Informational, mixed signals, or unclear impact |
Apply sentiment relative to the sector/contract, not the general economy. E.g., "原油增产" = 🔴 偏空 for oil.
Rank news items by market impact (high → low):
| Level | Score | Criteria |
|---|---|---|
| 🔴 重大 | ★★★ | Policy shifts, unexpected data, major supply disruption |
| 🟡 重要 | ★★ | Routine data release, moderate supply change, meeting results |
| ⚪ 一般 | ★ | Commentary, ordinary operations, non-market-moving |
Use this output format as the final presentation:
📰 市场新闻聚合 — [日期/时段]
━━━ 🔴 重大关注 ━━━
1. [标题](来源)
摘要:XXX
关键词:XXX, XXX
情绪:🟢 偏多 / 🔴 偏空 / ⚪ 中性
2. ...
━━━ 🟡 重要信息 ━━━
...
━━━ ⚪ 一般资讯 ━━━
...
━━━ 📊 分板块汇总 ━━━
🏛️ 宏观宏观:[N] 条 | 🟢X 🔴X ⚪X
🌾 农产品: [N] 条 | 🟢X 🔴X ⚪X
🏭 有色: [N] 条 | 🟢X 🔴X ⚪X
⛏️ 黑色: [N] 条 | 🟢X 🔴X ⚪X
🛢️ 能源化工:[N] 条 | 🟢X 🔴X ⚪X
📈 股指: [N] 条 | 🟢X 🔴X ⚪X
Quick check command:
web_fetch:
url: "https://www.jin10.com/"
extractMode: text
maxChars: 6000
scripts/fetch_news.pyA Python script for batch fetching from multiple sources. Use when the user needs a consolidated multi-source fetch (not individual page fetches via web_fetch).
python scripts/fetch_news.py --sources sina,jin10 --sectors macro,agri --max-items 20
Parameters:
--sources: Comma-separated source list (sina, eastmoney, hexun, jin10)--sectors: Filter by sector keywords--max-items: Max items to return (default 20)--output: Output format (text, json)