Agent skill

Eastmoney Market Data

by HKUDS in HKUDS/Vibe-Trading

Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.

MITAuto-check passedBusiness, Finance & HR

SKILL.md written in Chinese; this summary is our English description.

Install Eastmoney Market Data

skills CLI
$ npx skills add HKUDS/Vibe-Trading --skill eastmoney -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HKUDS/Vibe-Trading eastmoney --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/src/skills/eastmoney .claude/skills/eastmoney && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
eastmoney
GitHub stars
35k
Token cost
~1k tokens
SKILL.md length
217 words
Files
18 (incl. scripts, references)
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.

  • Checking main-force fund flow for an A-share stock
  • SKILL.md covers 概述, 快速上手, 参数格式说明 and python 脚本示例, plus 1 more section
  • Looking up dragon-tiger list seat rankings or block trades
  • Pulling broker research reports and financial news for a ticker

What it does

Written in Chinese, the skill is an index page for free, authentication-free Eastmoney interfaces that Vibe-Trading wraps as built-in tools, each returning a JSON envelope with an ok flag. They cover fund flow, the dragon-tiger list, margin financing and short selling, block trades, shareholder counts, restricted-share release schedules, industry and concept boards, broker research reports, financial news, the three financial statements with key indicators for A-shares and Hong Kong stocks, whole-market stock screening and code search. US financial statements are routed to SEC EDGAR through get_financial_statements.

Eastmoney throttles by source IP and temporarily bans bursts, so every call goes through a shared per-host rate limiter and the agent must not hit the endpoints directly. The minimum request interval defaults to 1.0 seconds and can be changed with the VIBE_TRADING_EASTMONEY_MIN_INTERVAL variable. Symbols use a code-dot-exchange form such as 600519.SH, 000001.SZ, 00700.HK and AAPL.US. Endpoint details live in the references folder, and four example Python scripts show fund flow, disclosure, fundamentals and screening workflows.

When your agent uses it

  • Checking main-force fund flow for an A-share stock
  • Looking up dragon-tiger list seat rankings or block trades
  • Pulling broker research reports and financial news for a ticker
  • Screening the whole A-share market or searching for a stock code

Example prompts

  • “Show the fund flow for 600519.SH over the past 30 days.”
  • “Which stocks made the dragon-tiger list yesterday, and who were the top seats?”
  • “Pull the three financial statements for 00700.HK.”

Requirements

  • The Vibe-Trading tools that wrap the Eastmoney interfaces
  • Python

What it can do on your machine

Read from SKILL.md and the folder at commit 8e43007. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Eastmoney Market Data loads about 1k tokens when it runs, and up to ~9.4k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 217 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from HKUDS/Vibe-Trading at commit 8e43007, republished under its MIT licence (© HKUDS). 217 words, ~1,041 tokens.

Download SKILL.mdSave it as .claude/skills/eastmoney/SKILL.md (or your agent's skills folder). This skill also uses 17 other files; get the full folder from GitHub.
name
eastmoney
description
东方财富(Eastmoney)免费免鉴权数据接口,覆盖资金流向、龙虎榜、融资融券、大宗交易、股东户数、限售解禁、行业概念板块、券商研报、财经新闻、A股/港股三大报表+主要指标、全市场选股与代码搜索;美股财报由 get_financial_statements 转 SEC EDGAR。东财请求经共享 IP 限速层节流(东财按源 IP 限流并临时封禁突发请求),通过 Vibe-Trading 工具直接调用,无需 token。
category
data-source

Eastmoney(东方财富)

概述

东方财富对外开放了一批免费、免鉴权的行情与披露接口(push2 / push2his / datacenter-web / reportapi / search-api)。这些接口由 Vibe-Trading 内置工具封装,统一返回 {"ok": true/false, ...} JSON 信封,覆盖 A 股 / 港股 / 美股的资金面、披露面、舆情面与基本面数据。本技能是上述接口的索引页:每个接口的端点 URL、入参、返回字段写在 references/ 下;调用范例写在 scripts/ 下。

限速红线:东方财富按源 IP 限流,并会临时封禁突发请求。所有工具内部已经过共享 per-host 节流层(backtest.loaders._http),切勿绕过工具直接对端点发起裸 HTTP 突发请求。可用环境变量 VIBE_TRADING_EASTMONEY_MIN_INTERVAL 调整最小请求间隔(默认 1.0 秒)。

快速上手

这些接口已注册为 Vibe-Trading 工具,直接以工具名调用即可,无需安装 SDK、无需 token:

python
from src.tools.fund_flow_tool import FundFlowTool

# 主力 / 超大单 / 大单 / 中单 / 小单 净流入(近 30 日)
print(FundFlowTool().execute(codes=["600519.SH", "00700.HK"], period="daily", days=30))

底层共享客户端 backtest.loaders.eastmoney_client 负责 secid 解析与限速 GET:

python
from backtest.loaders.eastmoney_client import resolve_secid, get_json

resolve_secid("600519.SH")   # -> "1.600519"
resolve_secid("00700.HK")    # -> "116.00700"
resolve_secid("AAPL.US")     # -> "105.AAPL"(经 suggest 端点解析并进程内缓存)

参数格式说明

  • 代码(symbol):<code>.<exchange> 形式,交易所后缀大写。A 股 600519.SH / 000001.SZ / 830799.BJ,港股 00700.HK(零填充至 5 位),美股 AAPL.US。
  • secid:东财内部寻址 <market>.<code>。SH=1,SZ/BJ=0,HK=116,美股 NASDAQ=105 / NYSE=106 / AMEX=107(美股 market 前缀由 suggest 端点解析)。
  • 日期:datacenter filter 用 YYYY-MM-DD;kline beg/end 用 YYYYMMDD。
  • 返回:统一 JSON 字符串信封,成功 {"ok": true, "market", "source": "eastmoney", "data": {...}},失败 {"ok": false, "error": ...}。单个失败 symbol 以 per-symbol error 上报,不中断批次。

链接约定:本文档内所有指向 references/ 的链接均以相对本文档的形式书写(references/...),这是 GitHub 在浏览器中打开该文件时解析的形式。read_file 工具会把同一字符串解析到拥有它的技能目录下,因此人和 agent 读到的是同一份文件。新增文档请沿用相对形式,并保证 references 路径在各技能之间不重名:两个技能同时拥有的路径会被报为歧义,而不会被猜测。

python 脚本示例

接口列表

资金面
工具标题(详细文档)市场描述
get_fund_flow资金流向A股/港股/美股主力/超大单/大单/中单/小单净流入,日线历史或当日分钟线
龙虎榜
工具标题(详细文档)市场描述
get_dragon_tiger龙虎榜A股某交易日全市场上榜个股 + 指定个股的买卖席位排名
参考数据(披露面)
工具标题(详细文档)市场描述
get_margin_trading融资融券A股个股每日融资余额/融资买入/融券余额/RZRQ 合计
get_block_trades大宗交易A股逐笔成交价/量/额、相对收盘折溢价、买卖营业部
get_shareholder_count股东户数A股各报告期股东户数、环比变动、户均持股
get_lockup_expiry限售解禁A股个股全历史解禁表,或全市场未来 N 日解禁日历
板块
工具标题(详细文档)市场描述
get_sector_info行业概念板块A股个股所属行业/概念板块(membership)或行业板块按涨幅排名(ranking)
研报舆情
工具标题(详细文档)市场描述
get_research_reports券商研报A股券商研报列表(标题/机构/分析师/评级/EPS·PE 预测)+ 同花顺一致预期 EPS
get_stock_news财经新闻A股/港股/美股个股新闻或全市场财经快讯(A 股走东财,美/港走 Yahoo)
财务报表(A 股 / 港股;美股走 SEC)
工具标题(详细文档)市场描述
get_financial_statements三大报表与主要指标A股/港股(东财)·美股(SEC EDGAR)资产负债表/利润表/现金流量表/主要指标;美股不再走东财
选股检索
工具标题(详细文档)市场描述
screen_market全市场选股A股/美股/港股全市场按涨跌幅/成交量/成交额/换手率排名取 top N
search_symbol代码搜索多市场名称/代码片段解析为候选 symbol + 市场(东财 suggest + Yahoo + SEC CIK)

© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 17 other files (scripts, references) in agent/src/skills/eastmoney of HKUDS/Vibe-Trading.

  • SKILL.md
  • references/参考数据/大宗交易.md
  • references/参考数据/股东户数.md
  • references/参考数据/融资融券.md
  • references/参考数据/限售解禁.md
  • references/板块/行业概念板块.md
  • references/研报舆情/券商研报.md
  • references/研报舆情/财经新闻.md
  • references/财务报表/三大报表与主要指标.md
  • references/资金面/资金流向.md
  • references/选股检索/代码搜索.md
  • references/选股检索/全市场选股.md
  • references/龙虎榜/龙虎榜.md
  • … and 5 more

Open the folder on GitHubat commit 8e43007

Compare with similar skills

Eastmoney Market Data next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Eastmoney Market Data compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Eastmoney Market Data this skillHKUDS/Vibe-Trading35k—~1kAutomated safety check: PassMIT
US Market Data ToolkitGeeksfino/finskills282—~1.2kAutomated safety check: PassApache-2.0
A-Share Daily Reviewqusong0627/QuantMind1.7k—~1.9kAutomated safety check: PassAGPL-3.0
Financial Researchfirecrawl/web-agent1.2k—~1.1kAutomated safety check: PassMIT
Senpi Market PulseSenpi-ai/senpi-skills134—~4.9kAutomated safety check: PassApache-2.0
Stock Deep Analysis Workflowwbh604/UZI-Skill7.1k—~9.1kAutomated safety check: NotesMIT

Similar skills

  • US Market Data Toolkit

    Geeksfino/finskills

    Free Python scripts that fetch US stock data, SEC filings, insider trades and macro indicators, and run financial score calculators and portfolio analytics.

    282 GitHub stars~1.2k tokensUpdated 7 mo ago
    Business, Finance & HRAuto-check passed
  • A-Share Daily Review

    qusong0627/QuantMind

    Produces a post-market review report for the China A-share market from local QuantDB data, news sentiment and model signals, ending in a next-day direction call.

    1.7k GitHub stars~1.9k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Financial Research

    firecrawl/web-agent

    Pulls a public company's latest 10-K or 10-Q figures and analyst consensus from SEC EDGAR and Yahoo Finance, then cross-checks the two sources.

    1.2k GitHub stars~1.1k tokensUpdated 5 mo ago
    Business, Finance & HRAuto-check passed
  • Senpi Market Pulse

    Senpi-ai/senpi-skills

    Produces a structured cross-asset read of the day across crypto, equities, indices, commodities and macro, using a bundled engine for data and ending with a signals brief.

    134 GitHub stars~4.9k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Runs a staged deep analysis of a single stock on China A-share, Hong Kong and US markets, ending in an HTML report with valuation models and investor-panel scores.

    7.1k GitHub stars~9.1k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check: notes
  • Scans a long-running industry trend for supply chain chokepoints, aiming to find second- and third-layer suppliers that the market has not yet priced in.

    17k GitHub stars~2.6k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed

More from HKUDS/Vibe-Trading

All 89 skills in this repo
  • OKX Market Data

    HKUDS/Vibe-Trading

    Retrieves public OKX cryptocurrency market data such as spot prices, candlesticks, funding rates and open interest through the OKX V5 REST API, with no authentication.

    35k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • SEC EDGAR Filings Fetcher

    HKUDS/Vibe-Trading

    Fetches U.S. SEC EDGAR data: resolves tickers to CIK numbers, lists recent 10-K, 10-Q and 8-K filings with document URLs, and pulls XBRL financial series.

    35k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • A-Share ST Risk Screener

    HKUDS/Vibe-Trading

    Predicts whether a mainland China A-share company risks an ST or *ST warning after its next annual report, using financial thresholds and Sina penalty records.

    35k GitHub stars~4.9k tokensUpdated yesterday
    Auto-check passed
  • Breaks a structural trend such as AI infrastructure into its physical supply chain and ranks lesser-known listed companies sitting on each bottleneck.

    35k GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Plans and drafts an eight-part, roughly 120k-word investigative series on one company, built around a strict fact-check pass rather than fast drafting.

    35k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Investment Thesis Tracker

    HKUDS/Vibe-Trading

    Keeps a written investment thesis for each stock you hold and re-checks it every quarter against new earnings, scoring its health and recommending hold, add, trim or exit.

    35k GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Eastmoney Market Data

What does Eastmoney Market Data do?

Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news. Written in Chinese, the skill is an index page for free, authentication-free Eastmoney interfaces that Vibe-Trading wraps as built-in tools, each returning a JSON envelope with an ok flag. They cover fund flow, the dragon-tiger list, margin financing and short selling, block trades, shareholder counts, restricted-share release schedules, industry and concept boards, broker research reports, financial news, the three financial statements with key indicators for A-shares and Hong Kong stocks, whole-market stock screening and code search.

When should I use Eastmoney Market Data?

Eastmoney Market Data fits situations like: checking main-force fund flow for an A-share stock; looking up dragon-tiger list seat rankings or block trades; pulling broker research reports and financial news for a ticker; screening the whole A-share market or searching for a stock code.

How do I install Eastmoney Market Data in Claude Code?

Run `npx skills add HKUDS/Vibe-Trading --skill eastmoney -a claude-code`. Or copy the skill folder (agent/src/skills/eastmoney in HKUDS/Vibe-Trading) into .claude/skills/eastmoney in your project. Claude Code loads it when a task matches its description.

How do I install Eastmoney Market Data in Codex?

Run `npx skills add HKUDS/Vibe-Trading --skill eastmoney -a codex`. Or copy the skill folder (agent/src/skills/eastmoney in HKUDS/Vibe-Trading) into .agents/skills/eastmoney in your project. Codex loads it when a task matches its description.

Can I use Eastmoney Market Data in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/Vibe-Trading --skill eastmoney -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/eastmoney, .gemini/skills/eastmoney, .github/skills/eastmoney and .opencode/skills/eastmoney in your project.

What does Eastmoney Market Data need to run?

SKILL.md names no scripts, command-line tools or credentials: Eastmoney Market Data is instructions for the agent only. Our summary lists: The Vibe-Trading tools that wrap the Eastmoney interfaces; Python.

Does Eastmoney Market Data access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Eastmoney Market Data safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Eastmoney Market Data use?

Eastmoney Market Data is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Eastmoney Market Data use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.3k tokens, read only when the agent opens those files.

What are the alternatives to Eastmoney Market Data?

Skills that share tags, products or a category with Eastmoney Market Data: US Market Data Toolkit (Geeksfino/finskills, 282 stars), A-Share Daily Review (qusong0627/QuantMind, 1.7k stars), Financial Research (firecrawl/web-agent, 1.2k stars) and Senpi Market Pulse (Senpi-ai/senpi-skills, 134 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Eastmoney Market Data?

HKUDS (a GitHub organization) maintains it in HKUDS/Vibe-Trading, which has 35,163 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 10, 2026.

Source: HKUDS/Vibe-Trading on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.