agentsclimarketplace

Stock cashflow single stock all periods

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/stock-cashflow-single-stock-all-periods

Get all periods' cash flow statement (现金流量表) for a single stock. Use when user asks about 现金流量表, 单只股票现金流量表, cash flow statement, single stock all report periods.From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill stock-cashflow-single-stock-all-periods

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.1k tokens by cl100k_base, as published. Nobody here has run it

查询单只股票所有报告期现金流量表

接口说明

项目说明
接口名称查询单票所有报告期现金流量表
外部接口GET /api/v1/market/data/finance/cashflow
请求方式GET
适用场景获取 A 股上市公司单只股票所有报告期的现金流量表,支持沪深京股票

请求参数

参数名类型是否必填描述取值示例备注
stock_codestring是单个股票代码603323.SHA 股需为 6 位数字+后缀(SH/SZ/BJ),单次仅支持一个代码

执行方式

python scripts/handler.py --stock-code 603323.SH

响应结构

返回报表信息数组及分页信息:

{
  "items": [ { "stock_code", "stock_name", "year", "report_type", "report_type_cn", "publish_date", "detail_report_type", "cash_equ_inc", ... } ],
  "total_pages": 1,
  "total_items": 21
}

字段说明(CashflowItem)

字段名类型是否可为空说明单位
stock_codeString否股票交易代码,带 .SZ/.SH/.BJ 后缀-
stock_nameString否上市公司股票名称-
yearint否报告所属年度-
report_typeString否报告期类型:q1/q2/q3/annual-
report_type_cnString否报告期类型中文:一季报/半年报/三季报/年报-
publish_dateString否报告发布日期,YYYY-MM-DD-
detail_report_typeString否报告明细类型:合并未调整/合并调整-
cash_equ_incfloat否现金及现金等价物净增加额(核心净现金流)元
cash_equ_inc_yoyfloat是净现金流同比增长率,无上期时为 null%
net_oper_cash_flowfloat否经营活动产生的现金流量净额元
net_oper_cash_flow_ratiofloat是经营性现金流量净额占净现金流比例%
goods_sale_render_service_cashfloat否销售商品、提供劳务收到的现金元
goods_sale_render_service_cash_ratiofloat是销售商品、提供劳务收到现金占净现金流比例%
net_invest_cash_flowfloat否投资活动产生的现金流量净额元
net_invest_cash_flow_ratiofloat是投资性现金流量净额占净现金流比例%
invest_proceedsfloat否取得投资收益收到的现金元
invest_proceeds_ratiofloat是取得投资收益收到现金占净现金流比例%
fix_intan_long_pay_cashfloat否购建固定资产、无形资产等长期资产支付的现金元
fix_intan_long_pay_cash_ratiofloat是购建长期资产支付现金占净现金流比例%
net_fin_cash_flowfloat否筹资活动产生的现金流量净额元
net_fin_cash_flow_ratiofloat是融资性现金流量净额占净现金流比例%

注意事项

  • 股票代码格式:6 位数字 + 市场后缀(SH=上交所,SZ=深交所,BJ=北交所),单次仅支持一个代码。
  • report_type 取值:q1(一季报)、q2(半年报)、q3(三季报)、annual(年报)。
  • 金额类字段单位为元;比率类字段单位为 %,可为 null。

What ships with it: 1 file

1.5 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.