← 返回 Skills 市场
shawn92

Skills of A-share market data released by ft.tech.

作者 Shawn92 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
794
总下载
60
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ftai-market-data
功能描述
非凸科技A股市场数据技能集。覆盖 A 股股票列表、实时行情、IPO信息、大宗交易、融资融券、个股详情与估值等接口。
使用说明 (SKILL.md)

FT AI Market Data Skills

本 skill 是 ftai-market-data统一路由入口

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

所有接口均以 https://market.ft.tech 为基础域名,使用 HTTP GET。


调用方式(唯一规则)

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

  1. 取本文件的绝对路径,将末尾 /SKILL.md 替换为 /run.py,得到 \x3CRUN_PY>
  2. 调用:python \x3CRUN_PY> \x3C子skill名> [参数...]
# 示例(\x3CRUN_PY> 为实际绝对路径)
python \x3CRUN_PY> stock-list-all-stocks
python \x3CRUN_PY> stock-ipos --page 1 --page_size 20
python \x3CRUN_PY> stock-ipos --all
python \x3CRUN_PY> block-trades
python \x3CRUN_PY> margin-trading-details --page 1 --page_size 20
python \x3CRUN_PY> margin-trading-details --all

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


能力总览

1. 股票数据(A 股)

  • stock-list-all-stocks:获取全部 A 股股票的代码和名称列表(沪深京),自动返回最新交易日数据。无需任何参数。

  • stock-quotes-list:查询 A 股行情列表(分页),支持按板块筛选、多字段排序。必填参数:--order_by--page_no--page_size;可选 --filter--masks。请求头需携带 X-Client-Name: ft-web(脚本已内置)。

  • stock-ipos:获取 A 股 IPO 列表,含发行价格、发行数量、申购日期、上市日期等,支持分页查询。必填参数:--page--page_size;支持 --all 自动翻页拉取全量数据。

  • block-trades:查询 A 股大宗交易列表,含买卖方营业部、成交价、成交量、溢价率等。无需任何参数,直接返回数组。

  • margin-trading-details:获取 A 股融资融券明细列表,含融资余额、融资买入额、融资偿还额、融券余量等,按融资净买入额降序排列,支持分页查询。必填参数:--page--page_size;支持 --all 自动翻页拉取全量数据。

  • stock-security-info:查询单只股票的实时行情与估值指标,含开高低收、多周期涨跌幅、市盈率、市净率、每股净资产等。必填参数:--symbol(带市场后缀,如 600519.SH)。接口域名为 https://ftai.chat


使用流程

  1. 记录本文件绝对路径,将 /SKILL.md 替换为 /run.py 得到 \x3CRUN_PY>
  2. 理解用户意图,从「能力总览」匹配对应子 skill 名称。
  3. (可选)读取 \x3CRUN_PY> 同级目录 sub-skills/\x3C子skill名>/SKILL.md 了解接口详情与参数。
  4. 执行python \x3CRUN_PY> \x3C子skill名> [参数...],获取 JSON 输出。
  5. 解析并输出:以表格或要点形式展示给用户。

子 skill 与用户问法示例

用户问法示例 子 skill 名
「列出所有 A 股股票」 stock-list-all-stocks
「A 股有哪些股票代码?」 stock-list-all-stocks
「获取全市场股票列表」 stock-list-all-stocks
「A 股行情列表、按涨跌幅排序、分页」 stock-quotes-list
「科创板/创业板股票行情列表」 stock-quotes-list
「查看 A 股 IPO 列表」 stock-ipos
「最近有哪些新股上市?」 stock-ipos
「查询某只股票的发行价格 / 申购日期」 stock-ipos
「查看今天的大宗交易记录」 block-trades
「哪些股票有大宗交易?买卖方是谁?」 block-trades
「大宗交易溢价率最高的是哪只?」 block-trades
「融资净买入最多的股票有哪些?」 margin-trading-details
「查看最新的融资融券明细数据」 margin-trading-details
「哪只股票融资余额最高?」 margin-trading-details
「查一下贵州茅台的股价」 stock-security-info
「000001.SZ 的市盈率是多少?」 stock-security-info
「某只股票的市值、涨跌幅、估值」 stock-security-info
安全使用建议
This skill appears to be a straightforward market-data wrapper that issues HTTP GETs to https://market.ft.tech and one endpoint at https://ftai.chat and returns JSON. Before installing, confirm you trust those domains and the skill author (source/homepage unknown). If you operate in a sensitive environment, consider running the code in a sandbox or behind network controls so you can observe outbound requests. Because the skill can be invoked autonomously by the agent (platform default), be aware it may make network calls when used by automated flows; no credentials or local files are accessed by the scripts.
功能分析
Type: OpenClaw Skill Name: ftai-market-data Version: 1.0.0 The ftai-market-data skill bundle is a well-structured set of tools for retrieving Chinese A-share market data (IPOs, block trades, quotes) from legitimate-appearing domains (market.ft.tech and ftai.chat). The code uses a central dispatcher (run.py) to execute sub-skill handlers via subprocess.run, and the individual handlers use standard Python libraries (urllib) to fetch and display JSON data. No evidence of data exfiltration, malicious prompt injection, or unauthorized system access was found.
能力评估
Purpose & Capability
The skill name/description describe A‑share market data and the code implements exactly that: each sub-skill issues GET requests to the documented endpoints. One sub-skill intentionally uses a different host (https://ftai.chat) and the SKILL.md explicitly calls this out, so the extra domain is explained.
Instruction Scope
Runtime instructions direct the agent to run run.py which subprocesses the per-subskill handler scripts. The handlers only build URLs and perform urllib HTTP GETs, parse JSON, and print results. They do not read local files, read environment variables, or transmit data to any endpoints beyond the documented domains.
Install Mechanism
There is no install spec (instruction-only), and the packaged code contains only small Python scripts. Nothing is downloaded or installed at runtime; handlers use the standard library for HTTP requests.
Credentials
The skill declares no required environment variables, credentials, or config paths and the code does not access such secrets. The requested privileges are proportional to a read-only market-data skill.
Persistence & Privilege
always is false; the skill is user‑invocable and allows autonomous invocation (disable-model-invocation: false), which is the platform default. There is no request for permanent system presence or modification of other skills/config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ftai-market-data
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ftai-market-data 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with unified routing for A-share (A股) market data. - Provides a unified entry point for querying FT AI’s A-share data skills. - Supports sub-skills including: full stock list, real-time quotes, IPO info, block trades, margin trading details, and individual stock stats/valuation. - Handles user requests by mapping intent to the correct sub-skill and invoking it via run.py. - Standardizes calling convention using run.py located alongside SKILL.md for flexible deployment. - Includes clear parameter requirements and usage examples for each available sub-skill.
元数据
Slug ftai-market-data
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Skills of A-share market data released by ft.tech. 是什么?

非凸科技A股市场数据技能集。覆盖 A 股股票列表、实时行情、IPO信息、大宗交易、融资融券、个股详情与估值等接口。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 794 次。

如何安装 Skills of A-share market data released by ft.tech.?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ftai-market-data」即可一键安装,无需额外配置。

Skills of A-share market data released by ft.tech. 是免费的吗?

是的,Skills of A-share market data released by ft.tech. 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Skills of A-share market data released by ft.tech. 支持哪些平台?

Skills of A-share market data released by ft.tech. 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Skills of A-share market data released by ft.tech.?

由 Shawn92(@shawn92)开发并维护,当前版本 v1.0.0。

💬 留言讨论