stock-announcements
Agent skill fromfreestylefly/wesight
获取A股上市公司公告信息(真实数据)。基于AkShare从东方财富网获取当日全部公告,支持按股票代码筛选、关键词过滤。 适用于监控重大事件、业绩快报、股东变动、重组公告等投资决策关键信息。数据源:东方财富网(稳定可靠)。
How to install stock-announcements
install stock-announcements
# install the wesight pack with the skills CLI
npx skills add freestylefly/wesight# or add only this skill to Claude Code: copy the folder
SKILLs/stock-announcements/
# into
~/.claude/skills/stock-announcements/ (all projects)
.claude/skills/stock-announcements/ (one project)
1# Stock Announcement Fetcher23获取A股上市公司的官方公告信息(真实数据),帮助投资者及时掌握重要信息披露。45## 真实数据保证67- **数据来源:** 东方财富网(通过AkShare开源库)8- **更新频率:** 实时(当日公告)9- **覆盖范围:** 全部A股上市公司10- **数据质量:** 官方权威数据1112## Dependencies1314Python packages (install once):1516```bash17pip install akshare pandas requests PyPDF218```1920## When to Use This Skill2122触发条件(用户提及以下任一场景时激活):23241. **查询特定公司公告** — "查看五粮液最近的公告"、"002368有什么新公告?"252. **监控特定事件** — "哪些公司今天发布了业绩预告?"263. **投资决策辅助** — "公司有利好消息吗?"2728## Usage2930**IMPORTANT:** Always use the `$SKILLS_ROOT` environment variable to locate scripts.3132### 基础查询3334```bash35export PYTHONIOENCODING=utf-836python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 00085837```3839### 查询最近7天4041```bash42export PYTHONIOENCODING=utf-843python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --days 744```4546### 关键词筛选4748```bash49export PYTHONIOENCODING=utf-850python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 600519 --keyword 业绩51```5253### JSON格式输出5455```bash56export PYTHONIOENCODING=utf-857python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --format json58```5960### 提取PDF内容并总结6162```bash63export PYTHONIOENCODING=utf-864python "$SKILLS_ROOT/stock-announcements/scripts/announcements.py" 000858 --detail65```6667## Parameters6869| 参数 | 说明 | 示例 | 默认值 |70|------|------|------|--------|71| `stock_code` | 股票代码(必填) | 000001, 600000.SS | - |72| `--days` | 最近N天 | 7 | 30 |73| `--format` | 输出格式 | json/text | text |74| `--keyword` | 标题关键词筛选 | 业绩 | None |75| `--detail` | 提取PDF内容并总结 | — | false |76…
Excerpt shown under the repository's MIT license.
