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.
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.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add HKUDS/Vibe-Trading --skill eastmoney -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HKUDS/Vibe-Trading eastmoney --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "eastmoney" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/eastmoney into .claude/skills/eastmoney/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "eastmoney", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/eastmoneyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HKUDS/Vibe-Trading --skill eastmoney -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HKUDS/Vibe-Trading eastmoney --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agent/src/skills/eastmoney .agents/skills/eastmoney && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "eastmoney" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/eastmoney into .agents/skills/eastmoney/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "eastmoney", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/Vibe-Trading --skill eastmoney -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HKUDS/Vibe-Trading eastmoney --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agent/src/skills/eastmoney .cursor/skills/eastmoney && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "eastmoney" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/eastmoney into .cursor/skills/eastmoney/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "eastmoney", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HKUDS/Vibe-Trading.git --path agent/src/skills/eastmoney--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HKUDS/Vibe-Trading --skill eastmoney -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HKUDS/Vibe-Trading eastmoney --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agent/src/skills/eastmoney .gemini/skills/eastmoney && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "eastmoney" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/eastmoney into .gemini/skills/eastmoney/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "eastmoney", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HKUDS/Vibe-Trading eastmoneyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HKUDS/Vibe-Trading --skill eastmoney -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .github/skills && cp -r skills-src/agent/src/skills/eastmoney .github/skills/eastmoney && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "eastmoney" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/eastmoney into .github/skills/eastmoney/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "eastmoney", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/Vibe-Trading --skill eastmoney -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HKUDS/Vibe-Trading eastmoney --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agent/src/skills/eastmoney .opencode/skills/eastmoney && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "eastmoney" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/eastmoney into .opencode/skills/eastmoney/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "eastmoney", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
eastmoneyIndex 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. 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.
Read from SKILL.md and the folder at commit 8e43007. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/, which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
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.
The full file from HKUDS/Vibe-Trading at commit 8e43007, republished under its MIT licence (© HKUDS). 217 words, ~1,041 tokens.
.claude/skills/eastmoney/SKILL.md (or your agent's skills folder). This skill also uses 17 other files; get the full folder from GitHub.东方财富对外开放了一批免费、免鉴权的行情与披露接口(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:
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:
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 端点解析并进程内缓存)<code>.<exchange> 形式,交易所后缀大写。A 股 600519.SH / 000001.SZ / 830799.BJ,港股 00700.HK(零填充至 5 位),美股 AAPL.US。<market>.<code>。SH=1,SZ/BJ=0,HK=116,美股 NASDAQ=105 / NYSE=106 / AMEX=107(美股 market 前缀由 suggest 端点解析)。filter 用 YYYY-MM-DD;kline beg/end 用 YYYYMMDD。{"ok": true, "market", "source": "eastmoney", "data": {...}},失败 {"ok": false, "error": ...}。单个失败 symbol 以 per-symbol error 上报,不中断批次。链接约定:本文档内所有指向
references/的链接均以相对本文档的形式书写(references/...),这是 GitHub 在浏览器中打开该文件时解析的形式。read_file工具会把同一字符串解析到拥有它的技能目录下,因此人和 agent 读到的是同一份文件。新增文档请沿用相对形式,并保证 references 路径在各技能之间不重名:两个技能同时拥有的路径会被报为歧义,而不会被猜测。
| 工具 | 标题(详细文档) | 市场 | 描述 |
|---|---|---|---|
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) |
| 工具 | 标题(详细文档) | 市场 | 描述 |
|---|---|---|---|
get_financial_statements | 三大报表与主要指标 | A股/港股(东财)·美股(SEC EDGAR) | 资产负债表/利润表/现金流量表/主要指标;美股不再走东财 |
© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 17 other files (scripts, references) in agent/src/skills/eastmoney of HKUDS/Vibe-Trading.
Open the folder on GitHubat commit 8e43007
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Eastmoney Market Data this skillHKUDS/Vibe-Trading | 35k | — | ~1k | Automated safety check: Pass | MIT | |
| US Market Data ToolkitGeeksfino/finskills | 282 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| A-Share Daily Reviewqusong0627/QuantMind | 1.7k | — | ~1.9k | Automated safety check: Pass | AGPL-3.0 | |
| Financial Researchfirecrawl/web-agent | 1.2k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Senpi Market PulseSenpi-ai/senpi-skills | 134 | — | ~4.9k | Automated safety check: Pass | Apache-2.0 | |
| Stock Deep Analysis Workflowwbh604/UZI-Skill | 7.1k | — | ~9.1k | Automated safety check: Notes | MIT |
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.
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.
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.
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.
wbh604/UZI-Skill
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.
xbtlin/ai-berkshire
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.
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.
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.
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.
HKUDS/Vibe-Trading
Breaks a structural trend such as AI infrastructure into its physical supply chain and ranks lesser-known listed companies sitting on each bottleneck.
HKUDS/Vibe-Trading
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.
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.
Categories
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.