China Market Data logo

China Market Data

Community
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.

Overview

Publisherjwangkun
Repositoryclaude-for-financial-services-cn
Skill namechina-market-data
Stars
834
Forks
132
Bundled files
Instructions only
LicenseApache-2.0
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by jwangkun on GitHub. Read the source before you install it.

Installation

Install the China 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/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-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/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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable China 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 China 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 China 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.

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 有基础宏观数据

Frequently asked questions

What does the China Market Data AI skill do?

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.

Why use China Market Data on TypingMind?

Because you install it once and use it with any model. China 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 China Market Data in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-market-data. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use China 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 China Market Data?

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

Is the China Market Data AI skill free?

Yes. It is published on GitHub by jwangkun under the Apache-2.0 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 👇