← Back to Skills Marketplace
shawn92

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

by Shawn92 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
794
Downloads
60
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ftai-market-data
Description
非凸科技A股市场数据技能集。覆盖 A 股股票列表、实时行情、IPO信息、大宗交易、融资融券、个股详情与估值等接口。
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ftai-market-data
  3. After installation, invoke the skill by name or use /ftai-market-data
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug ftai-market-data
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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

非凸科技A股市场数据技能集。覆盖 A 股股票列表、实时行情、IPO信息、大宗交易、融资融券、个股详情与估值等接口。 It is an AI Agent Skill for Claude Code / OpenClaw, with 794 downloads so far.

How do I install Skills of A-share market data released by ft.tech.?

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

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

Yes, Skills of A-share market 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 A-share market data released by ft.tech. support?

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

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

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

💬 Comments