agentsclimarketplace

Stock income all stocks specific period

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/stock-income-all-stocks-specific-period

Get income statement (利润表) for all stocks in a specific reporting period. Use when user asks about 指定报告期利润表, 全市场利润表, all stocks income for a specific year and period.From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill stock-income-all-stocks-specific-period

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

3.5 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it

查询单报告期全市场利润表(分页)

接口说明

项目说明
接口名称查询单报告期所有票利润表
外部接口GET /api/v1/market/data/finance/income
请求方式GET
适用场景获取 A 股指定报告期所有股票的利润表,支持沪深京股票,支持分页

请求参数

说明:year、report_type、page、page_size 为必填项。

参数名类型是否必填描述取值示例备注
yearint是报告所属年度2025必填
report_typestring是报告期类型标识q2q1(一季报)、q2(半年报)、q3(三季报)、annual(全年报)
pageint是页码1从 1 开始
page_sizeint是每页记录数20建议 10–100

执行方式

python scripts/handler.py --year 2025 --report-type q2 --page 1 --page-size 20

响应结构

{
  "items": [ { "stock_code", "stock_name", "year", "report_type", "report_type_cn", "publish_date", "report_form_type", "t_revenue", "n_profit", ... } ],
  "total_pages": 283,
  "total_items": 5652
}

字段说明(IncomeItem)

字段名类型是否可为空说明单位
stock_codeString否股票交易代码,带 .SZ/.SH/.BJ 后缀-
stock_nameString否上市公司股票名称-
yearint否报告所属年度-
report_typeString否报告期类型:q1/q2/q3/annual-
report_type_cnString否报告期类型中文:一季报/半年报/三季报/年报-
publish_dateString否报告发布日期,YYYY-MM-DD-
report_form_typeString否报表类型:合并未调整/合并调整-
t_revenuefloat否营业总收入元
t_revenue_yoyfloat是营业总收入同比增长率,无上期时为 null%
costfloat否营业支出(主营业务成本)元
cost_yoyfloat是主营业务成本同比增长率%
t_costfloat否营业总支出元
t_cost_yoyfloat是营业总支出同比增长率%
sale_expensefloat否销售费用元
sale_expense_yoyfloat是销售费用同比增长率%
manag_expensefloat否管理费用元
manag_expense_yoyfloat是管理费用同比增长率%
financial_costfloat否财务费用元
financial_cost_yoyfloat是财务费用同比增长率%
profitfloat否营业利润元
profit_yoyfloat是营业利润同比增长率%
t_profitfloat否利润总额元
t_profit_yoyfloat是利润总额同比增长率%
n_profitfloat否净利润元
n_profit_yoyfloat是净利润同比增长率%
parcomp_n_profitfloat否扣非归母净利润元
parcomp_n_profit_yoyfloat是扣非归母净利润同比增长率%

注意事项

  • report_type 取值:q1(一季报)、q2(半年报)、q3(三季报)、annual(年报)。
  • 需要全量数据时,按 page 递增请求直到 page > total_pages。

What ships with it: 1 file

2.0 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.