eastmoney

eastmoney is a skill for Claude Code, Codex from HKUDS/Vibe-Trading. It costs 134 tokens per session (1,993 once invoked), scanned A, original, MIT.

A collection of free Eastmoney market-data interfaces for Chinese and US stocks. It provides information such as money flows, company reports, financial news, shareholder activity, and stock searches without requiring a login token.

In plain words
What is it for?
Use it to retrieve A-share, Hong Kong, and some US-stock data for screening, research, trading signals, and financial analysis. It also helps look up stock codes and retrieve US filings from SEC EDGAR, the US regulator’s public company database.
Why use it?
It avoids building separate data collectors for each type of market or company information. Requests are also sent through built-in rate limiting to reduce the risk of Eastmoney blocking sudden bursts of traffic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve A-share, Hong Kong, and some US-stock data for screening, research, trading signals, and financial analysis. It also helps look up stock codes and retrieve US filings from SEC EDGAR, the US regulator’s public company database.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hkuds/vibe-trading/eastmoney
About the project

Vibe-Trading is a personal trading agent that gives an AI system tools for market analysis, algorithmic trading, backtesting, and related workflows. It is for users who want an agent to research and evaluate trading strategies or manage simulated and other trading activities. The catalogue contains skills that expose these trading capabilities to compatible agents.

HKUDS/Vibe-Trading · 33,258 stars · on GitHub · vibetrading.wiki

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HKUDS/Vibe-Trading --skill eastmoney
Clone the repo
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eastmoney

README.md
[![agentmods](https://agentmods.dev/badge/skills/hkuds/vibe-trading/eastmoney/github.svg)](https://agentmods.dev/skills/hkuds/vibe-trading/eastmoney)
Your own site
<a href="https://agentmods.dev/skills/hkuds/vibe-trading/eastmoney"><img src="https://agentmods.dev/badge/skills/hkuds/vibe-trading/eastmoney/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for eastmoney

Your own site · 80×15
<a href="https://agentmods.dev/skills/hkuds/vibe-trading/eastmoney"><img src="https://agentmods.dev/badge/skills/hkuds/vibe-trading/eastmoney.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,993 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • Snyk warn 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.01993
Opus 5 $0.00067 $0.00996
Sonnet 5 $0.00027 $0.00399
Haiku 4.5 $0.00013 $0.00199

Measured 9d ago against content hash aa122e838a9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

eastmoney scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/disclosure_example.py, scripts/fund_flow_example.py, scripts/fundamentals_example.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • eastmoney — 100% identical, 34 lines differ
agent/src/skills/eastmoney/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

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 端点解析并进程内缓存)

参数格式说明

  • 代码(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 filterYYYY-MM-DD;kline beg/endYYYYMMDD
  • 返回:统一 JSON 字符串信封,成功 {"ok": true, "market", "source": "eastmoney", "data": {...}},失败 {"ok": false, "error": ...}。单个失败 symbol 以 per-symbol error 上报,不中断批次。

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

python 脚本示例

接口列表

资金面

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago Changed aa122e838a9b
  2. 13d ago First seen · 99 lines · 134 tokens per session scan A 3aefe295545d

Subscribe to this mod's changes

eastmoney is a skill published in the GitHub repository HKUDS/Vibe-Trading (33,258 stars, last pushed yesterday), licensed MIT. It adds 134 tokens to every session and 1,993 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hyperliquid

Use when backtesting, deploying, checking funding readiness, or debugging a Hyperliquid strategy through Superior Trade Unified API — writing Freqtrade configs and strategy code, running sweeps, checking managed-wallet balances, trading HIP-3 perps, or diagnosing a deployment that will not start or trade.

Superior-Trade/superior-skills · 64 tokens

polymarket

Use when the user wants to trade, research, or backtest Polymarket prediction markets through Superior Trade — finding markets by slug or event URL, placing a single immediate market order, writing NautilusTrader strategies, running filled-data backtests, funding pUSD, or deploying and monitoring a live Polymarket…

Superior-Trade/superior-skills · 68 tokens

backtesting

Use when running, interpreting, or designing backtests on Superior Trade — anything about backtest windows, trade-count thresholds, exit-reason mix, parameter sweeps, walk-forward validation, zero-trade diagnosis, compute-cost estimation, or "is this backtest result trustworthy?". Pair with the relevant strategy…

Superior-Trade/superior-skills · 73 tokens

fees-optimizations

Use when the user asks about fees, fee optimization, slippage, maker vs taker, post-only or ALO orders, fee tiers, builder code fees, effective spread, order pricing, lowering trading costs, or why a live Hyperliquid Freqtrade strategy underperforms its backtest. Also use proactively for high-turnover designs (5m or…

Superior-Trade/superior-skills · 94 tokens

aerodrome

Use when creating, validating, backtesting, deploying, sizing, or troubleshooting Aerodrome/Base spot trading strategies through the Superior Trade API, especially Freqtrade configs using exchange.name "aerodrome", AERO/USDC or CHECK/USDC pairs, AMM market swaps, wallet/gas balance checks, no-orderbook pricing, or…

Superior-Trade/superior-skills · 83 tokens

basis-arb

Use when the user asks for spot-perp basis trade, basis arbitrage, cash-and-carry, perp discount, or any setup that reads the spot–perp basis as a positioning signal. Long-perp leg only — pure two-leg basis arb requires a paired spot short (or long) which Freqtrade can't run cleanly. The strategy below captures the…

Superior-Trade/superior-skills · 87 tokens