FTShare Market Data Skills
SkillCommerce & financeLets your agent look up stock, ETF, index, fund, futures, HK and US market data plus company filings.
Use FTShare Market Data Skills in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add FTShare Market Data Skills and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the FTShare Market Data Skills skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
FTShare market data skill set. Based on the user's query intent regarding stocks, ETFs, indices, funds, convertible bonds, futures, Hong Kong stocks, US stocks, capital flows, financial data, or macro data, it matches and executes the corresponding sub-skill.
What this skill tells your AI
The instructions your AI receives, as published by ftshare-lab/ftshare-skill in ftshare-market-data/SKILL.md and read by ahel’s review.
本 skill 是统一路由入口。子 skill 位于 sub-skills/,由同目录的 run.py 动态发现和执行。
调用
python <RUN_PY> <子skill名> [参数...]
<RUN_PY> 是本文件同级的 run.py 绝对路径。不带参数运行会列出当前可用子 skill。
认证与请求约束
- 所有请求必须提供
FTSHARE_API_KEY环境变量。 - handler 将其作为
FTSHARE_API_KEY请求头发送,并设置Content-Type: application/json。 - 未设置凭据时,handler 在发起请求前以非零状态退出。
- 默认基础地址为
https://market.ft.tech/gateway,可通过FTSHARE_BASE_URL覆盖。 - 请求使用各子 skill 文档声明的
/api/v1、/api/v2、/api/v3或/api/v4路由;handler 会限制请求 scheme 和 host 与基础地址一致。
常用示例
python <RUN_PY> stock-description-all --symbol-id 600000.SH --page 1 --page-size 1
python <RUN_PY> stock-realtime-minute-kline --symbols 600519.SH 000001.SZ
python <RUN_PY> stock-minutes --symbol 600519.SH --since-ts-millis 1787189400000 --until-ts-millis 1787191200000
python <RUN_PY> stock-minute-seal --trade-date 20260923 --symbol 000560.SZ
python <RUN_PY> etf-realtime-day-kline --symbols 510300.SH
python <RUN_PY> index-minutes --symbol 000300.SH --since-ts-millis 1787189400000 --until-ts-millis 1787191200000
python <RUN_PY> stock-reports --stock-code 600036.SH --page 1 --page-size 20
python <RUN_PY> stock-announcements --stock-code 600000.SH --page 1 --page-size 20
python <RUN_PY> stock-prospectuses --stock-code 600000.SH --page 1 --page-size 20
python <RUN_PY> stock-candlesticks-batch --symbols 600519.SH,600036.SH --interval-unit Day --since-ts-millis 1787000000000 --until-ts-millis 1787191200000
python <RUN_PY> etf-candlesticks-batch --symbols 510300.XSHG,159915.XSHE --interval-unit Day --since-ts-millis 1787000000000 --until-ts-millis 1787191200000
python <RUN_PY> index-candlesticks-batch --symbols 000300.XSHG,399001.XSHE --interval-unit Day --since-ts-millis 1787000000000 --until-ts-millis 1787191200000
python <RUN_PY> futures-contract-kline --symbol A2605.DCE --interval daily --limit 5
python <RUN_PY> etf-pcf-infos --symbol 510300.SH --trade-date 20260909
python <RUN_PY> etf-net-value --etf-code 510300 --nav-date 20260909
python <RUN_PY> etf-share --etf-code 510300 --page 1 --page-size 5
python <RUN_PY> etf-announcements --etf-code 159915 --page 1 --page-size 5
python <RUN_PY> etf-component-details --symbol 510300.SH
python <RUN_PY> stock-dividends-effective --symbol 600519.XSHG --page 1 --page-size 20
python <RUN_PY> executive-holdings-changes --stock-code 600519 --page 1 --page-size 20
python <RUN_PY> eastmoney-shareholder-changes --symbol 股东增持 --page 1 --page-size 20
python <RUN_PY> ashare-code-change --trade-code 001872.SZ
python <RUN_PY> ashare-status-change --trade-code 600848.SH --change-type 上市
python <RUN_PY> stock-st-history --symbol 600735.SH,000004.SZ
python <RUN_PY> nth-trade-date --n 5
python <RUN_PY> continuous-auction-volume --trade-date 20260918 --page 1 --page-size 50
python <RUN_PY> news-reaction-snapshot --symbol 600519.SH --start-date 20260818 --end-date 20260828 --lookback-hours 48 --page 1 --page-size 5
python <RUN_PY> semantic-search-news --query 人工智能
下载类:
# 公告正文 PDF:先查列表拿 url_hash,再下载
python <RUN_PY> stock-announcements --url-hash d8d54544...cf574adf --output ./ann.pdf
python <RUN_PY> etf-announcements --url-hash d8d54544...cf574adf
能力范围
当前子 skill 仅覆盖《FTShare 四档套餐全量接口表》中的接口;接口详细参数、响应字段和限制以对应子目录的 SKILL.md 及 ftshare-doc/api-doc/ 活动源文档为准。api-doc/已下线 和 api-doc/未发布 不属于当前范围。
输出与错误
- 成功响应以格式化 JSON 输出到 stdout。
- HTTP、网络、参数和认证诊断输出到 stderr。
- 请求失败时返回非零退出状态。
- 下载类子 skill 只允许将文件写入当前工作目录及其子目录,越界以非零状态退出。
- 下载完成只向 stdout 输出落盘后的文件路径(不打印 JSON)。
运行时发现
run.py 仅执行 sub-skills/<名称>/scripts/handler.py 形式的动态发现结果,不维护重复的静态注册表。新增或移除子 skill 时,应同步其目录中的 SKILL.md 和 handler,并以套餐接口表和源接口文档进行核对。
本包是 Agent Skill,不是 Python SDK;SDK 的同步由独立任务负责。
Signals
- GitHub stars
- 65
- Forks
- 13
- Last commit
- Sep 2026
ahel review
K6low
bundled executables the agent is told to run
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Item type
- skill
- Key
ftshare-market-data- Source
- github.com/ftshare-lab/ftshare-skill
github.com/ftshare-lab/ftshare-skill
More in Commerce & finance
Skill · affaan-m
More in Commerce & financecustomer-billing-ops
Skill · affaan-m
More in Commerce & financereview
Skill · thedaviddias
More in Commerce & financechurn-prevention
Skill · coreyhaines31
More in Commerce & financebacktesting-frameworks
Skill · wshobson
More in Commerce & financebilling-automation
Skill · wshobson
More in Commerce & finance