← Back to Leaderboard
QOpenByteInc

OpenByteInc/QuantDinger

Self-hosted quant trading with isolated Python strategies, backtesting, and agent access

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 100/100
Maintenance Activity
● Updated today
Latest Release
v6.0.7
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption25/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedMCPAPI
Total Stars
★ 14,204
24h Growth
+24
7d Growth
+185
Forks
2,904

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

OpenByteInc/QuantDinger Star History (2025-12-28 - 2026-12-04) ALL-TIME STAR HISTORY (2025-12 – 2026-12) +14.2k in 341d · avg +42/day 15k 7.5k 0 2025-12-28: ★ 12026-01-24: ★ 4862026-02-14: ★ 7152026-03-07: ★ 9292026-03-28: ★ 1,0242026-04-18: ★ 1,1782026-05-09: ★ 4,1752026-05-30: ★ 6,8192026-06-20: ★ 8,1912026-07-11: ★ 9,3202026-08-01: ★ 10,0212026-08-22: ★ 10,8122026-09-12: ★ 11,4322026-10-03: ★ 12,3132026-10-24: ★ 13,0272026-11-14: ★ 13,7432026-12-04: ★ 14,204 ★ 14.2k 2025-12 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

QuantDinger uses Nginx to serve its web and mobile H5 interfaces, with Flask/Gunicorn handling HTTP. The API writes durable commands to PostgreSQL rather than running trading loops in request processes. Kafka carries closed-bar and lifecycle events through strategy dispatch and evaluation; a separate audit worker persists Kafka records to PostgreSQL. Trading and evaluation workers also use PostgreSQL for ownership leases, checkpoints, and order intents. Celery uses a dedicated jobs Redis instance, separate from the API cache.

Strategy API V2 is the Python extension boundary. There is one sandbox process per live deployment or backtest. Sandboxes receive snapshots and return intents and state without gaining access to credentials. Trusted workers retain account checks, reconciliation, and order submission; leases, heartbeats, and fencing tokens govern long-running ownership. Integrators can use the Human API, Agent Gateway, or MCP without embedding broker submission logic in the client.

Key Capabilities & Differentiators

The workflow spans multi-provider AI research, Python indicators and strategies, server-side backtesting, and paper or live execution across crypto exchanges and traditional brokers. Factor Lab loads a point-in-time universe panel once to benchmark up to 40 registered technical, fundamental, TA-Lib, or Qlib factors. It combines time-ordered holdout, out-of-sample information coefficient (IC) retention, Benjamini–Hochberg false-discovery control, cost-aware scoring, and cross-factor IC correlation. The workflow is available through the web UI, Human API, Agent Gateway, and MCP.

Strategy evolution searches declared tunable parameters asynchronously with random, grid, or TPE optimization. Bar-count walk-forward validation and a final blind holdout are paired with PBO, Deflated Sharpe, block-bootstrap Monte Carlo, and transaction-cost stress tests. These help assess robustness, not predict returns. Signal-only virtual accounts turn notifications into internal orders, fills, positions, and equity curves without contacting a broker. Their fixed 0.05% commission on executed notional and 0.05% adverse slippage are simulation assumptions, not estimates of venue costs.

Trade-offs & Limitations

QuantDinger makes sense when research and execution are both in scope: the same platform takes a Python strategy through backtesting and paper trading to a separately authorized live deployment. A standalone backtester is easier to operate if research is the endpoint; a managed platform can reduce infrastructure work if you are willing to give up some control over deployment and credential custody. Kafka, PostgreSQL, two Redis instances, and several worker roles make this a larger system to monitor, back up, and upgrade than a Python research tool.

Sandboxing reduces the authority granted to strategy code, but it also introduces a hard compatibility gate: untrusted code will not run if Linux seccomp and Landlock confinement cannot be activated. Confirm this in the intended host environment before committing to the stack. Before enabling live trading, validate venue behavior in paper mode, use restricted broker keys, and review applicable market-data and trading terms. Historical robustness metrics and simulated fills do not establish live execution quality.

Hardware & Deployment Guide

Prebuilt deployments use Docker Compose v2 and do not require Node.js or Python on the host. The source path uses scripts/bootstrap_env.py to create or update the root .env; the default Compose stack builds the backend locally and pulls the web and mobile images from GHCR. The v6.0.7 release provides a Sigstore-signed backend image for amd64 and arm64, with IMAGE_TAG=v6.0.7 for pinning in docker-compose.ghcr.yml. AWS Marketplace offers a single-node CloudFormation deployment.

For production, use docker-compose.production.yml for a non-root backend with a read-only root filesystem and dropped capabilities. It also mounts .env read-only, so configure it on the host rather than through the UI. Keep the database, Redis, and monitoring endpoints private behind a TLS reverse proxy for public access. Back up PostgreSQL and durable jobs Redis, and preserve the credential-encryption key across upgrades. Size the host against real worker concurrency and backtest workloads; self-hosting does not make connected market data, AI providers, or broker services available offline.

Service boundaries: Flask/Gunicorn handles HTTP; separate trading, scheduling, and Celery workers run outside the request lifecycle.
Event and state flow: Kafka carries closed-bar and lifecycle events; PostgreSQL stores durable commands, leases, checkpoints, and order intents.
Execution isolation: Strategy API V2 code runs in credential-free child processes and fails closed if Linux seccomp and Landlock cannot be activated.
Factor research: Factor Lab benchmarks up to 40 registered factors against a point-in-time panel, with time-ordered holdout and false-discovery control.
Parameter validation: Random, grid, and TPE search pair walk-forward validation and a blind holdout with overfitting diagnostics and cost stress tests.
Agent access: Agent Gateway and MCP complement the Human API; agent live trading requires both token-level and server-side authorization.
Best For

Python strategy authors and small teams that need to move from research to paper and live trading on infrastructure they control, with API or MCP access for agents.

Skip If

You only need notebook-scale backtests, want a fully managed execution service, or cannot operate the multi-service stack on a Linux runtime that supports the sandbox requirements.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCPAPI
curl -fsSL https://raw.githubusercontent.com/OpenByteInc/QuantDinger/main/install.sh | bash

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
QuantDinger ★14.2k+185PythonApache-2.0Self-hosted quant trading with isolated Python strategies, backtesting, and agen
Vibe-Trading39.6k+490PythonMITA self-hosted trading agent for evidence-linked research and inspectable backtes
FinceptTerminal34.5k+217C++AGPL-3.0A native C++20/Qt6 terminal for financial research, quant analytics, and AI agen
nanobot50.5k+157PythonMITA self-hosted Python gateway for personal AI across web, terminal and chat.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/OpenByteInc/QuantDinger.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

OpenByteInc/QuantDinger Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about QuantDinger

How should an external application or agent integrate with QuantDinger?

Use the Human API for application integrations and the Agent Gateway or MCP for agent workflows. Keep broker credentials on the server: agent tokens are hashed, scoped, rate-limited, and audited. Agent trading is paper-only by default; live orders require authorization on both the token and the server.

Do I need a GPU, and what determines host capacity?

There is no established GPU or VRAM requirement for the core Compose stack. Size the host for PostgreSQL, Kafka, two Redis instances, and Python workers first. Measure CPU, memory, and storage with representative backtests and concurrent strategies before sizing production. Add Prometheus, Grafana, and Alertmanager only if you need the bundled monitoring stack.

Can I self-host it commercially, and what obligations remain?

The repository is Apache-2.0 licensed, which permits commercial use subject to its terms. That does not grant rights to redistribute market data or override broker terms and local trading rules. AWS Marketplace charges no software fee for QuantDinger, but AWS infrastructure costs still apply.

When is it preferable to a standalone backtester or a managed platform?

Choose QuantDinger if you want research, backtests, paper trading, live execution, and agent access on one platform and can operate its services. A standalone Python backtester is a better fit when the output is a research artifact. A managed platform is worth considering if reducing infrastructure work matters more than controlling deployment and credentials; verify broker and data coverage either way.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining OpenByteInc/QuantDinger? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature OpenByteInc/QuantDinger on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare