qusong0627/QuantMind

QuantMind(量化大脑)开源版是一款面向个人开发者与投研团队的 AI 原生多市场量化交易平台。深度集成微软 Qlib、RD-Agent 因子演化与 QuantBot全能工作台,提供从 300+ 维因子挖掘、13 种机器学习与深度学习模型工场、Qlib 高性能回测、截面批量推理、7x24 实时舆情情绪分析,到通达信深度联动(板块推送/预警雷达/闪电下单)与实盘模拟交易的完整闭环。支持 A股、港股、美股、期货及区块链。可免费商用,系统采用 Docker Compose 一键私有化部署,数据与模型完全本地化,保障策略隐私,功能零门槛无限制。

What it solves

QuantMind is a one-stop AI-native quantitative trading platform that ties together the entire quant workflow — from data collection and factor mining to model training, backtesting, simulation trading, and production monitoring. It removes the need to manually clean data, piece together code, or remember API parameters. Instead, a conversational assistant called QuantBot lets you issue commands in plain language, even from your phone via WeChat, QQ, or Feishu. The project also addresses the pain of building and evaluating many models by offering 13 built-in algorithms and a self-evolving factor system.

How it works

The system is built on Microsoft's Qlib quant framework and RD-Agent research agent, with a Docker-based deployment. It provides a web console, an API gateway, and a separate QuantBot service that connects to 17+ IM channels. The core flow is: data foundation -> factor mining -> model training -> batch inference -> portfolio backtest -> simulation trading -> production monitoring. It supports A-shares, Hong Kong, US stocks, futures, and blockchain.

The QuantBot uses a skill pool of prebuilt quant skills (e.g., research reports, daily review, market analysis, stock screening, factor mining, training/inference/backtest, simulated trading, deployment ops). You can send a message like "analyze 600519" or "backtest a momentum strategy on CSI300" and the bot executes the task on the server, then pushes results, charts, or PDF reports back to your chat.

The factor evolution pipeline uses LLMs to generate factor formulas from natural language hypotheses, then runs genetic evolution backtesting and selects the best ones. The model factory supports 13 ML/DL algorithms (LightGBM, XGBoost, CatBoost, GRU, LSTM, ALSTM, Transformer, TabNet, TCN, NativeTFT, etc.) with stacking ensembles. Training can run on local Docker (with GPU auto-mount) or remote AutoDL GPU nodes.

For simulation, it implements a local T+1 matching engine that follows A-share rules (price limits, suspensions, lot size, fees, slippage). It also includes a preflight check before starting.

The project open-sources a reference implementation for live trading, but it is disabled by default and requires user adaptation and compliance review.

Who it’s for

QuantMind targets individual quant researchers, investment research teams, and professional institutions looking for an integrated, AI-driven platform. It suits those who want to avoid low-level data wrangling and prefer interacting via chat or a graphical UI, whether on desktop or mobile. It's also for developers who want to extend or contribute to an open-source quant platform, and for teams that need a local or private deployment with Docker.

Highlights

  • Conversational QuantBot as the single entry point, bindable to WeChat, QQ, Feishu, DingTalk, and other IM apps for remote commands.
  • 13 built-in model algorithms with support for stacking ensembles and optional GPU training on local or cloud nodes.
  • LLM-driven autonomous factor evolution (AutoAlpha 2.0) that generates and backtests factor formulas from natural language hypotheses.
  • Built-in 300+ precomputed features (L1/L2 microstructure and money flow) with fast Parquet + DuckDB storage.
  • Live news monitoring with 7x24 RSS feeds, event tagging, and sentiment classification (bullish/bearish).
  • Full workflow: research platform, stock terminal, AI-IDE strategy editor, Qlib backtest center, community model hub, batch inference, simulation trading, and production quality monitoring (Rank IC, SHAP, PSI drift alerts).
  • Simple one-click deployment via a prebuilt Docker image; also supports incremental updates and data sync from QuantDB.
  • Open-source under AGPL v3 with a clear disclaimer that it's for research and not investment advice.

Related

  • Project
  • Project
  • Project
  • Project
  • Project