Ashare news fetcher

From daymade/claude-code-skills · View interactive version

Ashare news fetcher is an AI agent skill from the GitHub repository daymade/claude-code-skills. 抓取 A 股消息面情报:从财联社、华尔街见闻、金十、新浪 7x24、东财快讯、 证监会/央行/上交所/财政部政策公告、东方财富股吧等公开来源抓取与股票相关的 新闻、政策、情绪,输出结构化 JSON 或 Markdown。 当用户提到“A 股消息面”、“抓新闻”、“个股消息”、“政策监管”、“股吧情绪”、 “财联社”、“东财快讯”、“市场情绪”或需要把某只股票相关的公开情报聚合出来时 触发。也适用于“帮我看看 000001 最近有什么消息”这类口语化请求。

How to use this skill

Skill file

A 股消息面抓取

从多个公开中文财经/政策/社交来源抓取 A 股相关情报,输出结构化条目。

这个 skill 做什么

  1. 抓取中文财经快讯(财联社、华尔街见闻、金十、新浪 7x24、东财快讯)
  2. 抓取监管政策公告(证监会、央行、上交所、财政部)
  3. 抓取东方财富股吧的个股情绪指标
  4. 从标题/摘要中提取相关 A 股代码
  5. 输出 JSON 或 Markdown,方便后续分析、存档或喂给 LLM

能力边界

能做的:

不能做的:

前置条件

最简安装:

pip install requests
# 如需政策来源:
pip install beautifulsoup4
# 如需名称匹配:
pip install akshare
# 如需更精确的名称匹配:
pip install jieba

使用方式

方式 1:对话里直接调用

/ashare-news-fetcher 000001,600519 cn,guba

参数说明(都是可选的):

方式 2:直接运行脚本

python scripts/fetch_intel.py --sources cn,policy --limit 20
python scripts/fetch_intel.py --symbols 000001,600519 --sources guba
python scripts/fetch_intel.py --sources cn --keywords 降准,降息 --format markdown

常用选项:

信源说明

| 来源组 | 来源 | 内容类型 | 是否需要 bs4 |

|---|---|---|---|

| cn | 财联社、华尔街见闻、金十、新浪 7x24、东财快讯 | 市场快讯 | 否 |

| policy | 证监会、央行、上交所、财政部 | 政策/监管公告 | 是(证监会除外) |

| guba | 东方财富股吧 | 个股散户情绪 | 否 |

详细 API 端点和解析方式见 references/source_apis.md。

测试

测试说明与运行方式见 references/testing.md。

输出格式

JSON

每个 item 的结构见 references/output_schema.md。示例:

{
  "item_id": "4ffde7bc7b18b55e",
  "source_id": "cn_sina",
  "source_name": "sina",
  "title": "...",
  "summary": "...",
  "url": "...",
  "category": "market",
  "priority": "normal",
  "tags": ["公司", "市场"],
  "related_symbols": ["000001"],
  "published_at": "2026-06-25 17:50:41",
  "fetched_at": "2026-06-25 09:50:52",
  "extra": {}
}

Markdown

按时间倒序排列,每条展示来源、时间、分类、相关代码、标签、链接和摘要。

注意事项

```bash

export JIN10_APP_ID="your-app-id"

```

Next Step

拿到结构化情报后,常见的下一步是交给分析 skill 做总结或生成日报:

要不要把这些消息总结一下,生成一份 A 股消息日报?

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.