Miasyster/QuantGPT
Agent-driven alpha factory — LLM autonomously designs, backtests, and submits factors to WorldQuant BRAIN
What it solves
QuantGPT tackles a bottleneck in quantitative research: finding and validating alpha factors (signals that predict stock returns) is usually slow, manual, and prone to human bias. Traditional tools make a human think of an idea, run a backtest, and interpret results — the human makes every decision. QuantGPT flips this: you define the goal (e.g., "find high-quality factors on the CSI 300"), and an LLM agent autonomously designs, tests, iterates, and validates factors, with the human only reviewing the final output. It also fights overfitting and bias by enforcing independent cross-review and out-of-sample validation, so results are more trustworthy.
How it works
QuantGPT gives an LLM agent (like Claude) a toolkit of 15 MCP (Model Context Protocol) tools to run a full research cycle. The cycle works like this:
- Factor design – the agent reads a persistent knowledge base (structured notes on rules, findings, and failures) and generates hypotheses as factor expressions (e.g.,
rank(close / ts_mean(close, 20))). - Batch backtesting – 10-20 candidate expressions run concurrently on free market data (baostock, akshare) with a custom expression parser supporting 60+ operators.
- Four-step analysis – the agent collects metrics, makes an independent judgment, then a second LLM (DeepSeek Reasoner) cross-reviews the reasoning. Divergences are resolved conservatively.
- Anti-overfitting – four statistical tests, walk-forward validation, and a dollar-neutral simulation weed out fragile factors.
- Knowledge update – proven rules, findings, and falsified paths are written back into the knowledge base for future sessions.
- Independent validation – A-grade factors automatically upload to QuantGPT Cloud for IC/IR checks and out-of-sample tracking. Optionally, factors can be submitted to WorldQuant BRAIN for real simulation and formal submission.
The whole loop runs with zero human intervention per cycle; humans only review the final report and decide whether to act.
Who it’s for
- Quant researchers who want to automate factor discovery without giving up control over final decisions.
- AI/LLM developers interested in building agentic research workflows that persist knowledge across sessions.
- Systematic traders who need a reproducible, auditable way to validate alpha signals before deployment.
- Hobbyists who want a free, zero-config tool to start exploring factor mining with LLM assistance.
Highlights
- Agent-driven autonomy – the LLM decides what to explore, which metrics to check, when to iterate, and when to stop; humans only review the outcome.
- Dual-LLM cross-review – every key conclusion is independently validated by a second model to reduce confirmation bias.
- Persistent knowledge base – structured rules, findings, and failure notes accumulate across sessions, so each new research cycle builds on prior work instead of starting from scratch.
- Four-layer anti-overfitting – statistical tests, walk-forward validation, WQ simulation, and independent cloud validation keep results honest.
- Evolution engine – 8 mutation directions plus crossover help the agent explore new factor space and refine promising expressions.
- MCP integration – works with Claude Code and Claude Desktop out of the box; also offers REST API and a web dashboard.
- Proven results – three factors passed WorldQuant BRAIN IS tests and were formally submitted (best Sharpe 1.77, Fitness 1.26).
Related
- Project
- Project
- Project
- Project