agentsclimarketplace

Stock share

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/stock-share

获取单票指定日期股本信息。当用户需要查询某只 A 股股票在某日的总股本、A 股流通/限售/无限售股本、B 股股本、H 股股本、境外上市股本等股本快照时使用。From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill stock-share

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

SKILL.md

4.0 KB, 990 tokens by cl100k_base, as published. Nobody here has run it

获取单票指定日期股本信息

接口说明

项目说明
接口名称获取单票指定日期股本信息
外部接口/api/v1/market/data/share/get-stock-share
请求方式GET
适用场景按日期快照查询单票股本结构

请求参数

参数名类型是否必填描述取值示例备注
stock_codestring是单个股票代码000001.SZ支持 6 位数字+后缀(SH/SZ/BJ)
datestring是日期 YYYYMMDD20260716按指定日期快照查询

执行方式

通过根目录的 run.py 调用(推荐):

python <RUN_PY> stock-share --stock_code 000001.SZ --date 20260716

<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径。

响应结构

返回分页结构(items/total_pages/total_items),命中时仅返回 1 条;未命中 items 为空数组。

{
    "items": [
        {
            "stock_code": "000001.SZ",
            "stock_name": "平安银行",
            "totshare_num": "19405918198",
            "ashare_circ_num": "19405918198",
            "ashare_circ_limit_num": "317545",
            "ashare_circ_unlimit_num": "19405600653",
            "bshare_num": "0",
            "bshare_circ_num": "0",
            "bshare_uncirc_num": "0",
            "hshare_num": "0",
            "osshare_num": "0",
            "share_circ_num": "19405918198"
        }
    ],
    "total_pages": 1,
    "total_items": 1
}

顶层字段说明

字段名类型是否可为空说明
itemsArray否股本信息列表
total_pagesint否总页数
total_itemsint否总记录数

items 元素字段

字段名类型是否可为空说明
stock_codestring否股票代码
stock_namestring否股票名称
totshare_numstring否总股本
ashare_circ_numstring否A 股流通股本
ashare_circ_limit_numstring否A 股限售流通股本
ashare_circ_unlimit_numstring否A 股无限售流通股本
bshare_numstring否B 股股本
bshare_circ_numstring否B 股流通股本
bshare_uncirc_numstring否B 股非流通股本
hshare_numstring否H 股股本
osshare_numstring否境外上市股本
share_circ_numstring否流通股本合计

注意事项

  • stock_code 与 date 均必填,date 格式 YYYYMMDD。
  • 未命中数据时 items 为空数组。
  • 金额/股数字段以字符串返回,保持精度。

What ships with it: 2 files

3.2 KB alongside SKILL.md, 2 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.