← Back to Skills Marketplace
shawn92

Skills of convertible bond data released by ft.tech.

by Shawn92 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
383
Downloads
46
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install ftshare-cb-data
Description
A 股可转债数据技能集(market.ft.tech)。覆盖可转债全量列表、单只可转债基础信息(转股价、转股价值、到期日、发行规模等)、单标的历史 K 线(支持可转债)。用户询问可转债列表、某只转债详情、转股价/转股价值、转债 K 线/历史行情时使用。
README (SKILL.md)

FT 可转债数据 Skills

本 skill 是 FTShare-cb-data统一路由入口

根据用户问题,从下方「能力总览」或「询问方式与子 skill 对应表」匹配对应子 skill,然后通过 run.py 执行并解析响应。

所有接口均以 https://market.ft.tech 为基础域名,本技能集子 skill 无需额外请求头。


调用方式(唯一规则)

run.py 与本文件(SKILL.md)位于同一目录。执行时:

  1. 取本文件的绝对路径,将末尾 /SKILL.md 替换为 /run.py,得到 \x3CRUN_PY>
  2. 调用:python \x3CRUN_PY> \x3C子skill名> [参数...]
# 示例(\x3CRUN_PY> 为实际绝对路径)
python \x3CRUN_PY> cb-lists
python \x3CRUN_PY> cb-base-data --symbol_code 110070.SH
python \x3CRUN_PY> cb-candlesticks --symbol 110070.XSHG --interval-unit Day --since-ts-millis 1767225600000 --until-ts-millis 1780272000000 --limit 10
python \x3CRUN_PY> get-nth-trade-date --n 5

run.py 内部通过 __file__ 自定位,无论安装在何处都能正确找到各子 skill 的脚本。


可转债 — 询问方式与子 skill 对应表

询问方式(用户常说的词) 子 skill
可转债列表全部可转债转债代码列表有哪些可转债、可转债标的 cb-lists
某只可转债基础信息转债详情110070 转债转股价/转股价值、到期日、发行规模 cb-base-data
可转债 K 线转债日线/周线/分钟线转债历史行情单标的历史 K 线(支持转债) cb-candlesticks
前 N 个交易日近 N 天交易日往前推 N 个交易日(查近几天 K 线时先调此接口再转时间戳) get-nth-trade-date

能力总览

  • get-nth-trade-date:获取当前日期的前 N 个交易日。必填:--n(≥1)。查「近 N 天」K 线时先调本接口得到 nth_trade_date,再按东八区转为毫秒时间戳用于 K 线接口。
  • cb-lists:获取可转债全量列表(全称、债券代码、正股代码、交易所)。无参数;数据为前一交易日。
  • cb-base-data:查询单只可转债基础信息(简称、全称、正股代码、转股价、转股价值、转股溢价率、起息日/到期日、发行规模等,数据为前一交易日)。必填:--symbol_code(转债代码,可带交易所后缀如 110070.SH)。
  • cb-candlesticks:查询单标的历史 K 线(支持可转债及 A 股)。必填:--symbol(带交易所后缀,如 110070.XSHG)、--interval-unit(Minute/Minute5/Day/Week/Month/Year)、--since-ts-millis--until-ts-millis;可选:--interval-value--limit--adjust-kind(null/Forward/Backward)。

使用流程

  1. 记录本文件绝对路径,将 /SKILL.md 替换为 /run.py 得到 \x3CRUN_PY>
  2. 理解用户意图,从「询问方式与子 skill 对应表」或「能力总览」匹配子 skill 名称。
  3. (可选)读取 sub-skills/\x3C子skill名>/SKILL.md 了解接口与参数。
  4. 执行python \x3CRUN_PY> \x3C子skill名> [参数...],获取 JSON 输出。
  5. 解析并输出:以表格或要点形式展示给用户。
Usage Guidance
This skill appears internally consistent: it executes local handler scripts that call https://market.ft.tech to fetch convertible-bond data and does not request secrets or install software. Before installing, confirm you trust the source and the market.ft.tech domain (the skill will make network requests to it). Also ensure the skill files come from a trusted publisher because run.py executes the local sub-skill scripts—if those files were tampered with, they could perform other actions. If you need stricter control, run the scripts in an isolated environment or review the handler code line-by-line (the repository is short and readable).
Capability Analysis
Type: OpenClaw Skill Name: ftshare-cb-data Version: 1.0.2 The skill bundle is a legitimate toolset for retrieving A-share convertible bond data from the 'market.ft.tech' API. It features a modular design with a central dispatcher (run.py) that employs a whitelist to prevent path traversal when executing sub-skill handlers (e.g., cb-base-data, cb-candlesticks). The code uses standard Python libraries for network requests and argument parsing, showing no evidence of data exfiltration, malicious execution, or harmful prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the code and SKILL.md: all handlers call https://market.ft.tech endpoints to fetch convertible-bond lists, base data, candlesticks, or trade-date info. No unrelated binaries, env vars, or services are requested.
Instruction Scope
SKILL.md instructs the agent to execute run.py which in turn runs local handler scripts; those handlers only build HTTP requests to market.ft.tech and print JSON. They do not read arbitrary files, access extra env vars, or transmit data to other endpoints. Note: the skill runs local Python scripts (sub-skills) via subprocess, which is expected for this architecture.
Install Mechanism
No install spec or external downloads. The skill is instruction+script based and relies on standard Python library (urllib); nothing is written to disk at install time beyond the existing files.
Credentials
The skill declares no required environment variables, credentials, or config paths. All HTTP calls are unauthenticated to the documented market.ft.tech endpoints, matching the stated purpose.
Persistence & Privilege
always is false and the skill does not modify other skills or system-wide settings. The skill can be invoked autonomously (default), which is normal for skills; this combined with no broad credentials keeps risk low.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ftshare-cb-data
  3. After installation, invoke the skill by name or use /ftshare-cb-data
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- 新增 `cb-candlesticks` 子技能,支持可转债及 A 股的单标的历史 K 线查询 - 新增 `get-nth-trade-date` 子技能,用于获取前 N 个交易日(辅助查询近 N 天 K 线) - 更新描述和能力总览,支持可转债历史行情及 N 日交易日前置查询 - 扩展「询问方式与子 skill 对应表」及调用示例,覆盖 K 线与日历查询场景
v1.0.1
- 新增 `cb-candlesticks` 子技能,支持查询单标的历史 K 线(可转债/股票均可),覆盖日线、周线、分钟线等多种周期。 - 新增 `get-nth-trade-date` 子技能,支持获取指定数量的前 N 个交易日,便于快捷获取 K 线时间范围。 - 更新文档,详细补充各子技能的用途、参数说明及调用方式示例。 - 扩展用户可查询范围,现支持可转债相关历史行情与交易日日历功能。
v1.0.0
Initial release of FTShare-cb-data — unified A-share convertible bond data skills. - Provides access to a full list of convertible bonds and detailed base info for individual bonds (e.g., conversion price, value, maturity date, issue size). - Simple invocation: determine user intent, match to sub skill (`cb-lists` for list, `cb-base-data` for detail), and execute via standardized command. - No need for extra request headers; all endpoints are based on `https://market.ft.tech`. - Output is structured for easy user consumption (table or bullet points). - Enables modular skill extension by child scripts for each specific function.
Metadata
Slug ftshare-cb-data
Version 1.0.2
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

What is Skills of convertible bond data released by ft.tech.?

A 股可转债数据技能集(market.ft.tech)。覆盖可转债全量列表、单只可转债基础信息(转股价、转股价值、到期日、发行规模等)、单标的历史 K 线(支持可转债)。用户询问可转债列表、某只转债详情、转股价/转股价值、转债 K 线/历史行情时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 383 downloads so far.

How do I install Skills of convertible bond data released by ft.tech.?

Run "/install ftshare-cb-data" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Skills of convertible bond data released by ft.tech. free?

Yes, Skills of convertible bond data released by ft.tech. is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Skills of convertible bond data released by ft.tech. support?

Skills of convertible bond data released by ft.tech. is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Skills of convertible bond data released by ft.tech.?

It is built and maintained by Shawn92 (@shawn92); the current version is v1.0.2.

💬 Comments