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.
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.
npx skills add HKUDS/Vibe-Trading --skill eastmoneygit clone --depth 1 https://github.com/HKUDS/Vibe-TradingWrote 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.
[](https://agentmods.dev/skills/hkuds/vibe-trading/eastmoney)<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.
<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>- Snyk warn
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- eastmoney — 100% identical, 34 lines differ
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
filter用YYYY-MM-DD;klinebeg/end用YYYYMMDD。 - 返回:统一 JSON 字符串信封,成功
{"ok": true, "market", "source": "eastmoney", "data": {...}},失败{"ok": false, "error": ...}。单个失败 symbol 以 per-symbol error 上报,不中断批次。
链接约定:本文档内所有指向
references/的链接均以相对本文档的形式书写(references/...),这是 GitHub 在浏览器中打开该文件时解析的形式。read_file工具会把同一字符串解析到拥有它的技能目录下,因此人和 agent 读到的是同一份文件。新增文档请沿用相对形式,并保证 references 路径在各技能之间不重名:两个技能同时拥有的路径会被报为歧义,而不会被猜测。
python 脚本示例
接口列表
资金面
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/参考数据/大宗交易.md 2.4 KB
- references/参考数据/股东户数.md 2.3 KB
- references/参考数据/融资融券.md 2.1 KB
- references/参考数据/限售解禁.md 2.7 KB
- references/板块/行业概念板块.md 2.8 KB
- references/研报舆情/券商研报.md 2.7 KB
- references/研报舆情/财经新闻.md 2.6 KB
- references/财务报表/三大报表与主要指标.md 3.6 KB
- references/资金面/资金流向.md 2.5 KB
- references/选股检索/代码搜索.md 2.8 KB
- references/选股检索/全市场选股.md 2.2 KB
- references/龙虎榜/龙虎榜.md 2.7 KB
- scripts/disclosure_example.py 2.5 KB runs code
- scripts/fund_flow_example.py 1.9 KB runs code
- scripts/fundamentals_example.py 2.4 KB runs code
- scripts/screen_search_example.py 1.7 KB runs code
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.
- 9d ago Changed aa122e838a9b
- 13d ago First seen · 99 lines · 134 tokens per session scan A 3aefe295545d
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.
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.
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…
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…
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…
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…
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…