Vibe-Trading README

The project's README from github.com/HKUDS/Vibe-Trading. As one markdown file: README.md.

English | 中文 | 日本語 | 한국어 | العربية | Español

Vibe-Trading Logo

Vibe-Trading: Your Personal Trading Agent

One Command to Empower Your Agent with Comprehensive Trading Capabilities

HKUDS%2FVibe-Trading | Trendshift

Python FastAPI React PyPI License
Feishu WeChat Discord

Website  ·  Docs  ·  News  ·  Features  ·  Shadow Account  ·  Demo  ·  Quick Start  ·  Examples  ·  API / MCP  ·  Roadmap  ·  Contributing

pip install vibe-trading-ai


📰 News

⚠️ Security warning: The X account VibeTrading_HKU, Virtuals project 101845, and token contract 0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4 are not official Vibe-Trading assets. We have never launched or endorsed any token or memecoin. Do not buy, connect a wallet, or sign anything. Details.

Earlier news
  • 2026-09-07 🪙 A 50-ounce gold order rounded down to nothing, and a currency future priced at 1/2500th of its contract size: in a cross-market backtest the composite engine dispatches every symbol through one shared sub-engine per market, but only apply_slippage refreshed that sub-engine's own active symbol — so round_size and calc_commission used whichever symbol had synced it last. A 50 oz gold position sized against FX's 1,000-unit micro lot rounded to 0, gold futures were charged the index future's rate-based fee (6.90) instead of their own flat one (20.00), and swap used the 100,000-unit standard lot rather than the 100 oz metal lot (#1370). Separately, _extract_product could not read a symbol whose product code contains a digit or ends in a letter that doubles as a month code: 6EZ4, 6JH25, M2K, MYM2503 and FESX2503 all fell through to the default multiplier of 50 — for 6E the true figure is 125,000 (#1369). Symbols now resolve against the multiplier table itself, longest match first, which also covers the dated forms (M2KZ4) and prefix collisions (SILZ4 vs SI). Fixed: four Alpha Zoo factors printed a hard ±1 or 0 through a trading halt and inside their own declared warmup, because a NaN comparison is False rather than NaN and the ternary fell through to its constant. min_warmup_bars is metadata that nothing trims, and what keeps a gap out of an IC is dropna() — so those constants were consumed as real signals (#1371, #1372, #1373, #1374). Measuring the whole zoo the same way puts 82 more alphas in the same shape; rather than one PR per alpha, that is now tracked as a registry-level guard in #1376. Strategy-discovery evidence also resolved position size once for the whole run instead of per regime, and a single unparseable benchmark cell could erase every evidence row that run produced (#1368). New: a run that keeps issuing tool calls without gaining information now stops after eight iterations with a visible recovery request, instead of spending its whole budget on path discovery — the reported case burned ~35 iterations re-guessing the same rejected paths. An identical call is refused from its second failure rather than its first, so one honest retry after a rate limit or a timeout still runs (#1363, closes #1353). Thanks @Shizoqua, @be-student, and @nandofmike!
  • 2026-09-06 🛡️ A buy limit sized at a price it would never fill at, and an audit that returned PASS having verified nothing: the MCP order gate priced a quantity order from the live quote alone, so a limit at twice the market cleared a cap sized for the quote and could fill at twice the authorized notional. It is sized at the worse of quote and limit now — the rule the direct-SDK path already used — and an unparseable limit price is denied rather than waved through (#1361). The report auditor skipped every point with no fetched value and then reported PASS because nothing had failed, certifying a report backed by no evidence at all; that fails closed now (#1362). Fixed: metrics survived a failed analysis tool, and the new exemption for attributed figures — right for a paper's Sharpe, wrong for a price this run is meant to observe — would have passed Analysts say TSLA.US last traded at 412.35 USD. with no tool call behind it (#1338, closes #1336); a cash-dividend row killed the whole trade-journal parse (#1356); compac

Vibe-Trading (HKUDS/Vibe-Trading)

Searching Database…

这是什么?Vibe-Trading 是一个个人交易智能体工具包,只需一条命令,就能让 AI 智能体具备完整的交易能力,包括市场数据、回测、量化研究库,以及跨多家券商和市场的下单执行。
这是现成的交易机器人,还是我要接入自己智能体的工具包?它是一个工具包/API,通过 MCP、REST API、CLI 和网页界面,把交易能力(市场数据、回测、券商下单执行)开放给 AI 智能体使用,并不是一个打包好的自动交易机器人。
除了 Python,真正做交易还需要准备什么?你需要所连接券商或交易所的 API 凭证。它支持 14 家以上券商,包括 Alpaca、MT5、eToro、Futu 和 Zerodha Kite Connect,另外还有 tushare 和 akshare 等面向中国市场的数据源。
能直接上实盘运行吗,还是应该先用模拟盘?更新日志显示,实盘交易相关代码路径经常有正确性修复(券商错误处理、下单数量计算、NaN 和前视偏差 bug),而且 Zerodha 等几家券商目前只开放模拟盘或只读模式。实盘要谨慎,并逐个券商核实其行为。
它覆盖哪些市场和资产类别?覆盖美股和中国股票、中国期货(上期所、中金所、广期所、郑商所)、英国股票(伦交所)、加密货币交易所和外汇,并内置包含 462 个策略的 Alpha Zoo,以及量化库(期权、Copula、CDS、利率模型)。
什么是 Alpha Zoo?它是内置的 462 个交易 alpha 信号/策略库,附带一个共享注册表,用来执行数据质量规则,例如输入缺失时屏蔽输出(NaN 处理),确保某个 alpha 的 bug 不会被默认值掩盖。
开箱即用的量化模型有哪些?量化库内置的模型包括 Heston、层次风险平价、Copula、VPIN/Roll/Amihud/Kyle 微观结构指标、带有限差分希腊字母的障碍期权、ISDA CDS 定价、关键利率久期、Vasicek 模型,以及事件研究和分组净化交叉验证工具。
Vibe-Trading 有官方代币或币吗?没有。项目明确提醒,X 账号 VibeTradingHKU、Virtuals 上的一个项目页面,以及某个代币合约地址都不是官方的,不应信任,请勿连接钱包或对与之相关的任何内容签名。
界面支持哪些语言?README 列出了英语、中文、日语、韩语、阿拉伯语和西班牙语,最新版本又新增了巴西葡萄牙语,成为第八个支持的语言版本。
Creator
HKUDS
Size
88.3 MB
Stars
35.7K
Age
6mo
Commits · 90 Days