跳转至

← 返回接口目录

F10-新闻公告路演

作用

查询新闻、公告、路演缓存列表。

项目 内容
通用调用 client.f10.cache_list(code, kind=...)
新闻 client.f10.news(code)
公告 client.f10.announcements(code)
路演 client.f10.roadshows(code)
底层 Entry CWSearch.tzx_rcache
返回模型 F10Response

示例

from eltdx import F10Client

f10 = F10Client(timeout=3)
news = f10.news("000034")
notices = f10.announcements("000034")
roadshows = f10.roadshows("000034")

print(news.rows[:5])
print(notices.rows[:5])
print(roadshows.rows[:5])

参数

参数 含义
code 证券代码
kind xw 新闻、gg 公告、ly 路演

请求对照

f10.announcements("000034")

实际请求:

Entry = "CWSearch.tzx_rcache"
body = {"action": "get", "key": "gg:0_000034", "bin": "1", "qsid": "tdx"}

返回示例

notices.rows[0]
# {
#     "issue_date": "2026-05-26 00:00:00",
#     "title": "公告标题",
#     "tableid": "tb_gg_abg",
#     "rec_id": "1225329064",
#     "typecode": "0117",
#     "typename": "公告类型",
#     "url": "http://data.tdx.com.cn/tdxfiles/pdf_abg_sz/202605/1225329064.pdf",
#     "redistime": "2026-05-25 18:27:27",
#     "source": "交易所"
# }

字段对照

公告 kind="gg" 常用字段:

原生字段 中文含义
issue_date 发布日期
title 标题
tableid 来源表
rec_id 记录 ID
typecode 公告类型代码
typename 公告类型名称
url PDF / 附件地址
redistime 入库 / 分发时间
source 来源

新闻 kind="xw" 常用字段:issue_datetitletableidrec_idredistimesourcerelatecolumn。路演 kind="ly" 常用字段:titleroadshow_typestart_datestart_timeend_timesummaryurl

key 里的 0_000034 来自市场编号和六位代码,sz=0sh=1bj=2