This open-source tool reads your trade journal and shows you the PnL you lost to early exits and broken rules.
It's called Vibe-Trading, from HKUDS (the lab behind LightRAG). 30.5k stars.
The feature that got me is the Shadow Account. You upload your broker trade journal. It extracts the rules you were apparently trading by, builds a "shadow you" that followed them, and runs both through a backtest.
Then it hands you a report: rule violations, early exits, missed signals, and the counterfactual. What shadow-you made that you didn't.
The rest of the repo is a research workspace:
You type "backtest a BTC 20/50 moving average strategy for 2024" in plain English. It writes the strategy code, runs it, validates it, and exports the report.
462 pre-built alpha factors: Qlib's 158, the 101 Formulaic Alphas, GTJA's 191, plus academic and fundamental sets. Benched on your universe with one command.
Covers US, HK, and A-share equities, crypto, futures, forex. 18 free data sources with automatic fallback. 12 broker connectors, paper trading by default, live trading locked behind explicit mandates and a kill switch.
It runs on your machine, installs with one pip command, and costs nothing.
I've seen a lot of "AI trading agent" repos. Most are a GPT wrapper and a prayer. This one has 1,124 commits and a closed external security audit. It diagnoses disposition effect and overtrading in your own fills.
Show more