HKUDS/Vibe-Trading
"Vibe-Trading: Your Personal Trading Agent"
What it is
Vibe-Trading is an AI-powered personal trading agent. You chat with it in plain language (via Slack, Discord, Telegram, a web UI, email, or WeChat), and it can do real work: pull live market data, compute technical indicators, run backtests, and even place orders through broker connections. It's a full application — Python/FastAPI backend, React frontend, installable via pip install vibe-trading-ai — not a demo.
How it works
The core is an LLM given a toolbox: market-data loaders (Stooq, BaoStock, Eastmoney, etc.), a backtest engine, indicator calculators, and connectors to 18 brokers (Robinhood, Upbit, KIS, Scalable Capital, MT5, and more). You describe what you want ("backtest a momentum strategy on AAPL"), and the agent fetches data, runs the analysis, and reports back.
The standout engineering idea is a "grounding gate" that fights AI hallucination. When the model reports a number, it must declare the figure's role — observed (from data), derived (computed), cited, etc. — and the system checks that declaration against the actual tool outputs. A number that can't be verified gets cut from the answer. Backtest run cards even show hashed execution records and verified metric-to-CSV references, so you can audit where every reported metric came from.
Key features
- Real trading + paper trading: "Shadow accounts" let the agent practice without risking money; live orders go through broker APIs.
- Backtesting: Supports strategies with risk metrics (Sharpe, Sortino, Monte Carlo drawdown), walk-forward folds, and reproducible runs.
- Multi-channel chat: Same agent accessible from Slack, Discord, Telegram, Feishu, WeChat, email, WebSocket, and a web UI — in 9 languages.
- Scheduled reports: Automated PDF/HTML reports delivered by email, optionally AES-256 encrypted.
- Long-running research: The agent keeps memory across conversation compactions, and context handling adapts to each model's actual window size.
- Model-agnostic: Works with multiple LLM backends (OpenRouter is the shipped default; Codex and others are supported).
Who it's for
Individual traders and investors who want an AI assistant that does things rather than just talks — researching markets, validating strategies, and executing trades — with guardrails against the AI making up numbers. The project is actively maintained by HKUDS (Hong Kong University of Data Science) with a large contributor base.
Notable
The README carries a prominent security warning: scammers have impersonated the project with fake tokens and memecoins. The maintainers explicitly state they never launched any token — a sign the project is popular enough to attract fraud.
Related
- Project
- Project
- Project
- Project
- Project