Python platform for quantitative trading research: data, AI strategies, backtesting, paper trading and automated live trading
open coreMITfree
Qbot is an open source quantitative investment research platform in Python, aimed at retail traders in China. It covers the whole loop from getting market data and writing strategies to backtesting, simulated trading with latency and slippage modelling, and automated live trading, for stocks, funds, futures and cryptocurrencies. Its strategy library includes classic indicator strategies and machine learning, deep learning and reinforcement learning ones, with automated factor mining built on Qlib-style workflows, and it draws on backtrader and vn.py. It has a desktop GUI client, with some features on the web, and sends trade alerts by email, Feishu, WeChat and pop-up. Its makers also sell a paid Pro edition and a VIP service with yearly fees.
Problems it solves
- backtest a stock trading strategy and then run it automatically against my broker
- try machine learning models for picking stocks and timing trades
- paper trade a quant strategy with realistic slippage before using real money
Features
- strategy backtesting
- simulated trading with latency and slippage modelling
- automated live trading
- machine learning, deep learning and reinforcement learning strategies
- automated factor mining
- trade alerts by email, Feishu, WeChat and pop-up
- stocks, funds, futures and cryptocurrencies
Limitations
- The README says the project is under CC BY-NC-SA 4.0 (non-commercial), while the repository's LICENSE file is MIT.1
- Tested only on Python 3.8 and 3.9, according to its README.1
- Many of the indicators listed in its README are marked as paid.1
Ways to run it
Qbot
Not included
- AI stock selection
- packaged data and trading interfaces
- research reports and strategy templates
Qbot Pro
yearly fee, price on request1
Only in this edition
- AI stock selection
- data fetching and cleaning
- packaged interface examples
- strategy templates and factor expressions
- community Q&A
Alternatives
The same job
These do what Qbot does.
- Vibe-Trading Open source trading agent that turns finance questions into research reports, backtests and paper portfolios
- AI Hedge Fund Terminal app where AI investor agents paper-trade and backtest stock funds
- LEAN (QuantConnect) Open source algorithmic trading engine for backtesting and live trading in Python and C#
- QuantDinger Self-hosted AI trading platform: Python strategies, AI market research, backtesting and paper or live trading
- Freqtrade A free, open source crypto trading bot in Python
- InStock Self-hosted Chinese A-share stock screener with indicators, backtests and auto-trading
