Claude Skill

ftshare-market-data

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

LLM Mart · 0 points · 2 views 63 listing impressions 0 install-command copies
Download FTShare-Lab-FTShare-skill-ftshare-market-data-d6e929d.zip · 701 KB

Install

skills CLI npx skills add https://github.com/FTShare-Lab/FTShare-skill/tree/main/ftshare-market-data
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install ftshare-lab-ftshare-skill@llmmart
Git git clone https://github.com/FTShare-Lab/FTShare-skill.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole ftshare-lab/ftshare-skill collection as a plugin from our marketplace. Git is the plain clone.

README

ftshare-market-data

License: MIT Python 3.9+

ftshare-market-data 的当前可用范围不包含暂不支持的美股资产负债表、美股现金流、美股利润表、美股复权因子、港股资产负债表、港股现金流量表、港股利润表、港股估值分析、港股市值和炸板池接口。当前 README 及 sub-skills/ 仅介绍和提供仍在支持范围内的接口。

在 ftshare 生态中的位置

ftshare-market-data 处于 ftshare 生态的数据 Skill 层。它连接 FTShare 数据服务 market.ft.tech,为投研任务、MCP 工具和 Agent 应用提供结构化、可直接调用的行情、财报和宏观数据。

FTShare 数据服务 (market.ft.tech)
    ↓  HTTP GET(Python 标准库 urllib)
ftshare-market-data        # run.py 统一路由 + sub-skills 目录中的实际子 skill
    ↓
Claude Code / Codex / OpenClaw   # Agent 运行时加载本 Skill
    ↓
用户                       # 自然语言提问 → JSON 结果

这是一份 Skill(给 Agent 运行时消费),不是给人 import 的 Python 库。如果你需要在数据分析脚本里编程调用、想要 pandas DataFrame,请使用独立维护的 ftshare-python-sdk;本次 Skill 调整不修改 SDK。

作为 Skill 加载

本目录已包含标准 Skill 描述文件 SKILL.md(带 name / description frontmatter),推荐使用 skills CLI 安装:

npx skills add FTShare-Lab/FTShare-skill

CLI 会自动检测本机 Agent(Claude Code、Codex、OpenCode、OpenClaw、Cursor 等),并把本目录完整安装到对应的 skills 路径。非交互安装示例:

npx skills add FTShare-Lab/FTShare-skill --skill ftshare-market-data -g -a claude-code -y

也可以手动把本目录放进 Agent 的 skills 路径,例如 Claude Code 项目级 .claude/skills/ftshare-market-data/ 或用户级 ~/.claude/skills/ftshare-market-data/。

运行时只需要 Python 3:子 skill 仅使用标准库 urllib、json,零第三方依赖,不需要 pandas、requests。

快速开始

加载 Skill 后,用户用自然语言提问即可。运行时根据 SKILL.md 匹配子 skill、执行 run.py,并将返回的 JSON 交回用户。

python <RUN_PY> stock-list-all-stocks
python <RUN_PY> stock-realtime-minute-kline --symbols 600519.SH 000001.SZ
python <RUN_PY> hk-candlesticks --trade-code 00700.HK --interval-unit day --until-date 2026-03-24

<RUN_PY> 是本目录下 run.py 的绝对路径。当前子 skill 仅对应《FTShare 四档套餐全量接口表》及其活动源文档;已下线、未发布和暂不支持的接口不在范围内。

{
    "items": [
        { "stock_code": "000001.SZ", "stock_name": "平安银行" },
        { "stock_code": "000002.SZ", "stock_name": "万科A" }
    ]
}

调用方式(唯一规则)

run.py 是统一调度入口,与 SKILL.md 同级。执行时:

  1. 取 SKILL.md 的绝对路径,将末尾 /SKILL.md 替换为 /run.py,得到 <RUN_PY>。
  2. 调用:python <RUN_PY> <子skill名> [参数...]
# 示例
python <RUN_PY> stock-list-all-stocks
python <RUN_PY> stock-ipos --page 1 --page_size 20
python <RUN_PY> semantic-search-news --query 人工智能
python <RUN_PY> etf-pcfs --date 20260309
python <RUN_PY> index-weight-summary --index-code 000300 --page 1 --page-size 20
python <RUN_PY> index-weight-list --index-code 000300 --page 1 --page-size 20
python <RUN_PY> hk-candlesticks --trade-code 00700.HK --interval-unit day --until-date 2026-03-24
python <RUN_PY> nth-trade-date --n 5
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> economic-china-cpi-monthly

所有 market.ft.tech handler 默认使用 https://market.ft.tech/gateway。认证 key 从环境变量 FTSHARE_API_KEY 读取,并作为 FTSHARE_API_KEY 请求头发送;同时发送 Content-Type: application/json。缺少凭据时 handler 不会发起请求。本地或内网服务可通过环境变量切换 API 地址:

FTSHARE_BASE_URL=http://127.0.0.1:8000/ python <RUN_PY> stock-list-all-stocks

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

返回类型

所有子 skill 一律向 标准输出打印 JSON,运行时(Agent)会直接读取这份 JSON,再决定如何以表格 / 要点形式展示给用户。

需要手工解析时(如冒烟测试、定时任务):Shell 中配合 jq:

python run.py stock-list-all-stocks | jq '.items[0:3]'

响应中常见的表格数据信封包括:data.records、data.items、顶层 items、顶层数组。各子 skill 的 SKILL.md 会标注其具体响应结构与字段含义。

分页

分页接口同时支持传统 --page / --page_size 和更方便的 --all 自动翻页。

取单页:

python run.py stock-ipos --page 1 --page_size 20

自动翻页拉取全量数据:

python run.py stock-ipos --all

--all 仅在具体子 skill 的 SKILL.md 明确说明时可用;分页参数也以对应源文档为准。

能力总览

子 skill 以《FTShare 四档套餐全量接口表》为范围依据,按股票、ETF、指数、基金、可转债、期货、港股、板块、资金流、财务、公司治理、新闻公告研报和宏观经济等领域组织。每个接口的参数、响应字段和限制见对应子目录的 SKILL.md 及活动源文档;api-doc/已下线、api-doc/未发布 不计入范围。

域 代表子 skill
交易日 / 财经日历 / 新闻公告研报 nth-trade-date、trading-calendar、financial-calendar、semantic-search-news、news-reaction-snapshot、stock-announcements、stock-reports、stock-prospectuses
A 股行情 / 基础 stock-list-all-stocks、stock-description-all、stock-quotes-list、stock-ipos、stock-intraday、stock-candlesticks-daily、eastmoney-all-board-daily-ohlc、block-trades、margin-trading-details、continuous-auction-volume、intraday-auction-volume
A 股财报 / 业绩 stock-income-*、stock-balance-*、stock-cashflow-*、stock-performance-express-*、stock-performance-forecast-*
A 股股东 / 质押 / 增减持 stock-holder-ten、stock-holder-ften、stock-holder-nums、pledge-summary、pledge-detail、stock-share-chg、executive-holdings-changes、eastmoney-shareholder-changes
A 股公司行动 / 代码与状态 shareholder-meeting、stock-dividends、stock-dividends-effective、major-contract-by-date、major-contract-by-symbol、major-contract-summary、ashare-code-change、ashare-code-change-timeline、ashare-status-change、stock-st-history
A 股估值 / 千股千评 / 热度 / 资金流 eastmoney-stock-valuation、eastmoney-market-valuation、stock-comment-index/score/org-participate/desire/focus、stock-rank-xueqiu、stock-rank-eastmoney、stock-capital-flows
A 股技术面因子(特色数据) stock-tech-factor
A 股涨跌停 limit-up-pool、limit-up-pool-yesterday、limit-down-pool、stock-minute-seal
A 股商誉 stock-goodwill-detail、stock-goodwill-impairment、stock-goodwill-industry、stock-goodwill-market-overview、stock-goodwill-predict
A 股供应链(特色数据) supply-chain-industry-names、supply-chain-one-hop、supply-chain-companies、supply-chain-subsubindustry-companies、supply-chain-parent-subindustries、supply-chain-subsubindustries
可转债 cb-lists、cb-base-data、convertible-bond-candlesticks、convertible-bond-candlesticks-batch、convertible-bond-minutes、convertible-bond-realtime-day-kline、convertible-bond-realtime-minute-kline、convertible-bond-szse-matching-trades 等深交所成交明细
ETF etf-description-all、etf-components-all、etf-component-details、etf-pre-single、etf-pcfs、etf-pcf-infos、etf-share、etf-net-value、etf-announcements、etf-adjust-factor、etf-candlesticks、etf-candlesticks-batch、etf-minutes、etf-minutes-batch、etf-realtime-minute-kline、etf-realtime-day-kline、eastmoney-etf-flow
基金 fund-basicinfo-single-fund、fund-cal-return-...、fund-nav-single-fund-paginated、fund-overview-all-funds-paginated、fund-support-symbols-all-funds-paginated
指数 index-detail、index-list-paginated、index-ohlcs、index-prices、index-candlesticks、index-candlesticks-batch、index-minutes、index-minutes-batch、sw-index-history-minutes、index-realtime-minute-kline、index-realtime-day-kline、index-description-all、index-description-paginated、index-weight-list、index-weight-summary
板块(东财 / 同花顺) eastmoney-concept-boards、eastmoney-board-constituents/daily-ohlc/latest-ohlc、10jqk-board-list/kline/all-kline、ths-industry-constituents、ths-board-constituents
港股 company-hk、hk-candlesticks、northbound、southbound、eastmoney-hk-index-daily-kline、hsi-daily-weight
美股 eastmoney-us-stock-list、eastmoney-us-stock-daily-ohlc、us-basic
期货 futures-base-data、futures-lists、futures-limit、futures-settle、futures-weekly-detail、futures-warehouse-receipt、futures-kline、futures-kline-batch、futures-minutes、futures-realtime-minute-kline、futures-realtime-day-kline、eastmoney-futures-position、eastmoney-futures-strange、member-build-process、member-position-ranking
宏观经济(中国 + 美国) economic-china-gdp/cpi/ppi/pmi/lpr/...-monthly(15 项)、economic-us-economic-by-type(16 类,按 --type)

名称 → 代码映射

部分接口只接受代码而非名称。具体代码格式与映射方式以对应子 skill 文档为准。

查看可用接口

不带参数运行 run.py 会打印用法并列出全部可用子 skill:

python run.py

查看某个接口的详细参数、响应结构与字段说明:

cat sub-skills/stock-list-all-stocks/SKILL.md

Base URL 配置

market.ft.tech 接口默认以 https://market.ft.tech/gateway 为基础地址,使用 HTTP GET;每个请求均需在请求头携带 FTSHARE_API_KEY 和 Content-Type: application/json:

/api/v1/market/data/<接口路径>

如需切到本地或内网服务,设置 FTSHARE_BASE_URL。变量里是否带 /gateway 会原样保留:

FTSHARE_BASE_URL=http://127.0.0.1:8000/ python <RUN_PY> stock-list-all-stocks
FTSHARE_BASE_URL=http://127.0.0.1:8000/gateway/ python <RUN_PY> stock-list-all-stocks
  • 所有 market.ft.tech 接口都通过 FTSHARE_BASE_URL 切换基础地址。

安全与约束

  • 域名白名单:使用 safe_urlopen 的 handler 会校验请求协议和主机匹配当前基础地址;设置 FTSHARE_BASE_URL 后按该地址校验。
  • 子 skill 白名单:run.py 仅允许 sub-skills/<名称>/scripts/handler.py 形态的子 skill,防止路径遍历。
  • 下载落盘限制:含 --output 的下载类接口仅允许写入当前工作目录下的路径;越界直接非零退出。run.py 不再切换进程工作目录,故「当前工作目录」即发起命令的 shell 目录。
  • 断点续传:支持续传的接口把半成品写在 <目标文件>.part,旁边 <目标文件>.part.meta 记录来源 URL 与服务端 ETag。续传带 If-Range,服务端若已重新生成该文件(ETag 变化)会退回 200,此时截断重写而非追加,避免拼出坏包。来源不明的 .part 一律丢弃重下。
  • 依赖前序接口的参数:下载类接口的 url_hash / year 须先由对应的列表接口取得,勿硬编码。

项目结构

ftshare-market-data/
  SKILL.md                # Skill 入口文档:frontmatter(name/description)+ 能力总览 + 调用规则
  run.py                  # 统一调度入口:校验并执行子 skill 的 handler
  README.md               # 本文档
  sub-skills/
    <子skill名>/
      SKILL.md            # 该接口的参数、响应结构、字段说明
      scripts/
        handler.py        # 具体实现:HTTP GET → 打印 JSON

与 ftshare-python-sdk 的关系

本仓库是 Skill(命令行驱动,给 Agent 运行时);ftshare-python-sdk 是 Python 库(给开发者编程)。两者覆盖同一批 FTShare 数据接口,按使用形态区分:

ftshare-market-data(本仓库) ftshare-python-sdk
形态 Skill(被运行时加载) pip 包
入口 python run.py <子skill> ft.market_api().<方法>()
返回 原始 JSON(stdout) pandas DataFrame
消费者 Claude Code / Codex / OpenClaw 数据分析脚本 / 量化研究
依赖 仅 Python 标准库 pandas、requests

Skill manifest

FTShare Market Data Skills

本 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-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
python <RUN_PY> sge-spot-description-all --category spot_deferred --active-only
python <RUN_PY> market-announcements --keyword 回购 --start-date 20261001 --end-date 20261031 --page 1 --page-size 20
python <RUN_PY> periodic-reports --stock-code 000001.SZ --report-type annual --page 1 --page-size 20
python <RUN_PY> index-fut-depth --trade-date 20261030 --code-prefix IF

下载类:

# 公告正文 PDF:先查列表拿 url_hash,再下载
python <RUN_PY> stock-announcements --url-hash d8d54544...cf574adf --output ./ann.pdf
python <RUN_PY> etf-announcements --url-hash d8d54544...cf574adf
python <RUN_PY> market-announcements --url-hash 7d3176c8...c846f8dfbc --output ./ann.pdf
python <RUN_PY> periodic-reports --url-hash 37801609...68090432 --output ./report.pdf

能力范围

当前子 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 的同步由独立任务负责。

Files (ftshare-skill)
  • sub-skills
    • 10jqk-board-list
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 1.8 KB
        Loading…
    • abnormal-trading-details
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 1.1 KB
        Loading…
    • abnormal-trading-overview
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 1.1 KB
        Loading…
    • ashare-code-change
      • scripts
        • handler.py 2.2 KB
          Loading…
        • test_handler.py 1022 B
          Loading…
      • SKILL.md 941 B
        Loading…
    • ashare-code-change-timeline
      • scripts
        • handler.py 2.1 KB
          Loading…
        • test_handler.py 1.1 KB
          Loading…
      • SKILL.md 2 KB
        Loading…
    • ashare-interactions
      • scripts
        • handler.py 3.2 KB
          Loading…
      • SKILL.md 631 B
        Loading…
    • ashare-news-sentiment-factors
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 730 B
        Loading…
    • ashare-rating-factor-snapshot
      • scripts
        • handler.py 2.2 KB
          Loading…
      • SKILL.md 623 B
        Loading…
    • ashare-status-change
      • scripts
        • handler.py 2 KB
          Loading…
        • test_handler.py 999 B
          Loading…
      • SKILL.md 936 B
        Loading…
    • auction-results
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 612 B
        Loading…
    • block-trades
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.1 KB
        Loading…
    • bse-mapping
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 480 B
        Loading…
    • bullion-price
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 635 B
        Loading…
    • cashflow-stock-code
      • scripts
        • handler.py 2.2 KB
          Loading…
      • SKILL.md 642 B
        Loading…
    • cb-lists
      • scripts
        • handler.py 1.6 KB
          Loading…
      • SKILL.md 1.9 KB
        Loading…
    • chinabond-yield-daily
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 685 B
        Loading…
    • company-list
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 487 B
        Loading…
    • continuous-auction-volume
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 733 B
        Loading…
    • convertible-bond-candlesticks
      • scripts
        • handler.py 4.8 KB
          Loading…
        • test_handler.py 3.5 KB
          Loading…
      • SKILL.md 4 KB
        Loading…
    • convertible-bond-candlesticks-batch
      • scripts
        • handler.py 5.3 KB
          Loading…
        • test_handler.py 5.4 KB
          Loading…
      • SKILL.md 4.5 KB
        Loading…
    • convertible-bond-minutes
      • scripts
        • handler.py 5.1 KB
          Loading…
        • test_handler.py 5.4 KB
          Loading…
      • SKILL.md 5.1 KB
        Loading…
    • convertible-bond-realtime-day-kline
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 2.5 KB
        Loading…
    • convertible-bond-realtime-minute-kline
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 2.5 KB
        Loading…
    • convertible-bond-szse-directed-trades
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 639 B
        Loading…
    • convertible-bond-szse-matching-trades
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 639 B
        Loading…
    • convertible-bond-szse-negotiated-trades
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 647 B
        Loading…
    • daec-history-prices
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 618 B
        Loading…
    • daec-market-snapshot
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 603 B
        Loading…
    • daec-prev-closes
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 649 B
        Loading…
    • eastmoney-all-board-daily-ohlc
      • scripts
        • handler.py 2.9 KB
          Loading…
      • SKILL.md 3.5 KB
        Loading…
    • eastmoney-board-constituents
      • scripts
        • handler.py 3.6 KB
          Loading…
      • SKILL.md 3.3 KB
        Loading…
    • eastmoney-board-daily-ohlc
      • scripts
        • handler.py 3.8 KB
          Loading…
      • SKILL.md 4 KB
        Loading…
    • eastmoney-concept-boards
      • scripts
        • handler.py 2.1 KB
          Loading…
      • SKILL.md 1.6 KB
        Loading…
    • eastmoney-dapan-flow
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 667 B
        Loading…
    • eastmoney-etf-flow
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 2.2 KB
        Loading…
    • eastmoney-futures-position
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 583 B
        Loading…
    • eastmoney-futures-strange
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.6 KB
        Loading…
    • eastmoney-market-valuation
      • scripts
        • handler.py 4.5 KB
          Loading…
      • SKILL.md 5.1 KB
        Loading…
    • eastmoney-rank
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 625 B
        Loading…
    • eastmoney-sector-flow
      • scripts
        • handler.py 4.4 KB
          Loading…
        • test_handler.py 1.9 KB
          Loading…
      • SKILL.md 2.9 KB
        Loading…
    • eastmoney-shareholder-changes
      • scripts
        • handler.py 2.7 KB
          Loading…
        • test_handler.py 979 B
          Loading…
      • SKILL.md 945 B
        Loading…
    • eastmoney-stock-flow
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 1.1 KB
        Loading…
    • eastmoney-stock-valuation
      • scripts
        • handler.py 4.3 KB
          Loading…
      • SKILL.md 5.4 KB
        Loading…
    • eastmoney-us-stock-daily-ohlc
      • scripts
        • handler.py 7.2 KB
          Loading…
      • SKILL.md 5.1 KB
        Loading…
    • eastmoney-us-stock-list
      • scripts
        • handler.py 3 KB
          Loading…
        • test_handler.py 1012 B
          Loading…
      • SKILL.md 1010 B
        Loading…
    • economic-china-cpi-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.4 KB
        Loading…
    • economic-china-credit-loans-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.2 KB
        Loading…
    • economic-china-customs-trade-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.7 KB
        Loading…
    • economic-china-fiscal-revenue-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 1002 B
        Loading…
    • economic-china-fixed-asset-investment-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.2 KB
        Loading…
    • economic-china-gdp-quarterly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 982 B
        Loading…
    • economic-china-industrial-added-value-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 1.9 KB
        Loading…
    • economic-china-lpr-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 1.8 KB
        Loading…
    • economic-china-money-supply-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.4 KB
        Loading…
    • economic-china-pmi-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.2 KB
        Loading…
    • economic-china-ppi-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2 KB
        Loading…
    • economic-china-reserve-ratio-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2 KB
        Loading…
    • economic-china-retail-sales-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.2 KB
        Loading…
    • economic-china-tax-revenue-monthly
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.3 KB
        Loading…
    • economic-us-economic-by-type
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 3.8 KB
        Loading…
    • etf-adjust-factor
      • scripts
        • handler.py 3 KB
          Loading…
      • SKILL.md 692 B
        Loading…
    • etf-announcements
      • scripts
        • handler.py 7.4 KB
          Loading…
        • test_handler.py 6.4 KB
          Loading…
      • SKILL.md 4 KB
        Loading…
    • etf-candlesticks
      • scripts
        • handler.py 4.5 KB
          Loading…
        • test_handler.py 4 KB
          Loading…
      • SKILL.md 3.7 KB
        Loading…
    • etf-candlesticks-batch
      • scripts
        • handler.py 5.1 KB
          Loading…
        • test_handler.py 5.4 KB
          Loading…
      • SKILL.md 4.1 KB
        Loading…
    • etf-component-details
      • scripts
        • handler.py 3 KB
          Loading…
      • SKILL.md 2.7 KB
        Loading…
    • etf-components-all
      • scripts
        • handler.py 2.2 KB
          Loading…
      • SKILL.md 580 B
        Loading…
    • etf-description-all
      • scripts
        • handler.py 2.1 KB
          Loading…
      • SKILL.md 2.5 KB
        Loading…
    • etf-minutes
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 689 B
        Loading…
    • etf-minutes-batch
      • scripts
        • handler.py 1.8 KB
          Loading…
      • SKILL.md 813 B
        Loading…
    • etf-net-value
      • scripts
        • handler.py 4.9 KB
          Loading…
        • test_handler.py 2.1 KB
          Loading…
      • SKILL.md 3.1 KB
        Loading…
    • etf-pcf-infos
      • scripts
        • handler.py 4.3 KB
          Loading…
        • test_handler.py 2.3 KB
          Loading…
      • SKILL.md 3.5 KB
        Loading…
    • etf-pcfs
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 2.1 KB
        Loading…
    • etf-pre-data
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 546 B
        Loading…
    • etf-pre-single
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 3.7 KB
        Loading…
    • etf-realtime-day-kline
      • scripts
        • handler.py 2.2 KB
          Loading…
      • SKILL.md 796 B
        Loading…
    • etf-realtime-minute-kline
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 867 B
        Loading…
    • etf-share
      • scripts
        • handler.py 4.5 KB
          Loading…
      • SKILL.md 2.8 KB
        Loading…
    • exchange-margin-summaries
      • scripts
        • handler.py 2.9 KB
          Loading…
      • SKILL.md 700 B
        Loading…
    • executive-holdings-changes
      • scripts
        • handler.py 2.8 KB
          Loading…
        • test_handler.py 2 KB
          Loading…
      • SKILL.md 1.8 KB
        Loading…
    • financial-calendar
      • scripts
        • handler.py 3.2 KB
          Loading…
        • test_handler.py 2.2 KB
          Loading…
      • SKILL.md 3.1 KB
        Loading…
    • fund-asset-allocation-single-fund-paginated
      • scripts
        • handler.py 3.5 KB
          Loading…
        • test_handler.py 1.8 KB
          Loading…
      • SKILL.md 1.8 KB
        Loading…
    • fund-basicinfo-single-fund
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 1.5 KB
        Loading…
    • fund-cal-return-single-fund-specific-period
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 1.4 KB
        Loading…
    • fund-classification-single-fund
      • scripts
        • handler.py 2.7 KB
          Loading…
        • test_handler.py 1.6 KB
          Loading…
      • SKILL.md 1.5 KB
        Loading…
    • fund-company-list-paginated
      • scripts
        • handler.py 2.8 KB
          Loading…
        • test_handler.py 1.6 KB
          Loading…
      • SKILL.md 1.4 KB
        Loading…
    • fund-fee-single-fund-paginated
      • scripts
        • handler.py 3.2 KB
          Loading…
        • test_handler.py 1.7 KB
          Loading…
      • SKILL.md 1.7 KB
        Loading…
    • fund-holder-structure-single-fund
      • scripts
        • handler.py 3 KB
          Loading…
        • test_handler.py 1.7 KB
          Loading…
      • SKILL.md 1.7 KB
        Loading…
    • fund-index-tracking-funds
      • scripts
        • handler.py 2.6 KB
          Loading…
        • test_handler.py 1.6 KB
          Loading…
      • SKILL.md 1.5 KB
        Loading…
    • fund-list-paginated
      • scripts
        • handler.py 3 KB
          Loading…
        • test_handler.py 1.6 KB
          Loading…
      • SKILL.md 1.6 KB
        Loading…
    • fund-manager-relationship
      • scripts
        • handler.py 3.1 KB
          Loading…
        • test_handler.py 1.6 KB
          Loading…
      • SKILL.md 1.6 KB
        Loading…
    • fund-net-value-detail-single-fund
      • scripts
        • handler.py 3.3 KB
          Loading…
        • test_handler.py 1.8 KB
          Loading…
      • SKILL.md 1.7 KB
        Loading…
    • fund-net-value-performance-single-fund
      • scripts
        • handler.py 3.3 KB
          Loading…
        • test_handler.py 1.8 KB
          Loading…
      • SKILL.md 1.8 KB
        Loading…
    • fund-new-found-paginated
      • scripts
        • handler.py 3.2 KB
          Loading…
        • test_handler.py 1.6 KB
          Loading…
      • SKILL.md 1.7 KB
        Loading…
    • fund-overview-all-funds-paginated
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 995 B
        Loading…
    • fund-portfolio-single-fund-paginated
      • scripts
        • handler.py 3.5 KB
          Loading…
        • test_handler.py 1.8 KB
          Loading…
      • SKILL.md 1.8 KB
        Loading…
    • fund-risk-level-single-fund
      • scripts
        • handler.py 2.6 KB
          Loading…
        • test_handler.py 1.6 KB
          Loading…
      • SKILL.md 1.4 KB
        Loading…
    • fund-share-single-fund-paginated
      • scripts
        • handler.py 3.3 KB
          Loading…
        • test_handler.py 1.8 KB
          Loading…
      • SKILL.md 1.7 KB
        Loading…
    • fund-support-symbols-all-funds-paginated
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 1014 B
        Loading…
    • futures-base-data
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 562 B
        Loading…
    • futures-kline
      • scripts
        • handler.py 4 KB
          Loading…
        • test_handler.py 2 KB
          Loading…
      • SKILL.md 3.3 KB
        Loading…
    • futures-kline-batch
      • scripts
        • handler.py 4.4 KB
          Loading…
        • test_handler.py 3.6 KB
          Loading…
      • SKILL.md 4.2 KB
        Loading…
    • futures-limit
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 594 B
        Loading…
    • futures-lists
      • scripts
        • handler.py 2.2 KB
          Loading…
      • SKILL.md 512 B
        Loading…
    • futures-minutes
      • scripts
        • handler.py 4.8 KB
          Loading…
        • test_handler.py 5.3 KB
          Loading…
      • SKILL.md 5 KB
        Loading…
    • futures-realtime-day-kline
      • scripts
        • handler.py 3.2 KB
          Loading…
        • test_handler.py 2.2 KB
          Loading…
      • SKILL.md 2.8 KB
        Loading…
    • futures-realtime-minute-kline
      • scripts
        • handler.py 3.2 KB
          Loading…
        • test_handler.py 2.2 KB
          Loading…
      • SKILL.md 2.7 KB
        Loading…
    • futures-settle
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 758 B
        Loading…
    • futures-warehouse-receipt
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 581 B
        Loading…
    • futures-weekly-detail
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 609 B
        Loading…
    • global-index-daily-kline
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 649 B
        Loading…
    • hibor-daily
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 615 B
        Loading…
    • hk-candlesticks
      • scripts
        • handler.py 5.2 KB
          Loading…
      • SKILL.md 3.8 KB
        Loading…
    • hsi-daily-weight
      • scripts
        • handler.py 4.1 KB
          Loading…
      • SKILL.md 4.7 KB
        Loading…
    • index-candlesticks
      • scripts
        • handler.py 4.5 KB
          Loading…
        • test_handler.py 2.1 KB
          Loading…
      • SKILL.md 3.6 KB
        Loading…
    • index-candlesticks-batch
      • scripts
        • handler.py 5.1 KB
          Loading…
        • test_handler.py 5.6 KB
          Loading…
      • SKILL.md 4.2 KB
        Loading…
    • index-description-all
      • scripts
        • handler.py 1.9 KB
          Loading…
      • SKILL.md 2 KB
        Loading…
    • index-description-paginated
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 2.9 KB
        Loading…
    • index-fut-depth
      • scripts
        • handler.py 4.6 KB
          Loading…
        • test_handler.py 3.5 KB
          Loading…
      • SKILL.md 5.7 KB
        Loading…
    • index-minutes
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 704 B
        Loading…
    • index-minutes-batch
      • scripts
        • handler.py 1.8 KB
          Loading…
      • SKILL.md 805 B
        Loading…
    • index-realtime-day-kline
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 860 B
        Loading…
    • index-realtime-minute-kline
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 931 B
        Loading…
    • index-weight-list
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 3.8 KB
        Loading…
    • index-weight-summary
      • scripts
        • handler.py 3.2 KB
          Loading…
      • SKILL.md 3.3 KB
        Loading…
    • institution-share-holdings
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 723 B
        Loading…
    • intraday-auction-volume
      • scripts
        • handler.py 2.2 KB
          Loading…
      • SKILL.md 643 B
        Loading…
    • kline-pattern-annotations
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 642 B
        Loading…
    • libor-daily
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 636 B
        Loading…
    • limit-event-timeline
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 870 B
        Loading…
    • limit-list
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 589 B
        Loading…
    • limit-up-briefs
      • scripts
        • handler.py 2.2 KB
          Loading…
      • SKILL.md 603 B
        Loading…
    • limit-up-public-report
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 693 B
        Loading…
    • major-contract-by-date
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 2.8 KB
        Loading…
    • major-contract-by-symbol
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 1.4 KB
        Loading…
    • major-contract-summary
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 2.4 KB
        Loading…
    • margin-trading-details
      • scripts
        • handler.py 5.6 KB
          Loading…
        • test_handler.py 7.1 KB
          Loading…
      • SKILL.md 4.4 KB
        Loading…
    • market-announcements
      • scripts
        • handler.py 7.8 KB
          Loading…
        • test_handler.py 6 KB
          Loading…
      • SKILL.md 5.8 KB
        Loading…
    • market-distribution-intraday
      • scripts
        • handler.py 2.2 KB
          Loading…
      • SKILL.md 653 B
        Loading…
    • member-build-process
      • scripts
        • handler.py 3.5 KB
          Loading…
      • SKILL.md 4.6 KB
        Loading…
    • member-position-ranking
      • scripts
        • handler.py 3.1 KB
          Loading…
      • SKILL.md 2.7 KB
        Loading…
    • namechange
      • scripts
        • handler.py 2.9 KB
          Loading…
        • test_handler.py 1.9 KB
          Loading…
      • SKILL.md 3.3 KB
        Loading…
    • nanhua-index-kline
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 664 B
        Loading…
    • news-reaction-snapshot
      • scripts
        • handler.py 3.7 KB
          Loading…
        • test_handler.py 3.1 KB
          Loading…
      • SKILL.md 1.4 KB
        Loading…
    • northbound
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 2.3 KB
        Loading…
    • nth-trade-date
      • scripts
        • handler.py 1.8 KB
          Loading…
        • test_handler.py 1011 B
          Loading…
      • SKILL.md 545 B
        Loading…
    • periodic-reports
      • scripts
        • handler.py 7.6 KB
          Loading…
        • test_handler.py 5.1 KB
          Loading…
      • SKILL.md 5.4 KB
        Loading…
    • pledge-detail
      • scripts
        • handler.py 3.3 KB
          Loading…
      • SKILL.md 5 KB
        Loading…
    • pledge-summary
      • scripts
        • handler.py 3 KB
          Loading…
        • test_handler.py 2.2 KB
          Loading…
      • SKILL.md 3.5 KB
        Loading…
    • price-change
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 640 B
        Loading…
    • report-announcement-list
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 3.6 KB
        Loading…
    • report-announcement-summary
      • scripts
        • handler.py 1.6 KB
          Loading…
      • SKILL.md 2.3 KB
        Loading…
    • risk-warning-stocks
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 867 B
        Loading…
    • scripts
      • handler.py 2.9 KB
        Loading…
    • security-search
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 572 B
        Loading…
    • semantic-search-news
      • scripts
        • handler.py 4 KB
          Loading…
      • SKILL.md 4.3 KB
        Loading…
    • sge-spot-description-all
      • scripts
        • handler.py 3.2 KB
          Loading…
        • test_handler.py 2.6 KB
          Loading…
      • SKILL.md 4.3 KB
        Loading…
    • shareholder-meeting
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 2.7 KB
        Loading…
    • shibor-daily
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 622 B
        Loading…
    • shibor-quote-daily
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 666 B
        Loading…
    • southbound
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 3.2 KB
        Loading…
    • stk-ah-comparison
      • scripts
        • handler.py 3.2 KB
          Loading…
      • SKILL.md 879 B
        Loading…
    • stk-alert-broker
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 629 B
        Loading…
    • stk-manager-hold
      • scripts
        • handler.py 2.8 KB
          Loading…
        • test_handler.py 1.9 KB
          Loading…
      • SKILL.md 3.1 KB
        Loading…
    • stk-manager-pay
      • scripts
        • handler.py 2.8 KB
          Loading…
        • test_handler.py 1.9 KB
          Loading…
      • SKILL.md 3 KB
        Loading…
    • stk-managers
      • scripts
        • handler.py 3.1 KB
          Loading…
        • test_handler.py 2.3 KB
          Loading…
      • SKILL.md 4.3 KB
        Loading…
    • stk-premarket
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 566 B
        Loading…
    • stk-shock
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 596 B
        Loading…
    • stk-surv
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 610 B
        Loading…
    • stock-adjust-factor
      • scripts
        • handler.py 2.9 KB
          Loading…
      • SKILL.md 641 B
        Loading…
    • stock-announcements
      • scripts
        • handler.py 5.5 KB
          Loading…
        • test_handler.py 5.3 KB
          Loading…
      • SKILL.md 2.9 KB
        Loading…
    • stock-balance-all-stocks-specific-period
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 4 KB
        Loading…
    • stock-candlesticks
      • scripts
        • handler.py 4.5 KB
          Loading…
        • test_handler.py 3.3 KB
          Loading…
      • SKILL.md 3.7 KB
        Loading…
    • stock-candlesticks-batch
      • scripts
        • handler.py 5.1 KB
          Loading…
        • test_handler.py 6.4 KB
          Loading…
      • SKILL.md 4.6 KB
        Loading…
    • stock-candlesticks-daily
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 3.1 KB
        Loading…
    • stock-capital-flows
      • scripts
        • handler.py 6.5 KB
          Loading…
      • SKILL.md 4.3 KB
        Loading…
    • stock-cashflow-all-stocks-specific-period
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 4.2 KB
        Loading…
    • stock-comment-desire
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 1.6 KB
        Loading…
    • stock-comment-focus
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 1.6 KB
        Loading…
    • stock-comment-index
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 2 KB
        Loading…
    • stock-comment-org-participate
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 1.2 KB
        Loading…
    • stock-comment-score
      • scripts
        • handler.py 2.5 KB
          Loading…
      • SKILL.md 1.2 KB
        Loading…
    • stock-connect-members
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 647 B
        Loading…
    • stock-description-all
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 2.6 KB
        Loading…
    • stock-dividends
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 611 B
        Loading…
    • stock-dividends-effective
      • scripts
        • handler.py 4.5 KB
          Loading…
        • test_handler.py 2.5 KB
          Loading…
      • SKILL.md 3.5 KB
        Loading…
    • stock-filter-v2
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 597 B
        Loading…
    • stock-ggmx-buy-ranking
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 638 B
        Loading…
    • stock-ggmx-sell-ranking
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 642 B
        Loading…
    • stock-goodwill-detail
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 2.7 KB
        Loading…
    • stock-goodwill-impairment
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 2.9 KB
        Loading…
    • stock-goodwill-industry
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 2 KB
        Loading…
    • stock-goodwill-market-overview
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 2.3 KB
        Loading…
    • stock-goodwill-predict
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 3 KB
        Loading…
    • stock-history-list
      • scripts
        • handler.py 2.7 KB
          Loading…
      • SKILL.md 1.2 KB
        Loading…
    • stock-holder-ften
      • scripts
        • handler.py 3.5 KB
          Loading…
        • test_handler.py 2 KB
          Loading…
      • SKILL.md 5.3 KB
        Loading…
    • stock-holder-nums
      • scripts
        • handler.py 3.4 KB
          Loading…
        • test_handler.py 2 KB
          Loading…
      • SKILL.md 4.8 KB
        Loading…
    • stock-holder-ten
      • scripts
        • handler.py 3.4 KB
          Loading…
        • test_handler.py 2 KB
          Loading…
      • SKILL.md 5 KB
        Loading…
    • stock-income-all-stocks-specific-period
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 4.1 KB
        Loading…
    • stock-institution-holdings
      • scripts
        • handler.py 2.8 KB
          Loading…
      • SKILL.md 705 B
        Loading…
    • stock-institution-holdings-detail
      • scripts
        • handler.py 2.9 KB
          Loading…
      • SKILL.md 771 B
        Loading…
    • stock-intraday
      • scripts
        • handler.py 3.6 KB
          Loading…
      • SKILL.md 4.1 KB
        Loading…
    • stock-ipos
      • scripts
        • handler.py 3.1 KB
          Loading…
      • SKILL.md 3 KB
        Loading…
    • stock-limit
      • scripts
        • handler.py 2.6 KB
          Loading…
      • SKILL.md 824 B
        Loading…
    • stock-list-all-stocks
      • scripts
        • handler.py 2 KB
          Loading…
      • SKILL.md 1.5 KB
        Loading…
    • stock-minute-seal
      • scripts
        • handler.py 2.9 KB
          Loading…
      • SKILL.md 2.5 KB
        Loading…
    • stock-minutes
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 874 B
        Loading…
    • stock-minutes-batch
      • scripts
        • handler.py 1.8 KB
          Loading…
      • SKILL.md 934 B
        Loading…
    • stock-performance-express-all-stocks-specific-period
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 1.7 KB
        Loading…
    • stock-performance-forecast-all-stocks-specific-period
      • scripts
        • handler.py 3.4 KB
          Loading…
      • SKILL.md 1.7 KB
        Loading…
    • stock-prospectuses
      • scripts
        • handler.py 5.2 KB
          Loading…
        • test_handler.py 3.6 KB
          Loading…
      • SKILL.md 4.2 KB
        Loading…
    • stock-quotes-list
      • scripts
        • handler.py 5.3 KB
          Loading…
        • test_handler.py 5.1 KB
          Loading…
      • SKILL.md 6.4 KB
        Loading…
    • stock-realtime-day-kline
      • scripts
        • handler.py 2.2 KB
          Loading…
      • SKILL.md 1006 B
        Loading…
    • stock-realtime-minute-kline
      • scripts
        • handler.py 2.3 KB
          Loading…
      • SKILL.md 1020 B
        Loading…
    • stock-reports
      • scripts
        • handler.py 3 KB
          Loading…
      • SKILL.md 957 B
        Loading…
    • stock-share
      • scripts
        • handler.py 4.7 KB
          Loading…
        • test_handler.py 3.4 KB
          Loading…
      • SKILL.md 5.8 KB
        Loading…
    • stock-share-chg
      • scripts
        • handler.py 3.5 KB
          Loading…
        • test_handler.py 2 KB
          Loading…
      • SKILL.md 5.8 KB
        Loading…
    • stock-signal-latest-snapshot
      • scripts
        • handler.py 2.4 KB
          Loading…
      • SKILL.md 1.1 KB
        Loading…
    • stock-st-history
      • scripts
        • handler.py 1.9 KB
          Loading…
        • test_handler.py 1.3 KB
          Loading…
      • SKILL.md 1.1 KB
        Loading…
    • SKILL.md 603 B
      Loading…
  • README.md 13.2 KB
    # ftshare-market-data
    
    [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
    [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
    
    `ftshare-market-data` 的当前可用范围不包含暂不支持的美股资产负债表、美股现金流、美股利润表、美股复权因子、港股资产负债表、港股现金流量表、港股利润表、港股估值分析、港股市值和炸板池接口。当前 README 及 `sub-skills/` 仅介绍和提供仍在支持范围内的接口。
    
    ## 在 ftshare 生态中的位置
    
    `ftshare-market-data` 处于 ftshare 生态的数据 Skill 层。它连接 FTShare 数据服务 `market.ft.tech`,为投研任务、MCP 工具和 Agent 应用提供结构化、可直接调用的行情、财报和宏观数据。
    
    ```text
    FTShare 数据服务 (market.ft.tech)
        ↓  HTTP GET(Python 标准库 urllib)
    ftshare-market-data        # run.py 统一路由 + sub-skills 目录中的实际子 skill
        ↓
    Claude Code / Codex / OpenClaw   # Agent 运行时加载本 Skill
        ↓
    用户                       # 自然语言提问 → JSON 结果
    ```
    
    > 这是一份 **Skill**(给 Agent 运行时消费),不是给人 `import` 的 Python 库。如果你需要在数据分析脚本里编程调用、想要 pandas `DataFrame`,请使用独立维护的 `ftshare-python-sdk`;本次 Skill 调整不修改 SDK。
    
    ## 作为 Skill 加载
    
    本目录已包含标准 Skill 描述文件 `SKILL.md`(带 `name` / `description` frontmatter),推荐使用 [`skills`](https://github.com/vercel-labs/skills) CLI 安装:
    
    ```bash
    npx skills add FTShare-Lab/FTShare-skill
    ```
    
    CLI 会自动检测本机 Agent(Claude Code、Codex、OpenCode、OpenClaw、Cursor 等),并把本目录完整安装到对应的 skills 路径。非交互安装示例:
    
    ```bash
    npx skills add FTShare-Lab/FTShare-skill --skill ftshare-market-data -g -a claude-code -y
    ```
    
    也可以手动把本目录放进 Agent 的 skills 路径,例如 Claude Code 项目级 `.claude/skills/ftshare-market-data/` 或用户级 `~/.claude/skills/ftshare-market-data/`。
    
    运行时只需要 Python 3:子 skill 仅使用标准库 `urllib`、`json`,**零第三方依赖**,不需要 `pandas`、`requests`。
    
    ## 快速开始
    
    加载 Skill 后,用户用自然语言提问即可。运行时根据 `SKILL.md` 匹配子 skill、执行 `run.py`,并将返回的 JSON 交回用户。
    
    ```bash
    python <RUN_PY> stock-list-all-stocks
    python <RUN_PY> stock-realtime-minute-kline --symbols 600519.SH 000001.SZ
    python <RUN_PY> hk-candlesticks --trade-code 00700.HK --interval-unit day --until-date 2026-03-24
    ```
    
    `<RUN_PY>` 是本目录下 `run.py` 的绝对路径。当前子 skill 仅对应《FTShare 四档套餐全量接口表》及其活动源文档;已下线、未发布和暂不支持的接口不在范围内。
    
    ```json
    {
        "items": [
            { "stock_code": "000001.SZ", "stock_name": "平安银行" },
            { "stock_code": "000002.SZ", "stock_name": "万科A" }
        ]
    }
    ```
    
    ## 调用方式(唯一规则)
    
    `run.py` 是统一调度入口,与 `SKILL.md` 同级。执行时:
    
    1. 取 `SKILL.md` 的绝对路径,将末尾 `/SKILL.md` 替换为 `/run.py`,得到 `<RUN_PY>`。
    2. 调用:`python <RUN_PY> <子skill名> [参数...]`
    
    ```bash
    # 示例
    python <RUN_PY> stock-list-all-stocks
    python <RUN_PY> stock-ipos --page 1 --page_size 20
    python <RUN_PY> semantic-search-news --query 人工智能
    python <RUN_PY> etf-pcfs --date 20260309
    python <RUN_PY> index-weight-summary --index-code 000300 --page 1 --page-size 20
    python <RUN_PY> index-weight-list --index-code 000300 --page 1 --page-size 20
    python <RUN_PY> hk-candlesticks --trade-code 00700.HK --interval-unit day --until-date 2026-03-24
    python <RUN_PY> nth-trade-date --n 5
    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> economic-china-cpi-monthly
    ```
    
    所有 `market.ft.tech` handler 默认使用 `https://market.ft.tech/gateway`。认证 key 从环境变量 `FTSHARE_API_KEY` 读取,并作为 `FTSHARE_API_KEY` 请求头发送;同时发送 `Content-Type: application/json`。缺少凭据时 handler 不会发起请求。本地或内网服务可通过环境变量切换 API 地址:
    
    ```bash
    FTSHARE_BASE_URL=http://127.0.0.1:8000/ python <RUN_PY> stock-list-all-stocks
    ```
    
    > `run.py` 内部通过 `__file__` 自定位,无论安装在何处都能正确找到各子 skill 的脚本。
    
    ## 返回类型
    
    所有子 skill 一律向 **标准输出打印 JSON**,运行时(Agent)会直接读取这份 JSON,再决定如何以表格 / 要点形式展示给用户。
    
    需要手工解析时(如冒烟测试、定时任务):Shell 中配合 `jq`:
    
    ```bash
    python run.py stock-list-all-stocks | jq '.items[0:3]'
    ```
    
    响应中常见的表格数据信封包括:`data.records`、`data.items`、顶层 `items`、顶层数组。各子 skill 的 `SKILL.md` 会标注其具体响应结构与字段含义。
    
    ## 分页
    
    分页接口同时支持传统 `--page / --page_size` 和更方便的 `--all` 自动翻页。
    
    取单页:
    
    ```bash
    python run.py stock-ipos --page 1 --page_size 20
    ```
    
    自动翻页拉取全量数据:
    
    ```bash
    python run.py stock-ipos --all
    ```
    
    `--all` 仅在具体子 skill 的 `SKILL.md` 明确说明时可用;分页参数也以对应源文档为准。
    
    ## 能力总览
    
    子 skill 以《FTShare 四档套餐全量接口表》为范围依据,按股票、ETF、指数、基金、可转债、期货、港股、板块、资金流、财务、公司治理、新闻公告研报和宏观经济等领域组织。每个接口的参数、响应字段和限制见对应子目录的 `SKILL.md` 及活动源文档;`api-doc/已下线`、`api-doc/未发布` 不计入范围。
    
    
    | 域 | 代表子 skill |
    |---|---|
    | **交易日 / 财经日历 / 新闻公告研报** | `nth-trade-date`、`trading-calendar`、`financial-calendar`、`semantic-search-news`、`news-reaction-snapshot`、`stock-announcements`、`stock-reports`、`stock-prospectuses` |
    | **A 股行情 / 基础** | `stock-list-all-stocks`、`stock-description-all`、`stock-quotes-list`、`stock-ipos`、`stock-intraday`、`stock-candlesticks-daily`、`eastmoney-all-board-daily-ohlc`、`block-trades`、`margin-trading-details`、`continuous-auction-volume`、`intraday-auction-volume` |
    | **A 股财报 / 业绩** | `stock-income-*`、`stock-balance-*`、`stock-cashflow-*`、`stock-performance-express-*`、`stock-performance-forecast-*` |
    | **A 股股东 / 质押 / 增减持** | `stock-holder-ten`、`stock-holder-ften`、`stock-holder-nums`、`pledge-summary`、`pledge-detail`、`stock-share-chg`、`executive-holdings-changes`、`eastmoney-shareholder-changes` |
    | **A 股公司行动 / 代码与状态** | `shareholder-meeting`、`stock-dividends`、`stock-dividends-effective`、`major-contract-by-date`、`major-contract-by-symbol`、`major-contract-summary`、`ashare-code-change`、`ashare-code-change-timeline`、`ashare-status-change`、`stock-st-history` |
    | **A 股估值 / 千股千评 / 热度 / 资金流** | `eastmoney-stock-valuation`、`eastmoney-market-valuation`、`stock-comment-index/score/org-participate/desire/focus`、`stock-rank-xueqiu`、`stock-rank-eastmoney`、`stock-capital-flows` |
    | **A 股技术面因子(特色数据)** | `stock-tech-factor` |
    | **A 股涨跌停** | `limit-up-pool`、`limit-up-pool-yesterday`、`limit-down-pool`、`stock-minute-seal` |
    | **A 股商誉** | `stock-goodwill-detail`、`stock-goodwill-impairment`、`stock-goodwill-industry`、`stock-goodwill-market-overview`、`stock-goodwill-predict` |
    | **A 股供应链(特色数据)** | `supply-chain-industry-names`、`supply-chain-one-hop`、`supply-chain-companies`、`supply-chain-subsubindustry-companies`、`supply-chain-parent-subindustries`、`supply-chain-subsubindustries` |
    | **可转债** | `cb-lists`、`cb-base-data`、`convertible-bond-candlesticks`、`convertible-bond-candlesticks-batch`、`convertible-bond-minutes`、`convertible-bond-realtime-day-kline`、`convertible-bond-realtime-minute-kline`、`convertible-bond-szse-matching-trades` 等深交所成交明细 |
    | **ETF** | `etf-description-all`、`etf-components-all`、`etf-component-details`、`etf-pre-single`、`etf-pcfs`、`etf-pcf-infos`、`etf-share`、`etf-net-value`、`etf-announcements`、`etf-adjust-factor`、`etf-candlesticks`、`etf-candlesticks-batch`、`etf-minutes`、`etf-minutes-batch`、`etf-realtime-minute-kline`、`etf-realtime-day-kline`、`eastmoney-etf-flow` |
    | **基金** | `fund-basicinfo-single-fund`、`fund-cal-return-...`、`fund-nav-single-fund-paginated`、`fund-overview-all-funds-paginated`、`fund-support-symbols-all-funds-paginated` |
    | **指数** | `index-detail`、`index-list-paginated`、`index-ohlcs`、`index-prices`、`index-candlesticks`、`index-candlesticks-batch`、`index-minutes`、`index-minutes-batch`、`sw-index-history-minutes`、`index-realtime-minute-kline`、`index-realtime-day-kline`、`index-description-all`、`index-description-paginated`、`index-weight-list`、`index-weight-summary` |
    | **板块(东财 / 同花顺)** | `eastmoney-concept-boards`、`eastmoney-board-constituents/daily-ohlc/latest-ohlc`、`10jqk-board-list/kline/all-kline`、`ths-industry-constituents`、`ths-board-constituents` |
    | **港股** | `company-hk`、`hk-candlesticks`、`northbound`、`southbound`、`eastmoney-hk-index-daily-kline`、`hsi-daily-weight` |
    | **美股** | `eastmoney-us-stock-list`、`eastmoney-us-stock-daily-ohlc`、`us-basic` |
    | **期货** | `futures-base-data`、`futures-lists`、`futures-limit`、`futures-settle`、`futures-weekly-detail`、`futures-warehouse-receipt`、`futures-kline`、`futures-kline-batch`、`futures-minutes`、`futures-realtime-minute-kline`、`futures-realtime-day-kline`、`eastmoney-futures-position`、`eastmoney-futures-strange`、`member-build-process`、`member-position-ranking` |
    | **宏观经济(中国 + 美国)** | `economic-china-gdp/cpi/ppi/pmi/lpr/...-monthly`(15 项)、`economic-us-economic-by-type`(16 类,按 `--type`) |
    
    ## 名称 → 代码映射
    
    部分接口只接受代码而非名称。具体代码格式与映射方式以对应子 skill 文档为准。
    
    ## 查看可用接口
    
    不带参数运行 `run.py` 会打印用法并列出全部可用子 skill:
    
    ```bash
    python run.py
    ```
    
    查看某个接口的详细参数、响应结构与字段说明:
    
    ```bash
    cat sub-skills/stock-list-all-stocks/SKILL.md
    ```
    
    ## Base URL 配置
    
    `market.ft.tech` 接口默认以 `https://market.ft.tech/gateway` 为基础地址,使用 HTTP GET;每个请求均需在请求头携带 `FTSHARE_API_KEY` 和 `Content-Type: application/json`:
    
    ```text
    /api/v1/market/data/<接口路径>
    ```
    
    如需切到本地或内网服务,设置 `FTSHARE_BASE_URL`。变量里是否带 `/gateway` 会原样保留:
    
    ```bash
    FTSHARE_BASE_URL=http://127.0.0.1:8000/ python <RUN_PY> stock-list-all-stocks
    FTSHARE_BASE_URL=http://127.0.0.1:8000/gateway/ python <RUN_PY> stock-list-all-stocks
    ```
    
    - 所有 `market.ft.tech` 接口都通过 `FTSHARE_BASE_URL` 切换基础地址。
    
    ## 安全与约束
    
    - **域名白名单**:使用 `safe_urlopen` 的 handler 会校验请求协议和主机匹配当前基础地址;设置 `FTSHARE_BASE_URL` 后按该地址校验。
    - **子 skill 白名单**:`run.py` 仅允许 `sub-skills/<名称>/scripts/handler.py` 形态的子 skill,防止路径遍历。
    - **下载落盘限制**:含 `--output` 的下载类接口仅允许写入**当前工作目录**下的路径;越界直接非零退出。`run.py` 不再切换进程工作目录,故「当前工作目录」即发起命令的 shell 目录。
    - **断点续传**:支持续传的接口把半成品写在 `<目标文件>.part`,旁边 `<目标文件>.part.meta` 记录来源 URL 与服务端 ETag。续传带 `If-Range`,服务端若已重新生成该文件(ETag 变化)会退回 200,此时截断重写而非追加,避免拼出坏包。来源不明的 `.part` 一律丢弃重下。
    - **依赖前序接口的参数**:下载类接口的 `url_hash` / `year` 须先由对应的列表接口取得,勿硬编码。
    
    ## 项目结构
    
    ```text
    ftshare-market-data/
      SKILL.md                # Skill 入口文档:frontmatter(name/description)+ 能力总览 + 调用规则
      run.py                  # 统一调度入口:校验并执行子 skill 的 handler
      README.md               # 本文档
      sub-skills/
        <子skill名>/
          SKILL.md            # 该接口的参数、响应结构、字段说明
          scripts/
            handler.py        # 具体实现:HTTP GET → 打印 JSON
    ```
    
    ## 与 ftshare-python-sdk 的关系
    
    本仓库是 **Skill(命令行驱动,给 Agent 运行时)**;`ftshare-python-sdk` 是 **Python 库(给开发者编程)**。两者覆盖同一批 FTShare 数据接口,按使用形态区分:
    
    | | ftshare-market-data(本仓库) | ftshare-python-sdk |
    |---|---|---|
    | 形态 | Skill(被运行时加载) | pip 包 |
    | 入口 | `python run.py <子skill>` | `ft.market_api().<方法>()` |
    | 返回 | 原始 JSON(stdout) | pandas `DataFrame` |
    | 消费者 | Claude Code / Codex / OpenClaw | 数据分析脚本 / 量化研究 |
    | 依赖 | 仅 Python 标准库 | `pandas`、`requests` |
    
  • run.py 2.7 KB
    Loading…
  • SKILL.md 5.8 KB
    ---
    name: ftshare-market-data
    description: FTShare 市场数据技能集。根据用户对股票、ETF、指数、基金、可转债、期货、港股、美股、资金流、财务数据或宏观数据的查询意图,匹配并执行对应子 skill。
    ---
    
    # 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
    python <RUN_PY> sge-spot-description-all --category spot_deferred --active-only
    python <RUN_PY> market-announcements --keyword 回购 --start-date 20261001 --end-date 20261031 --page 1 --page-size 20
    python <RUN_PY> periodic-reports --stock-code 000001.SZ --report-type annual --page 1 --page-size 20
    python <RUN_PY> index-fut-depth --trade-date 20261030 --code-prefix IF
    ```
    
    下载类:
    
    ```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
    python <RUN_PY> market-announcements --url-hash 7d3176c8...c846f8dfbc --output ./ann.pdf
    python <RUN_PY> periodic-reports --url-hash 37801609...68090432 --output ./report.pdf
    ```
    
    ## 能力范围
    
    当前子 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 的同步由独立任务负责。
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.