Stock performance express all stocks specific period
FTShare Agent Skills for financial data and investment research workflows|金融数据 Skill 与投研业务 Skill 仓库。
npx -y skills add FTShare-Lab/FTShare-skills --skill stock-performance-express-all-stocks-specific-periodAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 17 stars17 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
1.2 KB, 350 tokens by cl100k_base, as published. Nobody here has run it
查询指定报告期全市场业绩快报(分页)
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
--year | int | 是 | 报告所属年度 | 2024 |
--report-type | string | 是 | 报告期类型: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
脚本输出带分页信息的 JSON,每项含 stock_code、stock_name、eps、total_revenue、net_profit、roe 等字段,以表格展示给用户。
注意
report-type取值:q1(一季报)、q2(半年报)、q3(三季报)、annual(年报)- 需要全量数据时,循环请求直到
page > total_pages
What ships with it: 1 file
2.1 KB alongside SKILL.md, 1 of them executable
scripts/
- handler.pyruns2.1 KB