File contents 查询指定日期全市场股票公告(分页)
接口说明
项目
说明
接口名称
指定日期全市场股票公告
外部接口
/data/api/v1/market/data/announcements/stock-announcements
请求方式
GET
适用场景
获取指定交易日全市场 A 股公告列表,支持分页,含公告标题、发布时间、url_hash 等
请求参数
参数名
类型
是否必填
描述
取值示例
备注
start_date
string
是
查询日期,格式 YYYYMMDD,仅支持单日
20241231
与 end_date 同值表示单日
end_date
string
是
结束日期,单日查询时与 start_date 相同
20241231
-
type
string
是
固定为 stock
stock
-
page
int
否
页码,从 1 开始
1
默认 1
page_size
int
否
每页记录数
20
默认 20
执行方式
通过根目录的 run.py 调用(推荐):
python <RUN_PY> stock-announcements-all-stocks-specific-date --start-date 20241231 --page 1 --page-size 20
<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径,参见主 SKILL.md 的「调用方式」说明。
响应结构
{
"items": [
{
"stock_code": "000001.SZ",
"stock_name": "平安银行",
"announcement_id": "1225004736",
"announcement_title": "关于股东减持股份计划期间届满暨减持结果的公告",
"announcement_time": "2026-03-11 16:54:28",
"column_type": "stock",
"url_hash": "169f21a0b04aa7291c3a963a8c80542641ea6cd5..."
}
],
"total_pages": 2,
"total_items": 31
}
字段说明(items 元素)
字段名
类型
是否可为空
说明
单位
stock_code
String
否
股票代码,带 .SZ/.SH/.BJ 后缀
-
stock_name
String
否
股票名称
-
announcement_id
String
否
公告 ID
-
announcement_title
String
否
公告标题
-
announcement_time
String
否
发布时间
-
column_type
String
否
类型,如 stock
-
url_hash
String
否
用于下载公告 PDF,可调用 stock-announcements-specific-url-hash
-
注意事项
日期格式为 YYYYMMDD(如 20241231)
需要下载公告 PDF 时,使用 url_hash 调用 stock-announcements-specific-url-hash
需要全量数据时,循环请求直到 page > total_pages
1 --- 2 name: stock-announcements-all-stocks-specific-date 3 description: 查询指定日期全市场股票公告(分页) 4 --- 5 # 查询指定日期全市场股票公告(分页) 6 7 ## 接口说明 8 9 | 项目 | 说明 | 10 |---|---| 11 | 接口名称 | 指定日期全市场股票公告 | 12 | 外部接口 | `/data/api/v1/market/data/announcements/stock-announcements` | 13 | 请求方式 | GET | 14 | 适用场景 | 获取指定交易日全市场 A 股公告列表,支持分页,含公告标题、发布时间、url_hash 等 | 15 16 ## 请求参数 17 18 | 参数名 | 类型 | 是否必填 | 描述 | 取值示例 | 备注 | 19 |---|---|---|---|---|---| 20 | `start_date` | string | 是 | 查询日期,格式 YYYYMMDD,仅支持单日 | `20241231` | 与 end_date 同值表示单日 | 21 | `end_date` | string | 是 | 结束日期,单日查询时与 start_date 相同 | `20241231` | - | 22 | `type` | string | 是 | 固定为 `stock` | `stock` | - | 23 | `page` | int | 否 | 页码,从 1 开始 | `1` | 默认 1 | 24 | `page_size` | int | 否 | 每页记录数 | `20` | 默认 20 | 25 26 ## 执行方式 27 28 通过根目录的 `run.py` 调用(推荐): 29 30 ```bash 31 python <RUN_PY> stock-announcements-all-stocks-specific-date --start-date 20241231 --page 1 --page-size 20 32 ``` 33 34 > `<RUN_PY>` 为主 `SKILL.md` 同级的 `run.py` 绝对路径,参见主 SKILL.md 的「调用方式」说明。 35 36 ## 响应结构 37 38 ```json 39 { 40 "items": [ 41 { 42 "stock_code": "000001.SZ", 43 "stock_name": "平安银行", 44 "announcement_id": "1225004736", 45 "announcement_title": "关于股东减持股份计划期间届满暨减持结果的公告", 46 "announcement_time": "2026-03-11 16:54:28", 47 "column_type": "stock", 48 "url_hash": "169f21a0b04aa7291c3a963a8c80542641ea6cd5..." 49 } 50 ], 51 "total_pages": 2, 52 "total_items": 31 53 } 54 ``` 55 56 ### 字段说明(items 元素) 57 58 | 字段名 | 类型 | 是否可为空 | 说明 | 单位 | 59 |---|---|---|---|---| 60 | `stock_code` | String | 否 | 股票代码,带 .SZ/.SH/.BJ 后缀 | - | 61 | `stock_name` | String | 否 | 股票名称 | - | 62 | `announcement_id` | String | 否 | 公告 ID | - | 63 | `announcement_title` | String | 否 | 公告标题 | - | 64 | `announcement_time` | String | 否 | 发布时间 | - | 65 | `column_type` | String | 否 | 类型,如 stock | - | 66 | `url_hash` | String | 否 | 用于下载公告 PDF,可调用 stock-announcements-specific-url-hash | - | 67 68 ## 注意事项 69 70 - 日期格式为 YYYYMMDD(如 20241231) 71 - 需要下载公告 PDF 时,使用 `url_hash` 调用 `stock-announcements-specific-url-hash` 72 - 需要全量数据时,循环请求直到 `page > total_pages`
dvcrn/openclaw-skills-marketplace/tree/main/plugins/shawn92--ftshare-announcement-data/skills/ftshare-announcements-data/sub-skills/stock-announcements-all-stocks-specific-date commit 534d7c1050
Frequently asked questions How do I install the Stock Announcements All Stocks Specific Date skill? Run npx skillmds@latest add dvcrn/stock-announcements-all-stocks-specific-date in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Stock Announcements All Stocks Specific Date skill do? 查询指定日期全市场股票公告(分页) It is listed under Coding & Dev Tools on SkillMD.
Is Stock Announcements All Stocks Specific Date safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: CAUTION, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Stock Announcements All Stocks Specific Date? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Stock Announcements All Stocks Specific Date free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Stock Announcements All Stocks Specific Date? dvcrn (@dvcrn) published this skill. Their other Agent Skills are listed on their SkillMD profile.