QuantDinger Documentation

July 18, 2026 · View on GitHub

This directory contains maintained documentation for the current QuantDinger release. Start with the project README or the Chinese project README.

Architecture and contracts

DocumentPurpose
ArchitectureBackend ownership map and contributor design rules.
Module boundariesDependency direction and package responsibilities.
Concurrency modelDatabase, worker, and thread ownership rules.
Process rolesAPI, trading, scheduler, Celery, and migration boundaries.
API conventionsHuman API envelopes, authentication, and stability classes.
Extension guideHow to add routes, services, adapters, and tasks safely.

Deployment and operations

DocumentPurpose
Production hardeningLocked runtime and production preflight.
ObservabilityPrometheus, Grafana, Alertmanager, and exporters.
Installation troubleshootingDocker, mirrors, ports, and PostgreSQL problems.
Cloud deployment (English)Reverse proxy and cloud deployment.
云部署(中文)反向代理与云部署。
Multi-user setupRoles and multi-user deployment.
OAuth (English)Google and GitHub OAuth configuration.
OAuth(中文)Google 与 GitHub OAuth 配置。
USDT paymentOptional USDT billing configuration.

Notification configuration:

Trading and research

DocumentPurpose
Indicator guideChart-only Python indicator contract.
指标指南图表指标开发契约。
Strategy guideStrategy API V2, risk, backtest, and live execution.
策略指南脚本策略、风控、回测与实盘。
Public universes and fundamentals股票池来源、时点数据和已知限制。
IBKR guideIBKR connectivity and trading workflow.

Runnable examples are in examples/.

API and AI agents

  • api/ contains the generated human OpenAPI contract and ReDoc viewer.
  • agent/ contains Agent Gateway, MCP, security, and integration docs.
  • mcp_server/ contains the standalone MCP package.

Maintenance policy

  • Keep one maintained document for each operational or architectural concern.
  • Put implementation decisions in architecture or contract documents, not in one-off planning files.
  • Do not commit temporary audits, validation snapshots, generated screenshots, or completed roadmaps. Git history already preserves them.
  • Update links and the relevant index in the same change when a document moves.
  • Keep generated OpenAPI artifacts committed because CI checks them.