charliedream1/ai_quant_trade
Stock AI Trader: 1-stop platform for learning, sim & live trading. Covers: stock basics, strategies, LLMs, factor mining, ML/DL/RL, graph nets, HFT, C++ deploy & JoinQuant code. 股票AI操盘手:一站式学习、模拟、实盘平台。涵盖:股票基础、策略、大模型、因子挖掘、机器学习/深度学习/强化学习、图网络、高频交易、C++部署及聚宽代码。
What it solves
Building a quantitative trading system usually means stitching together many disconnected pieces: getting market data, writing strategies, running backtests, doing research, and finally trading live. This project tries to remove that friction by bundling all of it into one platform. It covers the full workflow — from learning and simulation to live deployment — so users can study how quant trading works, test strategies against historical data, and eventually connect to real markets without jumping between dozens of separate tools. It also gathers a large curated collection of external quant resources so users do not have to hunt across the web on their own.
How it works
The project has two layers. The first is a newer integrated workspace (in the src folder): a runnable research environment with a modular web interface (built with Gradio), a shared REST API, and a command-line interface. Inside it, users can do market research, build strategies by visually composing nodes on a graph, preview and freeze strategy parameters, run backtests with configurable commissions, taxes, slippage and execution assumptions, and inspect results like net asset value, drawdown, trades and attribution. The workspace also includes AI agent sessions with different backends, a local knowledge base for asking questions over documents with citations, scheduling and notifications, and remote access.
The second layer is a collection of standalone example projects under egs_*/ folders. These cover local quant strategies (reinforcement learning, GNN, deep learning, traditional rule-based approaches like double moving averages), alpha mining, data acquisition and processing (including Wind and open-source tools), text/sentiment analysis, and LLM applications such as stock price forecasting and financial market analysis. Each example ships with its own tutorial and dependencies so it can be run independently. The platform also maintains an awesome_projects directory that organizes and reviews external quant resources by the full workflow: data, frameworks, backtesting tools, factors, strategies, visualization, knowledge graphs, high-frequency trading and finance-focused LLM projects.
Who it's for
The README targets three groups: institutional investors, retail traders with a programming background, and retail traders without programming experience. The learning materials and curated resources make it accessible to newcomers, while the strategy library, backtesting engine and live deployment options serve more experienced users who want to actually run strategies.
Highlights
- One-stop scope: learning materials, simulation, backtesting, and live trading in a single platform
- Broad strategy coverage: LLMs, alpha mining, traditional strategies, machine learning, deep learning, reinforcement learning, graph neural networks, and high-frequency trading
- Multi-market support: stocks, funds, and cryptocurrencies
- Integrated workspace with a Gradio UI, REST API and CLI, including visual strategy composition, portfolio and risk management, and backtests with realistic fee and execution assumptions
- Curated resource treasure trove (
awesome_projects) with categorized, reviewed links to quant tools, frameworks, research reports and tutorials - AI capabilities: LLM-based financial analysis, stock price forecasting models (including a reasoning-type forecasting LLM training tutorial), sentiment analysis, and multi-agent research with evidence and review gates
- Practical assistant tools such as stock monitoring and stock recommendation helpers
- Flexible deployment: multiple methods including Python/C++, CPU/GPU, and Docker runtime support
Related
- Project
- Project
- Project
- Project
- Project