ad-announcement-analysis
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ad-announcement-analysis" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f8a0dab309bf69e2c2685c8711a1b6ab0930a9cd4d4cf840679bf45b3aad8919. Verify the upstream source and version against https://skillhub.cn/skills/org-rwhv0nty/ad-announcement-analysis before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Announcement search skill for China Galaxy Securities Xingyao Data Intelligence. Filter announcement lists by category, download PDF originals, and convert them to Markdown for AI reading and analysis. Supports three instrument types: stocks, ETFs, and convertible bonds. Use this skill when a user requests announcement analysis.
Introduction source: third_party · org-rwhv0nty · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Translation pending; see source documentation.
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: ad-announcement-analysis
description: 中国银河证券星耀数智公告搜索技能。按分类筛选公告列表,下载PDF原文,转换为Markdown供AI阅读分析。支持股票/ETF/可转债三种标的类型。用户提出公告分析需求时,使用此skill。公告搜索 Skill
快速上手
- 安装python运行环境(推荐python3.8/3.9/3.10/3.11/3.12/3.13环境),并安装AmazingData依赖包。
从https://gitee.com/cgs2026/xysz clone整个项目,再用xysz_tools下的wheel文件安装tgw和AmazingData。
pip install tgw>=1.0.8.7 pip install AmazingData>=1.1.4 - 联系开户营业部申请账号、密码、服务器IP。
- 设置环境变量:
# Windows CMD set AD_USERNAME=your_username set AD_PASSWORD=your_password set AD_HOST=server_ip set AD_PORT=port
Windows PowerShell
$env:AD_USERNAME="your_username" $env:AD_PASSWORD="your_password" $env:AD_HOST="server_ip" $env:AD_PORT="port"
## 用法
```bash
# 在技能根目录下执行:
cd scripts && python search.py --tag <TAG_ID> [--type stock|fund|bond] [--codes xxx,yyy] [--begin YYYYMMDD] [--pdf]
工作流
- 用户提需求 → AI 打开
references/announcement_categories.md查完整 TAG 分类树 - AI 确定
--tag参数(如 10301=业绩预告, 10408=回购) - 执行
scripts/search.py传入参数 - 不加
--pdf:打印公告标题列表,AI 简要回答 - 加
--pdf:下载 PDF → 转 MD → AI 读取 MD 做深度分析
参数
| 参数 | 说明 | 示例 |
|---|---|---|
--tag |
TAG_ID(必传) | 10301 |
--type |
stock/fund/bond,默认 stock | --type bond |
--codes |
逗号分隔代码,不传=全市场 | --codes 600***.SH,601***.SH |
--begin |
起始日期 YYYYMMDD,默认今年元旦 | --begin 20260601 |
--end |
结束日期 YYYYMMDD,默认今天 | --end 20260716(示例,动态取值) |
--pdf |
下载 PDF 并转为 Markdown | --pdf |
--limit |
最多显示 N 条标题(默认全部) | --limit 50 |
--local |
使用本地缓存数据(默认从服务器拉取最新) | --local |
--local-path |
AD 本地数据根目录 | 默认 D:/AmazingData_local_data/ |
示例
# 全市场股票业绩预告
python scripts/search.py --tag 10301
# 只看前 30 条
python scripts/search.py --tag 10301 --limit 30
# 指定股票,下载PDF转MD
python scripts/search.py --codes 600***.SH,601***.SH --tag 10301 --pdf
# 可转债回购公告
python scripts/search.py --type bond --tag 10408 --begin 20260601
# 全市场股权质押,下载原文
python scripts/search.py --tag 10509 --pdf
# 使用本地缓存(不从服务器拉取)
python scripts/search.py --tag 10301 --local
注意事项
- 所有数据接口调用前必须先通过环境变量配置认证信息,然后调用
ad.login()登录 - 必须设置以下4个环境变量:
AD_USERNAME、AD_PASSWORD、AD_HOST、AD_PORT - 账号、密码、IP和端口需联系开户营业部申请
MarketData实例化时必须传入交易日历:ad.MarketData(base_data.get_calendar())- 支持本地数据缓存(local_path + is_local)和指定日期范围(begin_date + end_date)两种模式,二选一
- AmazingData限制单点登录,所以同一时间只能有一个AmazingData的登录链接
Python环境要求
- Python版本: 3.8-3.14
- 操作系统: Linux/Windows
- 依赖包: tgw>=1.0.8.5, AmazingData>=1.0.24
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决金融信息获取与分析的实际痛点
- 支持股票/ETF/可转债三种标的类型
- 提供PDF下载和Markdown转换功能
Highlights
- 触发词清晰明确:公告分析、公告搜索
- 使用场景描述准确:用户提出公告分析需求时使用
- 边界清晰,不易与其他技能混淆
Highlights
- 文档结构完整,包含快速上手、用法、工作流等
- 参数说明详细,表格形式清晰
- 提供多个端到端示例
Areas to improve
-
缺少异常处理说明 Reported severity: Minor
文档中缺少对网络异常、认证失败等常见异常的处理说明
Recommendation: 建议在注意事项或单独章节补充常见异常的处理方法和错误码说明
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 12, 13
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- gitee.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.