Skip to main content
Back

Qbot Quietly Builds a Free Open-Source AI Trading Platform With 17,600 Stars

Qbot is a fully local, MIT-licensed Python platform that takes you from raw market data to live automated trades using 20+ ML models and 300+ research papers worth of strategies.

Pro

Repo, Full Access
  • Full pipeline in one repo: Qbot covers data ingestion, strategy development, backtesting, paper trading, and live execution — all running locally.
  • Massive AI model zoo: 300+ models from 40+ papers including LSTM, Transformer, LightGBM, GATs, RL, and experimental LLM hooks.
  • Broad broker support: Connects to Binance, OKX, Huobi, and major Chinese stock/futures brokers (XTP, Huatai, Guotai Junan, CTP, etc.).
  • Free base tier (MIT license): Core framework, classic and AI strategies are free; Pro and VIP tiers add automation, support, and packaged interfaces.
  • 17,600+ GitHub stars, top 10 quant repo: UFund-Me/Qbot has 2,500 forks and ranks among the top quant-trade repos on GitHub.
  • Limitations: Python 3.8/3.9 only, small contributor base, many strategies still lack backtest validation, and real-time data latency is a known open issue.

Qbot is an open-source, fully local AI quantitative trading platform that has quietly accumulated over 17,600 GitHub stars. It covers the entire quant research pipeline in one repo: data ingestion, strategy development, backtesting, paper trading, and live execution. The pitch is simple but rare , you own the whole stack, nothing leaves your machine, and the core is completely free.

One pipeline, no gaps

Qbot provides a full pipeline from data ingestion and strategy development to backtesting, simulation, and live trading. Most open-source quant tools force you to stitch together three or four separate frameworks to get from idea to execution. Qbot's architecture collapses that into a single system:

  • Data layer , pulls market data for stocks, funds, futures, and crypto
  • Strategy layer , classic technical indicators plus a full AI model zoo
  • Backtest engine , built on backtrader and easyquant, with near-real latency and slippage simulation
  • Execution layer , connects to live brokers and exchanges
  • Visualization , quantstats-powered tearsheets and dashboards

It bundles a lightweight GUI client built with wxPython and a modular backend so researchers can iterate on strategies, run batch backtests, and validate ideas in a near-real simulated environment that models latency and slippage.

Qbot backtesting dashboard showing strategy vs benchmark performance from 2005-2024 with annual return metrics

A model zoo that reads like a conference proceedings list

The project places special emphasis on AI-driven strategies , including supervised learning, reinforcement learning, and multi-factor models , and offers a model zoo and example strategies to help users get started. The strategy library spans two tiers:

Classic technical strategies , MACD, KDJ, RSI, Bollinger Bands, Aroon, RSRS (Resistance Support Relative Strength), and about 20 more indicators, all with backtest source code.

AI/ML strategies , this is where Qbot stands out. The model zoo references implementations from actual research papers:

  • Gradient boosting: XGBoost (KDD'16), LightGBM (NeurIPS'17), CatBoost (NeurIPS'18)
  • Recurrent nets: LSTM, GRU, ALSTM (IJCAI'22), ADARNN (KDD'21)
  • Transformers: vanilla Transformer, TFT (temporal fusion transformer for time-series), Localformer, TCN
  • Graph nets: GATs (graph attention networks for modeling stock correlations)
  • Reinforcement learning: Q-Learning and RL-based policy strategies
  • LLM integration: ChatGPT and FinGPT hooks are listed as experimental

In total, Qbot is an AI-oriented automated quantitative investment platform that supports diverse machine learning modeling paradigms , the README claims coverage of 300+ models and methods from 40+ papers via the model zoo.

Qbot dashboard showing candlestick chart with moving averages, MACD, and technical indicators for stock 000300.SH

What it actually connects to

On the live trading side, the broker and exchange integrations are extensive, especially for Chinese markets. Supported interfaces include:

  • Futures: CTP, CTPMini, Femas
  • Chinese stocks: XTP (Zhongtai), Huaxin Qidian, Huarui ATP, Kuanrui OES, Tonghuashun, Dongfang Caifù, Huatai, Guotai Junan, Hengsheng UFT
  • Crypto: Binance, OKX (OKEX), Huobi
  • Simulation platforms: Juejin quant, WonderTrader, TradingView (for crypto)

Alerts fire through WeChat, email, Feishu (Lark), and desktop pop-ups when trade signals trigger.

Getting started in four commands

The base version requires Python 3.8 or 3.9. Setup is straightforward:

git clone https://github.com/UFund-Me/Qbot --depth 1
cd Qbot
pip install -r dev/requirements.txt
export PYTHONPATH=${PYTHONPATH}:$(pwd)
python main.py

On Mac, swap the last line for pythonw main.py. The GUI client launches from there, with menus covering strategy backtesting, fund/stock evaluation, and live trading setup.

Where it fits , and where it doesn't

The open-source quant space already has strong tools: Microsoft's Qlib is not a traditional backtesting framework , its core is a machine learning quantitative research pipeline covering feature engineering, alpha signal generation, portfolio optimization, and execution simulation. VnPy handles the full backtest-to-live-trading transition with a polished GUI. Backtrader is the go-to for learning event-driven strategy logic.

Qbot's position is different: it's the only one trying to be all three at once, with a GUI, an AI model zoo, and live broker connections in a single repo. That ambition is also its main limitation. The TODO list in the README is candid , many strategies still need backtest validation, the frontend/backend architecture needs cleanup, and real-time data latency is a known gap. With 68 open issues and a small contributor count, maintenance cadence is slower than the scope suggests.

The tiered model is also worth understanding before you dive in:

  • Public (free, MIT) , full framework, classic and AI strategies, backtest and simulation. Good for learning and research.
  • Pro (paid, annual) , includes AI stock selection, full pipeline automation, packaged interface examples, and community Q&A support.
  • VIP (paid, annual) , adds remote technical support, packaged Binance spot/futures interfaces, and custom integrations.

The broader context

The timing of Qbot's renewed attention reflects a broader shift. VnPy 4.0 officially introduced the vnpy.alpha module targeting AI quantitative strategies, providing an all-in-one multi-factor ML strategy development, research, and live trading solution. Even the incumbents are racing to add AI layers. What Qbot offers that established platforms don't is a lower barrier: it's free, fully local, and the strategy code is readable Python that you can study, modify, and run without a subscription.

For evaluation and analysis, Qbot integrates reporting and visualization , tearsheets, metrics , so you can compare performance across runs and inspect trade-level behavior. For anyone who wants to understand how ML-driven quant strategies actually work end-to-end, rather than just calling a cloud API, Qbot is one of the most complete starting points available in open source.