Stock Performance Express All Stocks Specific Period

Get performance express (业绩快报) for all stocks in a specific reporting period. Use when user asks about 指定报告期业绩快报, 全市场业绩快报, all stocks performance express for a specific year and period.

FTShare-Lab Updated 64 repo stars
FTShare Skill,让 Agent 理解问题并调用金融数据与特色因子

File contents

查询指定报告期全市场业绩快报(分页)

参数

参数 类型 必填 说明 示例
--stock-code string 否 股票代码(模式A);不传则按模式B 用 --year+--report-type 查全市场 000001.SZ
--year int 否 报告所属年度(模式B 必填) 2024
--report-type string 否 报告期类型(模式B 必填):q1/q2/q3/annual annual
--page int 否 页码,从 1 开始(默认 1) 1
--page-size int 否 每页记录数(默认 20) 20

用法

从用户问题中提取年度和报告期类型,执行:

python scripts/handler.py --year 2024 --report-type annual --page 1 --page-size 20

查单票全部报告期(模式A,不分页):

python scripts/handler.py --stock-code 000001.SZ

脚本输出带分页信息的 JSON,每项含 stock_code、stock_name、eps、total_revenue、net_profit、roe 等字段,以表格展示给用户。

注意

  • report-type 取值:q1(一季报)、q2(半年报)、q3(三季报)、annual(年报)
  • 需要全量数据时,循环请求直到 page > total_pages

调用示例

python <RUN_PY> stock-performance-express-all-stocks-specific-period --year 2025 --report-type annual --page 1 --page-size 5

FTShare-Lab/FTShare-skill commit 8d43f978f4

Frequently asked questions

npx get-skill add ftshare-lab/stock-performance-express-all-stocks-specific-period