Ftshare Market Data logo

Ftshare Market Data

Organization
FTShare-Lab
ftshare-market-data

FTShare 市场数据技能集。根据用户对股票、ETF、指数、基金、可转债、期货、港股、美股、资金流、财务数据或宏观数据的查询意图,匹配并执行对应子 skill。

Overview

PublisherFTShare-Lab
RepositoryFTShare-skill
Skill nameftshare-market-data
Stars
64
Forks
14
Bundled files
304
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 304 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by FTShare-Lab on GitHub. Read the source before you install it.

Installation

Install the Ftshare Market Data AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/FTShare-Lab/FTShare-skill/tree/main/ftshare-market-data
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/FTShare-Lab/FTShare-skill.git /tmp/FTShare-skill
mkdir -p .claude/skills
cp -r /tmp/FTShare-skill/ftshare-market-data .claude/skills/ftshare-market-data
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ftshare Market Data in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ftshare Market Data on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ftshare Market Data is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

FTShare Market Data Skills

本 skill 是统一路由入口。子 skill 位于 sub-skills/,由同目录的 run.py 动态发现和执行。

调用

bash
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 与基础地址一致。

常用示例

bash
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-kline --symbol A2605.DCE --interval daily --limit 5
python <RUN_PY> futures-kline-batch --symbols A2605.DCE,M2605.DCE --interval daily --limit 5
python <RUN_PY> futures-minutes --symbol A2605.DCE --interval 5min --start 1787000000000 --end 1787191200000 --limit 5
python <RUN_PY> futures-realtime-day-kline --symbols A2605.DCE,M2605.DCE
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-code-change-timeline
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 人工智能
python <RUN_PY> stock-candlesticks-daily --trade-date 20261008 --page 1 --page-size 500
python <RUN_PY> ths-board-constituents --board-name 军工 --page 1 --page-size 100
python <RUN_PY> stock-tech-factor --symbol 000001.SZ --trade-date 20261012 --category trend

下载类:

bash
# 公告正文 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 的同步由独立任务负责。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 140 more files.

Frequently asked questions

What does the Ftshare Market Data AI skill do?

FTShare 市场数据技能集。根据用户对股票、ETF、指数、基金、可转债、期货、港股、美股、资金流、财务数据或宏观数据的查询意图,匹配并执行对应子 skill。

Why use Ftshare Market Data on TypingMind?

Because you install it once and use it with any model. Ftshare Market Data is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ftshare Market Data in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/FTShare-Lab/FTShare-skill/tree/main/ftshare-market-data. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ftshare Market Data?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ftshare Market Data?

As many as you like. As long as a model supports skills, you can use Ftshare Market Data with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ftshare Market Data AI skill free?

Yes. It is published on GitHub by FTShare-Lab under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇