agentsclimarketplace

Stock goodwill detail

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/stock-goodwill-detail

Get goodwill detail (商誉明细) for all stocks in a specific year. Use when user asks about 商誉, 商誉明细, 商誉规模, 商誉占净资产比例, goodwill.From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill stock-goodwill-detail

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

SKILL.md

2.6 KB, 817 tokens by cl100k_base, as published. Nobody here has run it

查询个股商誉明细

接口说明

项目说明
接口名称查询个股商誉明细
外部接口GET /api/v1/market/data/goodwill/stock-detail
请求方式GET
适用场景查询个股的商誉规模、商誉占净资产比例、净利润同比变化等明细数据

请求参数

说明:date 为必填项。

参数名类型是否必填描述取值示例备注
datestring是报告期日期20251231格式 YYYYMMDD,按年份范围过滤,如 20251231 查询 2025 全年

执行方式

python scripts/handler.py --date 20251231

响应结构

{
  "code": 0,
  "message": "success",
  "data": {
    "pageNum": 1,
    "pageSize": 50,
    "total": 2676,
    "pages": 54,
    "records": [
      {
        "seq": 0,
        "security_code": "300860",
        "security_name": "锋尚文化",
        "goodwill_scale": "28235811.5900",
        "goodwill_to_net_assets_ratio": "0.00898123",
        "net_profit_scale": "-16592410.5300",
        "net_profit_yoy_ratio": "-1.39720928",
        "goodwill_previous": "28235811.5900",
        "notice_date": "2026-05-13 00:00:00",
        "trade_board": "cyb"
      }
    ]
  }
}

字段说明(GoodwillStockDetailItem)

字段名类型是否可为空说明
seqint否序号
security_codestring否证券代码
security_namestring是证券简称
goodwill_scalestring是商誉规模(元)
goodwill_to_net_assets_ratiostring是商誉占净资产比例
net_profit_scalestring是净利润规模(元)
net_profit_yoy_ratiostring是净利润同比变化率
goodwill_previousstring是上期商誉(元)
notice_datestring是公告日期,格式 YYYY-MM-DD HH:MM:SS
trade_boardstring是交易板块(sh/sz/cyb/star/bj/hk)

注意事项

  • date 格式为 YYYYMMDD,按年份范围过滤(如 20251231 查询 2025 全年数据)
  • 金额字段均为 Decimal 类型,以字符串形式返回以保持精度
  • notice_date 大部分常规商誉记录为 null,仅减值相关记录有公告日期
  • trade_board 取值:sh(上交所主板)、sz(深交所主板)、cyb(创业板)、star(科创板)、bj(北交所)、hk(港股)

What ships with it: 1 file

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