$git clone https://github.com/OpenByteInc/QuantDinger> QuantDinger can submit real orders when live trading is explicitly enabled. > Start with paper trading, use restricted API keys, and review the risk and > compliance requirements for your jurisdiction. This project does not provide > investment advice.
| 1 | <div align="center"> |
| 2 | <a href="https://github.com/OpenByteInc/QuantDinger"> |
| 3 | <img src="docs/screenshots/logo.jpg" alt="QuantDinger logo" width="180" height="180"> |
| 4 | </a> |
| 5 | |
| 6 | <h1>QuantDinger</h1> |
| 7 | <p><strong>Open-source AI Trading OS</strong></p> |
| 8 | <p>Turn trading ideas into Python strategies, backtests, paper trading, live execution, and monitoring — all in one self-hosted stack.</p> |
| 9 | <p><strong>QuantDinger is a product of Open Byte Inc.</strong></p> |
| 10 | <p><em>AI research → Strategy code → Backtest → Paper/Live execution → Monitoring</em></p> |
| 11 | |
| 12 | <p> |
| 13 | <a href="README.md"><strong>English</strong></a> |
| 14 | · |
| 15 | <a href="docs/README_CN.md"><strong>简体中文</strong></a> |
| 16 | · |
| 17 | <a href="docs/api/README.md"><strong>API</strong></a> |
| 18 | · |
| 19 | <a href="docs/agent/README.md"><strong>AI Agents & MCP</strong></a> |
| 20 | </p> |
| 21 | |
| 22 | <p> |
| 23 | <a href="https://ai.quantdinger.com"><strong>Live App</strong></a> |
| 24 | · |
| 25 | <a href="https://www.quantdinger.com"><strong>Website</strong></a> |
| 26 | · |
| 27 | <a href="https://www.youtube.com/watch?v=tNAZ9uMiUUw"><strong>Video Demo</strong></a> |
| 28 | · |
| 29 | <a href="mailto:support@quantdinger.com"><strong>Official Support Email</strong></a> |
| 30 | </p> |
| 31 | |
| 32 | <p> |
| 33 | <a href="https://t.me/quantdinger"><img src="https://img.shields.io/badge/Telegram-Join-26A5E4?style=flat-square&logo=telegram&logoColor=white" alt="Telegram"></a> |
| 34 | <a href="https://discord.com/invite/tyx5B6TChr"><img src="https://img.shields.io/badge/Discord-Server-5865F2?style=flat-square&logo=discord&logoColor=white" alt="Discord"></a> |
| 35 | <a href="https://youtube.com/@quantdinger"><img src="https://img.shields.io/badge/YouTube-%40quantdinger-FF0000?style=flat-square&logo=youtube&logoColor=white" alt="YouTube"></a> |
| 36 | <a href="https://x.com/QuantDinger_EN"><img src="docs/badges/x-quantdinger.svg" alt="X @QuantDinger_EN"></a> |
| 37 | </p> |
| 38 | |
| 39 | <p> |
| 40 | <a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square" alt="Apache 2.0"></a> |
| 41 | <img src="docs/badges/python-3.12.svg" alt="Python 3.12"> |
| 42 | <img src="https://img.shields.io/badge/PostgreSQL-18-4169E1?style=flat-square&logo=postgresql&logoColor=white" alt="PostgreSQL 18"> |
| 43 | <img src="https://img.shields.io/badge/Redis-8-DC382D?style=flat-square&logo=redis&logoColor=white" alt="Redis 8"> |
| 44 | <img src="docs/badges/docker-compose.svg" alt="Docker Compose"> |
| 45 | <a href="https://github.com/OpenByteInc/QuantDinger/releases/latest"><img src="docs/badges/latest-release.svg" alt="Latest release"></a> |
| 46 | </p> |
| 47 | </div> |
| 48 | |
| 49 | > QuantDinger can submit real orders when live trading is explicitly enabled. |
| 50 | > Start with paper trading, use restricted API keys, and review the risk and |
| 51 | > compliance requirements for your jurisdiction. This project does not provide |
| 52 | > investment advice. |
| 53 | |
| 54 | ## What QuantDinger is |
| 55 | |
| 56 | QuantDinger is an **open-source AI Trading OS** for independent traders, Python |
| 57 | strategy authors, and small teams. Its local-first, self-hosted design keeps |
| 58 | market data, strategy code, broker credentials, and deployment under the |
| 59 | operator's control. |
| 60 | |
| 61 | The project combines: |
| 62 | |
| 63 | - multi-provider AI market research and analysis; |
| 64 | - Python indicators and Strategy API V2 development; |
| 65 | - server-side backtesting and experiment workflows; |
| 66 | - paper and live execution across crypto exchanges and traditional brokers; |
| 67 | - web, mobile H5, human API, Agent Gateway, and MCP access; |
| 68 | - PostgreSQL-backed state, durable workers, audit logs, and optional monitoring. |
| 69 | |
| 70 | It is not a black-box signal service. Strategy code, risk settings, credentials, |
| 71 | and deployment remain under the operator's control. |
| 72 | |
| 73 | ## What changed in v5 |
| 74 | |
| 75 | The v5 backend is organized around explicit runtime and operational boundaries: |
| 76 | |
| 77 | - the HTTP API no longer owns long-running trading or scheduler loops; |
| 78 | - trading, scheduling, Celery jobs, and migrations run as separate processes; |
| 79 | - Celery handles finite, retryable work while long-lived strategy runtimes stay |
| 80 | in the trading worker; |
| 81 | - cache Redis and durable job Redis use separate instances and e |