agentsclimarketplace

Cb lists

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/cb-lists

可转债全量列表(market.ft.tech)。用户问可转债列表、全部可转债、转债代码列表、有哪些可转债时使用。From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill cb-lists

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

2 things to look at

  • runs commandsInstructs the agent to run 1 command, including `python <RUN_PY> cb-lists`.
  • fetches URLsInstructs the agent to fetch 1 URL, including /api/v1/market/data/cb/cb-lists.

SKILL.md

1.9 KB, 634 tokens by cl100k_base, as published. Nobody here has run it

可转债列表 - 获取可转债列表

1. 接口描述

项目说明
接口名称获取可转债列表
外部接口GET /api/v1/market/data/cb/cb-lists
请求方式GET
适用场景获取当前可转债全量列表(全称、债券代码、正股代码、交易所);仅包含通过可转债号段判断的标的,数据为前一交易日

2. 请求参数

说明:该接口无需请求参数。

参数名类型是否必填描述取值示例备注
---无需参数--

3. 响应说明

返回可转债列表;无数据时 items 为空数组 []

{
  "items": [
    {
      "full_name": "恒逸石化股份有限公司可转换公司债券",
      "cb_id": 110070,
      "stock_id": 703,
      "exchange": 1
    },
    {
      "full_name": "浙江伟明环保股份有限公司可转换公司债券",
      "cb_id": 113643,
      "stock_id": 603568,
      "exchange": 1
    }
  ]
}

CbListsItem 字段

字段名类型是否可为空说明单位
full_namestring债券全称-
cb_idint债券代码-
stock_idint转债对应正股代码-
exchangeint交易所-

4. 用法

通过主目录 run.py 调用(无需参数):

python <RUN_PY> cb-lists

<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径。脚本输出 JSON;本接口无需额外请求头。

5. 请求示例

GET /api/v1/market/data/cb/cb-lists

6. 注意事项

  • 数据为前一交易日可转债列表,具体以接口返回为准
  • 无数据时返回 {"items": []}

What ships with it: 1 file

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