China Market Data 标志

China Market Data

社区
jwangkun
china-market-data

Query A-share and Chinese financial market data via multiple data sources. Tier-1 paid source is iFind (同花顺, covers stocks/funds/macro/bonds/HK-US/ESG/index-sectors). Tier-2 free source is AkShare (行情/财报/行业/指数). Use whenever the agent needs Chinese financial data — compatible with 沪深 A 股, 科创板, 创业板, 北交所, and 港股通 stocks.

Add to TypingMind

概览

发布者jwangkun
代码仓库claude-for-financial-services-cn
技能名称china-market-data
星标数
834
复刻数
132
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 jwangkun 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 China Market Data AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-market-data
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jwangkun/claude-for-financial-services-cn.git /tmp/claude-for-financial-services-cn
mkdir -p .claude/skills
cp -r /tmp/claude-for-financial-services-cn/agent-plugins/china-earnings-reviewer/skills/china-market-data .claude/skills/china-market-data
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 China Market Data,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 China Market Data。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 China Market Data 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

china-market-data

Data sources (multi-tier)

Tier 0 — 万得 Wind(最全面付费数据)

  • 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
  • MCP 服务:wind-mcp(需 WIND_API_KEY 密钥,以 ak_ 开头)
  • 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
  • 密钥申请:https://aifinmarket.wind.com.cn/#/home

Tier 1 — 同花顺 iFind(付费精确数据)

  • 覆盖:股票、基金、宏观经济、新闻公告、债券、港美股、指数板块
  • MCP 服务:ifind-mcp(需 IFIND_AUTH_TOKEN 密钥)
  • 优势:精确财务数据、一致预期、ESG评级、债券详情、港美股、宏观行业指标
  • 并发限制:免费版 2/s,个人版 5/s,企业版 10/s

Tier 2 — AkShare(免费开源数据)

  • 覆盖:A 股行情、财报、行业分类、指数
  • MCP 服务:akshare-mcp(无需密钥,直接启动)
  • 优势:无并发限制,适合高频批量查询

Tier 3 — 新闻公告(免费)

  • MCP 服务:china-news-mcp
  • 覆盖:个股新闻、市场头条

数据源优先级策略

场景Wind (Tier-0)iFind (Tier-1 首选)AkShare (Tier-2 备选)
股票财务报表(利润表/资产负债表)wind_get_stock_fundamentalsifind_get_stock_financialsget_financials
股票基本面/行情wind_get_stock_basicinfoifind_get_stock_infoget_stock_info / get_quote
股票行情快照(实时行情)wind_get_stock_price_indicatorsifind_get_stock_infoget_quote
股票K线(OHLCV历史)wind_get_stock_kline—get_historical_data
股票技术指标wind_get_stock_technicals——
智能选股wind_search_stocksifind_search_stockssearch_stock(仅关键词)
股东/股本结构wind_get_stock_equity_holdersifind_get_stock_shareholders—
一致预期/估值wind_get_stock_consensus——
风险指标(夏普/Beta/波动率)wind_get_risk_metricsifind_get_risk_indicators—
ESG 评级—ifind_get_esg_data—
基金资料/行情/持仓wind_get_fund_*ifind_search_funds / ifind_get_fund_*get_fund_data
宏观经济指标wind_get_economic_dataifind_search_edb → ifind_get_edb_data—
债券基本信息wind_get_bond_basicinfoifind_bond_basic_info—
债券行情数据wind_get_bond_market_dataifind_bond_market_data—
港美股基本面wind_get_global_stock_fundamentalsifind_global_stock_financial—
港美股基本信息wind_get_global_stock_basicinfoifind_global_stock_profile—
指数/板块wind_get_index_constituentsifind_index_data / ifind_sector_dataget_index_data
新闻/公告wind_get_announcementsifind_search_news / ifind_search_noticeget_stock_news
财经新闻wind_get_financial_newsifind_search_trending_newsget_market_headlines
公司公告wind_get_company_announcementsifind_search_notice—
行业分类/成分股wind_get_index_constituentsifind_sector_dataget_industry_stocks
市场概览(涨跌幅榜)——get_market_overview
研报搜索wind_search_research——
因子/策略分析wind_factor_analysis / wind_backtest——
兜底取数(通用数据查询)wind_get_financial_data——

Data Source Mode Switch (env var IFIND_DATA_SOURCE_MODE):

  • wind-only (strict): Wind only, error if unavailable
  • wind-fallback (recommended): Wind preferred, fallback to iFind → AkShare
  • ifind-only (strict): iFind only, error if unavailable
  • ifind-fallback (default): iFind preferred, fallback to AkShare
  • akshare-only: AkShare only, skip Wind/iFind

Usage: export IFIND_DATA_SOURCE_MODE=ifind-only


iFind MCP tools(mcp__ifind__*)

股票服务

ToolPurpose
ifind_search_stocks自然语言智能选股
ifind_get_stock_summary股票信息摘要
ifind_get_stock_info基本资料 / 日频行情 / 技术指标
ifind_get_stock_shareholders股本结构与股东
ifind_get_stock_financials财务数据与指标
ifind_get_risk_indicators风险定量指标
ifind_get_stock_events上市公司重大事件
ifind_get_esg_dataESG 评级数据

基金服务

ToolPurpose
ifind_search_funds基金搜索
ifind_get_fund_profile基金基本资料
ifind_get_fund_market_performance基金行情与业绩
ifind_get_fund_ownership基金份额与持有人
ifind_get_fund_portfolio基金持仓明细
ifind_get_fund_financials基金财务指标
ifind_get_fund_company_info基金公司信息

宏观经济 / 行业经济指标

ToolPurpose
ifind_search_edb指标模糊搜索(先搜再查)
ifind_get_edb_data指标数据查询

新闻公告

ToolPurpose
ifind_search_news新闻资讯语义检索
ifind_search_notice上市公司公告语义检索
ifind_search_trending_news热点事件资讯

债券

ToolPurpose
ifind_bond_basic_info债券基本信息
ifind_bond_market_data债券行情与估值
ifind_bond_financial_data发债主体财务
ifind_bond_special_data可转债/信用债特殊条款

港美股

ToolPurpose
ifind_search_global_stocks港美股智能选股
ifind_global_stock_profile港美股基本资料
ifind_global_stock_quotes港美股行情
ifind_global_stock_financial港美股财务
ifind_global_stock_events港美股公告事件

指数板块

ToolPurpose
ifind_index_data指数行情 / 技术指标 / 估值
ifind_sector_data板块行情 / 成分股分析

AkShare MCP tools(mcp__akshare__*)

ToolPurpose
search_stockSearch A-share stocks by code or name
get_quoteReal-time quote (price, PE, PB, market cap)
get_historical_dataOHLCV history (daily/weekly/monthly), forward-adjusted
get_financials利润表/资产负债表/现金流量表
get_industry_stocks行业分类 & 成分股 (东方财富行业)
get_index_data指数行情 (上证/深证/创业板/科创50)
get_stock_info公司基本信息 & 业务范围
get_market_overview涨幅榜/跌幅榜/成交额榜
get_fund_data公募基金/ETF 行情

The china-news MCP server provides:

ToolPurpose
get_stock_news个股新闻
get_market_headlines市场头条

Workflow

1. Identify the stock/security

python
# iFind — 自然语言选股
ifind_search_stocks(query="电子行业市值大于100亿")

# AkShare — 关键词搜索
search_stock(keyword="茅台")

2. Pull market data

python
# iFind — 精确财务
ifind_get_stock_financials(query="贵州茅台2024年年报的ROE、ROA、净利润增速")

# AkShare — 历史行情
get_historical_data(ticker="600519", start_date="20240101", end_date="20241231", frequency="daily")

# AkShare — 财务报表
get_financials(ticker="600519", statement_type="income", period="annual")

3. Industry / peer context

python
# iFind — 板块分析
ifind_sector_data(query="白酒板块的成分股个数及过去5日平均涨跌幅")

# AkShare — 行业成分
get_industry_stocks(industry="白酒")

# iFind — 指数
ifind_index_data(query="沪深300过去10个交易日的涨跌幅和收盘点数")

4. Macro / EDB indicators

python
# 先搜索再取数
ifind_search_edb(query="新能源汽车产量相关指标")
ifind_get_edb_data(query="新能源汽车产量当月值(202301-202506)")

5. News and sentiment

python
# iFind — 公告语义检索
ifind_search_notice(query="贵州茅台2024年年度报告 分红", time_start="2025-01-01", time_end="2025-12-31", size=5)

# AkShare — 个股新闻
get_stock_news(ticker="600519")

Note on data coverage

  • A-shares: Full coverage via both iFind and AkShare (SH, SZ, BJ, STAR, ChiNext)
  • Hong Kong stocks (港股通): iFind 完整覆盖;AkShare 部分覆盖
  • US-listed Chinese ADRs: iFind 通过 ifind_global_stock_* 覆盖
  • Funds: iFind 完整覆盖(资料/行情/持仓/持有人);AkShare 仅 ETF 行情
  • Bonds: iFind 覆盖信用债/可转债/回购;AkShare 需扩展
  • ESG: 仅 iFind 提供
  • 宏观经济: iFind EDB 覆盖最广;AkShare 有基础宏观数据

常见问题

China Market Data AI 技能有什么作用?

Query A-share and Chinese financial market data via multiple data sources. Tier-1 paid source is iFind (同花顺, covers stocks/funds/macro/bonds/HK-US/ESG/index-sectors). Tier-2 free source is AkShare (行情/财报/行业/指数). Use whenever the agent needs Chinese financial data — compatible with 沪深 A 股, 科创板, 创业板, 北交所, and 港股通 stocks.

为什么在 TypingMind 中使用 China Market Data?

因为您只需安装一次,就能搭配任何模型使用。China Market Data 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 China Market Data?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-market-data。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 China Market Data?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

China Market Data 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 China Market Data 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

China Market Data AI 技能免费吗?

是的。jwangkun 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇