Eastmoney Market Data
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.
A research rule set for pulling company financials from prioritized sources by market and cross-checking every key figure against two independent sources.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add xbtlin/ai-berkshire --skill financial-data -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install xbtlin/ai-berkshire financial-data --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/xbtlin/ai-berkshire.git skills-src && mkdir -p .claude/skills && cp -r skills-src/codex-skills/financial-data .claude/skills/financial-data && 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 "financial-data" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/financial-data into .claude/skills/financial-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-data", 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/xbtlin/ai-berkshire/tree/main/codex-skills/financial-dataType 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 xbtlin/ai-berkshire --skill financial-data -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install xbtlin/ai-berkshire financial-data --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .agents/skills && cp -r skills-src/codex-skills/financial-data .agents/skills/financial-data && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "financial-data" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/financial-data into .agents/skills/financial-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-data", 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 xbtlin/ai-berkshire --skill financial-data -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install xbtlin/ai-berkshire financial-data --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/codex-skills/financial-data .cursor/skills/financial-data && 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 "financial-data" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/financial-data into .cursor/skills/financial-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-data", 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/xbtlin/ai-berkshire.git --path codex-skills/financial-data--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 xbtlin/ai-berkshire --skill financial-data -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install xbtlin/ai-berkshire financial-data --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/codex-skills/financial-data .gemini/skills/financial-data && 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 "financial-data" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/financial-data into .gemini/skills/financial-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-data", 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 xbtlin/ai-berkshire financial-dataInstalls 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 xbtlin/ai-berkshire --skill financial-data -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .github/skills && cp -r skills-src/codex-skills/financial-data .github/skills/financial-data && 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 "financial-data" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/financial-data into .github/skills/financial-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-data", 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 xbtlin/ai-berkshire --skill financial-data -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install xbtlin/ai-berkshire financial-data --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/codex-skills/financial-data .opencode/skills/financial-data && 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 "financial-data" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/financial-data into .opencode/skills/financial-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-data", 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.
financial-dataA research rule set for pulling company financials from prioritized sources by market and cross-checking every key figure against two independent sources.
The core rule is that every key figure must come from two independent sources, and a gap above 1% must be flagged. The skill lists primary, secondary and original-filing sources by market: for US stocks macrotrends and stockanalysis with SEC EDGAR filings, for Hong Kong stocks aastocks, macrotrends through ADR codes and HKEX filings, for A-shares East Money and CNINFO, and for Taiwan stocks FinMind through a bundled script, Goodinfo and MOPS.
A Codex adapter note says the skill is generated from a shared source so Claude Code and Codex users get one workflow. The agent runs the `date` command first and states the data cutoff date in the report header, uses exact arithmetic tools for valuation math and labels uncertainty and source gaps. Shared scripts such as `tools/financial_rigor.py` are run from the repository root. The excerpt is cut off inside the Taiwan section.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit efa220f. 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.
Shell commands in SKILL.md call:
python3From 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 these keys or tokens, usually read from environment variables:
FINMIND_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Financial Data Cross-Validation loads about 1.4k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 402 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); files beside SKILL.md are not scanned.
The full file from xbtlin/ai-berkshire at commit efa220f, republished under its MIT licence (© xbtlin). 402 words, ~1,405 tokens.
.claude/skills/financial-data/SKILL.md (or your agent's skills folder).This skill is generated from skills/financial-data.md so Claude Code and Codex users share one canonical workflow.
$ARGUMENTS as the user's request in the current Codex thread.tools/ in this repository. Prefer running commands from the repository root with paths like python3 tools/financial_rigor.py ...; if the current thread starts outside the repo, locate the actual checkout path first instead of assuming a fixed home-directory path.date command to confirm today's date; treat it as the baseline for "latest" data and state the data cutoff date in the report header. Never assume the current date from training data.AGENTS.md: cross-check financial data, use exact arithmetic tools for valuation/math, and clearly label uncertainty and source gaps.本规范适用于所有涉及企业财务数据的研究。每个关键数据必须来自两个独立来源,误差>1%须标记。
| 优先级 | 来源 | URL | 获取方式 |
|---|---|---|---|
| 1(主) | macrotrends | macrotrends.net/stocks/charts/{ticker} | 直接访问,无需注册 |
| 2(副) | stockanalysis | stockanalysis.com/stocks/{ticker}/financials | 直接访问,无需注册 |
| 原始一手 | SEC EDGAR | sec.gov/cgi-bin/browse-edgar | 10-K / 10-Q 原文 |
| 优先级 | 来源 | URL | 获取方式 |
|---|---|---|---|
| 1(主) | aastocks | aastocks.com/tc/stocks/analysis/company-fundamental | 直接访问 |
| 2(副) | macrotrends(ADR代码) | 腾讯用TCEHY,网易用NTES | 直接访问 |
| 原始一手 | HKEX披露易 | hkexnews.hk | 年报PDF |
| 优先级 | 来源 | URL | 获取方式 |
|---|---|---|---|
| 1(主) | 东方财富 | eastmoney.com → 搜股票代码 → 财务报表 | 直接访问 |
| 2(副) | 巨潮资讯 | cninfo.com.cn | 原始年报/季报PDF |
| 优先级 | 来源 | URL | 获取方式 |
|---|---|---|---|
| 1(主) | FinMind API | api.finmindtrade.com | tools/twstock_data.py(零依赖脚本,见下) |
| 2(副) | Goodinfo台湾股市资讯网 | goodinfo.tw/tw/StockDetail.asp?STOCK_ID={代码} | 直接访问 |
| 原始一手 | 公开资讯观测站(MOPS) | mops.twse.com.tw | 财报原文/月营收公告 |
FinMind 取数工具(分析台股时优先调用,输出自带市值验算):
python3 tools/twstock_data.py quote 2330 # 最新行情 + PER/PBR/殖利率 + 市值验算
python3 tools/twstock_data.py valuation 2330 # 估值指标 + PER一年区间 + 52周高低
python3 tools/twstock_data.py financials 2330 # 近5年年度核心财务(营收/毛利率/归母净利/EPS/ROE)
python3 tools/twstock_data.py revenue 2330 # 近13个月月营收及同比
python3 tools/twstock_data.py dividend 2330 # 近年股利政策(现金/股票股利、除息日)
python3 tools/twstock_data.py search 台積 # 搜索股票代码(注意台股名称为繁体)台股特别注意:
revenue 子命令)FINMIND_TOKEN;②本地文件 local/finmind_token.txt(local/ 已被 .gitignore 永久排除,把 token 单独一行写入该文件即可)。token 不得出现在报告、skill、commit 中对每个财务指标(收入、净利润、毛利率、经营现金流、资产负债率等),分别从来源1和来源2取数。
误差率 = |来源1数值 - 来源2数值| / 来源1数值 × 100%| 误差 | 处理方式 |
|---|---|
| ≤ 1% | ✅ 一致,取来源1数值,标注两个来源 |
| 1% ~ 5% | ⚠️ 标记"数据存在差异",注明两个数值,说明可能原因(汇率/会计口径) |
| > 5% | ❌ 标记"数据存在重大差异",必须查原始财报核实,不得直接使用 |
每个关键数据必须按以下格式标注:
收入:1,239亿元 ✅
- macrotrends: 1,241亿元
- stockanalysis: 1,237亿元
- 误差: 0.3%差异示例:
净利润:245亿元 ⚠️ 数据存在差异
- macrotrends: 245亿元(GAAP)
- stockanalysis: 278亿元(Non-GAAP)
- 误差: 13.5% — 原因:会计口径不同(GAAP vs Non-GAAP)| 原因 | 说明 |
|---|---|
| GAAP vs Non-GAAP | 最常见,尤其是利润类数据 |
| 汇率换算 | 港币/人民币/美元换算时间点不同 |
| 财年定义 | 自然年 vs 财年(如苹果财年10月结束) |
| 合并口径 | 是否含少数股东权益 |
| 数据更新滞后 | 某平台尚未更新最新一期财报 |
[估计],不执行交叉验证价格有三种口径,混用会让历史股价位置、长期涨幅、历史估值分位全部失真:
| 口径 | 含义 | 用途 |
|---|---|---|
| 不复权 | 实际成交价,除权除息日跳空 | 仅用于"当前时点"快照 |
| 前复权 | 以最新价为基准回调历史价 | 历史股价对比、N年涨幅、历史PE band 一律用它 |
| 后复权 | 以上市首日为基准前推 | 计算历史总回报/年化收益 |
规则:
financial_rigor.py verify-market-cap 偏差>5% 会提示核对)。| 场景 | 主要来源 | 备用来源 |
|---|---|---|
| PDD / 拼多多 | macrotrends.net/stocks/charts/PDD | stockanalysis.com/stocks/pdd |
| 腾讯 | macrotrends.net/stocks/charts/TCEHY | aastocks(0700.HK) |
| 网易 | macrotrends.net/stocks/charts/NTES | aastocks(9999.HK) |
| 三七互娱 | eastmoney.com(002555) | cninfo.com.cn |
| 吉比特 | eastmoney.com(603444) | cninfo.com.cn |
| Nintendo | macrotrends.net/stocks/charts/NTDOY | stockanalysis.com/stocks/ntdoy |
| Capcom | macrotrends(CCOEY) | stockanalysis(CCOEY) |
| 台积电 | tools/twstock_data.py(2330) | goodinfo.tw / macrotrends(TSM,注意1 ADR=5股) |
| 联发科 | tools/twstock_data.py(2454) | goodinfo.tw |
© xbtlin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in codex-skills/financial-data of xbtlin/ai-berkshire.
Open the folder on GitHubat commit efa220f
Financial Data Cross-Validation 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 |
|---|---|---|---|---|---|---|
| Financial Data Cross-Validation this skillxbtlin/ai-berkshire | 17k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Eastmoney Market DataHKUDS/Vibe-Trading | 35k | — | ~1k | Automated safety check: Pass | MIT | |
| SEC EDGAR Filings FetcherHKUDS/Vibe-Trading | 35k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Financial Researchfirecrawl/web-agent | 1.2k | — | ~1.1k | Automated safety check: Pass | MIT | |
| US Market Data ToolkitGeeksfino/finskills | 283 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Financial Statement Deep DiveGeeksfino/finskills | 283 | — | ~1.8k | Automated safety check: Pass | Apache-2.0 |
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.
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.
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.
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.
Geeksfino/finskills
Runs a forensic review of one company's financial statements covering DuPont profitability, earnings quality, financial health scores and fraud-risk signals.
HKUDS/Vibe-Trading
Interprets US company filings from SEC EDGAR (10-K, 10-Q, 8-K, proxy statements, Form 4) to pull out financials, risk factors and investment signals.
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.
xbtlin/ai-berkshire
Plans and writes a three-to-eight-part long-form article series that breaks down one company, built on fact-checked financials, valuation and management analysis.
xbtlin/ai-berkshire
Reads a company's filings and earnings call material in depth, rates how complete the sources are and extracts the key figures into a structured review.
xbtlin/ai-berkshire
Runs four parallel analyst personas over one earnings report, then an editor and reader-review pass turn the findings into a publishable article.
xbtlin/ai-berkshire
A four-step research framework for finding and tracking high-growth core companies in one industry: map the sector, ask core questions, verify, then hold to the turning point.
xbtlin/ai-berkshire
Assesses whether a company's distributions are durable enough to earn a place in an income portfolio, starting from a ticker or company name.
Works with
Categories
A research rule set for pulling company financials from prioritized sources by market and cross-checking every key figure against two independent sources. The core rule is that every key figure must come from two independent sources, and a gap above 1% must be flagged. The skill lists primary, secondary and original-filing sources by market: for US stocks macrotrends and stockanalysis with SEC EDGAR filings, for Hong Kong stocks aastocks, macrotrends through ADR codes and HKEX filings, for A-shares East Money and CNINFO, and for Taiwan stocks FinMind through a bundled script, Goodinfo and MOPS.
Financial Data Cross-Validation fits situations like: collecting financial statements for a US, Hong Kong, A-share or Taiwan stock; cross-checking revenue and profit figures from two sources; stating a data cutoff date in an investment research report.
Run `npx skills add xbtlin/ai-berkshire --skill financial-data -a claude-code`. Or copy the skill folder (codex-skills/financial-data in xbtlin/ai-berkshire) into .claude/skills/financial-data in your project. Claude Code loads it when a task matches its description.
Run `npx skills add xbtlin/ai-berkshire --skill financial-data -a codex`. Or copy the skill folder (codex-skills/financial-data in xbtlin/ai-berkshire) into .agents/skills/financial-data 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 xbtlin/ai-berkshire --skill financial-data -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/financial-data, .gemini/skills/financial-data, .github/skills/financial-data and .opencode/skills/financial-data in your project.
Going by SKILL.md and its folder, Financial Data Cross-Validation needs the command-line tools its instructions call (python3) and credentials named FINMIND_TOKEN. Our summary lists: Python 3 and the repository's `tools/` scripts such as `financial_rigor.py`; Web access to the listed data sources.
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. Review the folder before installing.
Financial Data Cross-Validation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Financial Data Cross-Validation: Eastmoney Market Data (HKUDS/Vibe-Trading, 35k stars), SEC EDGAR Filings Fetcher (HKUDS/Vibe-Trading, 35k stars), Financial Research (firecrawl/web-agent, 1.2k stars) and US Market Data Toolkit (Geeksfino/finskills, 283 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
xbtlin (a GitHub user) maintains it in xbtlin/ai-berkshire, which has 16,652 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 6, 2026.
Source: xbtlin/ai-berkshire on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.