ETF 公告列表

SkillDocs & knowledge

Query the list of ETF announcements (etf_announcements). Use when the user asks about ETF announcements, fund announcements, ETF interim/annual report announcements, market-wide ETF announcements by date, or announcement PDF download links.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the ETF 公告列表 skill

What this skill tells your AI

The instructions your AI receives, as published by ftshare-lab/ftshare-skill in ftshare-market-data/sub-skills/etf-announcements/SKILL.md and read by ahel’s review.

1. 接口描述

项目说明
接口名称ETF 公告列表(etf_announcements)
外部接口GET /api/v2/market/data/announcements/etf-announcements
请求方式GET(query 参数)
适用场景按标的查单只 ETF 全部公告,或按单日日期查全市场 ETF 公告;公告正文 PDF 可按返回的 url_hash 另行下载

两种模式二选一:

  1. 按标的:传 etf_code,查单只 ETF 所有公告。
  2. 按日期:传 start_date(必须等于 end_date,仅支持单日),查指定日期全市场 ETF 公告。

2. 请求参数

参数名类型是否必填描述取值示例备注
etf_codestring二选一ETF 代码159915支持裸代码/短后缀/长后缀(159915.SZ510300.XSHG),大小写不敏感
start_datestring二选一日期20260831YYYYMMDD;按日期查询时必填,仅支持单日
end_datestring日期20260831不填默认等于 start_date,且必须等于 start_date
pageint页码1必填
page_sizeint每页条数5必填
--all-自动翻页拉全量-仅本子 skill 扩展参数

3. 响应说明

外层固定为 code / message / datadata 为分页对象:pageNum / pageSize / total / pages / records

records 元素:

字段名类型说明
etf_codestringETF 代码,6 位裸代码,不带交易所后缀
etf_namestringETF 名称
announcement_idstring公告 id
announcement_titlestring公告标题
announcement_timestring公告时间,格式 YYYY-MM-DD HH:MM:SS
url_hashstring公告文件 URL 哈希,用于下载正文文件

4. 调用方式

python <RUN_PY> etf-announcements --etf-code 159915 --page 1 --page-size 5
python <RUN_PY> etf-announcements --start-date 20260831 --page 1 --page-size 20
python <RUN_PY> etf-announcements --etf-code 159915 --page 1 --page-size 20 --all

<RUN_PY> 为主 SKILL.md 同级 run.py 的绝对路径。输出 JSON;HTTP 错误输出到 stderr 并以非零状态退出。

5. 注意事项

  • 必须提供 etf_codestart_date 之一,否则服务端报错(handler 会本地校验并拒绝)。
  • 按日期查询仅支持单日:end_date 不填默认等于 start_date,填了则必须相等。
  • ETF 范围为场内 ETF,不含联接基金、LOF。
  • 公告正文下载:GET /api/v2/market/data/announcements/etf-announcements/{url_hash},响应为 PDF 二进制附件;url_hash 须取自本接口返回值,勿硬编码。
  • 当前数据源仅覆盖深市 ETF(159 开头);查询沪市代码会返回空列表。

Signals

GitHub stars
64
Forks
13
Last commit
Sep 2026

ahel review

  • K6low
    bundled executables the agent is told to run

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Catalog kind
skill
Gateway key
etf-announcements
Source
github.com/ftshare-lab/ftshare-skill