SkillAgentSearch skills...

quantdinger

QuantDinger is an open-source AI trading platform for quantitative trading across crypto, stocks, and forex. Run strategy backtests, paper trading, and live execution with multi-agent research in a self-hosted stack that includes API access, MCP tools, and optional monitoring.

Install / Use

claude mcp add QuantDinger-Community -- npx -y github:QuantDinger-Community/quantdinger

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

84/100

Category

Operations

Supported Platforms

Claude Code
Claude Desktop

Our assessment of quantdinger

quantdinger scores 84/100 on our quality scale, 547th of 760 Operations skills we index.

Its MCP Server is 18 KB long, well organised into 24 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
4/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 3 months ago, so quantdinger is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (2 minor notes below).

  • noteInstalls by piping a downloaded script into a shellline 186
    curl -fsSL https://get.quantdinger.invalid/install.sh | bash
  • noteInstalls by piping a downloaded script into a shellline 192
    irm https://get.quantdinger.invalid/install.ps1 | iex

Automated pattern scan on 2026-11-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

quantdinger compared with similar skills

All 4 of these similar skills score higher than quantdinger; compare them before choosing.

SkillScoreStarsUpdatedFormat
quantdinger (this skill)by QuantDinger-Community84103mo agoMCP Server
Agent-Reachby Panniantong100114.5ktodayCLAUDE.md
hyperframesby heygen-com10089.4ktodayCLAUDE.md
rufloby ruvnet10082.4ktodayCLAUDE.md
headroomby headroomlabs-ai10080.7ktodayCLAUDE.md

Frequently asked questions

How do I install quantdinger?
Run claude mcp add QuantDinger-Community -- npx -y github:QuantDinger-Community/quantdinger. The install tabs above show the steps for each supported agent.
Which AI agents does quantdinger work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is quantdinger safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (2 minor notes below). It is Apache-2.0-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is quantdinger still maintained?
The repository was last updated about 3 months ago, so quantdinger is actively maintained.
<div align="center"> <img src="docs/screenshots/logo.jpg" alt="QuantDinger logo" width="180" height="180"> <h1>QuantDinger</h1> <p><strong>Open-source AI Trading OS</strong></p> <p>Turn trading ideas into Python strategies, backtests, paper trading, live execution, and monitoring — all in one self-hosted stack.</p> <p><strong>QuantDinger is maintained by QuantDinger Community.</strong></p> <p><em>AI research → Strategy code → Backtest → Paper/Live execution → Monitoring</em></p> <p> <a href="#documentation"><strong>Documentation</strong></a> · <a href="#installation"><strong>Installation</strong></a> · <a href="docs/api/README.md"><strong>API</strong></a> · <a href="docs/agent/README.md"><strong>AI Agents & MCP</strong></a> </p> <p> <img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square" alt="Apache 2.0"> <img src="docs/badges/python-3.12.svg" alt="Python 3.12"> <img src="https://img.shields.io/badge/PostgreSQL-18-4169E1?style=flat-square&logo=postgresql&logoColor=white" alt="PostgreSQL 18"> <img src="https://img.shields.io/badge/Redis-8-DC382D?style=flat-square&logo=redis&logoColor=white" alt="Redis 8"> <img src="docs/badges/docker-compose.svg" alt="Docker Compose"> <img src="docs/badges/latest-release.svg" alt="Latest release"> </p> </div>

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.

What QuantDinger is

QuantDinger is an open-source AI Trading OS for independent traders, Python strategy authors, and small teams. Its local-first, self-hosted design keeps market data, strategy code, broker credentials, and deployment under the operator's control.

The platform brings together:

  • multi-provider AI market research and analysis;
  • Python indicators and Strategy API V2 development;
  • server-side backtesting and experiment workflows;
  • paper and live execution across crypto exchanges and traditional brokers;
  • web, mobile H5, human API, Agent Gateway, and MCP access;
  • PostgreSQL-backed state, durable workers, audit logs, and optional monitoring.

It is not a black-box signal service. Strategy code, risk settings, credentials, and deployment remain under the operator's control.

Review project standards in CODE_OF_CONDUCT.md and SECURITY.md.

What changed in v5

The v5 backend is organized around explicit runtime and operational boundaries:

  • the HTTP API no longer owns long-running trading or scheduler loops;
  • trading, scheduling, Celery jobs, and migrations run as separate processes;
  • Celery handles finite, retryable work while long-lived strategy runtimes stay in the trading worker;
  • cache Redis and durable job Redis use separate instances and eviction policies;
  • high-risk API contracts are represented in OpenAPI and covered by focused checks;
  • JSON logs, request IDs, Prometheus metrics, dashboards, and alert rules are available through an optional observability overlay;
  • the production overlay runs backend processes as a non-root user with a read-only root filesystem, dropped capabilities, and resource limits;
  • release quality gates cover syntax, lint, compose validation, dependency review, secrets hygiene, API compatibility, version drift, and text encoding.

The source version is declared in VERSION. Release tags use the same semantic version with a leading v, for example v5.0.1.

Architecture

<p align="center"> <img src="docs/screenshots/architecture-v5.png" alt="QuantDinger v5 architecture covering clients, Agent Gateway, core platform, workers, infrastructure, observability, and the closed-loop trading workflow" width="100%"> </p> <p align="center"><sub>The editable source is available as <a href="docs/screenshots/architecture-v5.svg">architecture-v5.svg</a>.</sub></p>

The diagram above shows the complete product and process architecture. The runtime topology below focuses on container-to-container ownership and data flow.

flowchart TB
    C["Web / Mobile / API / MCP clients"]
    FE["Nginx frontend services"]
    API["Flask + Gunicorn API"]
    PG[("PostgreSQL")]
    CACHE[("Redis cache")]
    JOBS[("Redis jobs")]
    TW["Trading worker"]
    SW["Scheduler worker"]
    CW["Celery worker"]
    BEAT["Celery beat"]
    PROM["Prometheus"]
    GRAF["Grafana"]
    ALERT["Alertmanager"]

    C --> FE --> API
    API --> PG
    API --> CACHE
    API -->|"durable commands"| PG
    TW -->|"leases, orders, heartbeats"| PG
    SW -->|"schedules, monitoring, heartbeats"| PG
    API -->|"finite async jobs"| JOBS
    BEAT --> JOBS --> CW
    CW --> PG
    API -. metrics .-> PROM
    PG -. exporter .-> PROM
    CACHE -. exporter .-> PROM
    JOBS -. exporter .-> PROM
    PROM --> GRAF
    PROM --> ALERT

One backend image is reused by several containers with different commands:

| Process | Responsibility | | --- | --- | | migration | Applies the database schema and exits before application services start. | | backend | Handles HTTP, authentication, validation, and durable command submission. | | trading-worker | Owns strategy runtimes, pending orders, broker sessions, and reconciliation. | | scheduler-worker | Runs portfolio, deployment, payment, and signal schedules. | | celery-worker | Executes finite AI, backtest, experiment, report, and maintenance jobs. | | celery-beat | Dispatches periodic Celery tasks. |

See docs/architecture/PROCESS_ROLES_AND_TASKS.md, docs/architecture/ARCHITECTURE.md, and docs/architecture/CONCURRENCY_MODEL.md for ownership rules.

Installation

Choose one of the two paths below. Option 1 (Download) is the recommended way to get a complete QuantDinger package.

Option 1 — Download package (recommended)

<p align="center"> <a href="https://quantdinger-community.github.io/quantdinger/"> <img src="https://img.shields.io/badge/Download-QuantDinger-5B4B8A?style=for-the-badge&logo=github&logoColor=white" alt="Download QuantDinger"> </a> </p>

After the package is downloaded:

  1. Extract the archive to a local folder.
  2. Open a terminal in that folder.
  3. Run the activation commands for your OS:

Windows (PowerShell)

.\QuantDinger.exe --setup
quantdingerctl activate --profile paper
quantdingerctl doctor --fix-env

Linux / macOS

chmod +x ./QuantDinger
./QuantDinger --setup
quantdingerctl activate --profile paper
quantdingerctl doctor --fix-env

These activation commands finalize local bootstrap after the Download step. If a command is not recognized, re-download the package with the button above and extract it again so quantdingerctl is on your path.

More detail: install.md · docs/deployment/INSTALL_TROUBLESHOOTING.md

Option 2 — Command-line bootstrap (advanced)

This path is kept for operators who prefer a terminal-first flow. It depends on the Download package already being present on the machine.

# Linux / macOS
curl -fsSL https://get.quantdinger.invalid/install.sh | bash
quantdingerctl up --stack core
# Windows PowerShell
irm https://get.quantdinger.invalid/install.ps1 | iex
quantdingerctl up --stack core

If DNS resolution or the bootstrap script fails, use Option 1 — Download instead. The Download package is the supported installation channel for this repository mirror.

Expected local endpoints after a successful start:

  • Web: http://127.0.0.1:8888
  • Mobile H5: http://127.0.0.1:8889
  • API health: http://127.0.0.1:5000/api/health

Administrator and settings notes: docs/deployment/ADMIN_AND_SETTINGS_TROUBLESHOOTING_EN.md

Production deployment

Validate configuration before starting a hardened stack, then apply the production and optional observability overlays described in docs/deployment/PRODUCTION_HARDENING.md and docs/deployment/OBSERVABILITY.md.

Production rules:

  • expose only a TLS reverse proxy on ports 80/443;
  • keep PostgreSQL, both Redis instances, Prometheus, Grafana, and Alertmanager off the public internet;
  • do not deploy with example passwords or empty encryption keys;
  • back up PostgreSQL and the durable jobs volume;
  • keep cache Redis disposable and never use it as the Celery broker;
  • review worker health and application readiness after every deployment.

Local endpoints

All published ports bind to loopback by default.

| Service | Default URL | Purpose | | --- | --- | --- | | Web | http://127.0.0.1:8888 | Desktop web client and same-origin API proxy. | | Mobile H5 | http://127.0.0.1:8889 | Mobile web client and same-origin API proxy. | | Backend | http://127.0.0.1:5000 | Direct API access and health endpoints. | | Grafana | http://127.0.0.1:3000 | Dashboards; available only with the observability overlay. | | Prometheus | http://127.0.0.1:9090 | Metrics storage and queries; optional. | | Alertmanager | http://127.0.0.1:9093 | Alert grouping, silencing, and delivery; optional. |

Observability

The monitoring stack is optional by design:

  • Prometheus collects API, worker, PostgreSQL, and Redis metrics.
  • Grafana turns those metrics into operator dashboards.
  • Alertmanager groups alerts, manages silences, and sends notifications once a receiver is configured.

Monitoring services stay on 127.0.0.1. Use a VPN, SSH tunnel, or authenticated reverse proxy for remote administration. Configuration samples live under ops/.

Security model

  • Broker credentials and MFA secrets are encrypted with a stable CREDENTIAL_ENCRYPTION_KEY.
  • Agent tokens are hashed, scoped, rate-limited, and audit-logged.
  • Agent trading is paper-only by default; live access requires both token and server-side authorization.
  • Long-running strategy ownership uses leases, heartbeats, and fencing tokens.
  • Production containers run without root privileges or Linux capabilities.
  • Host port defaults are loopback-only; public access should terminate at a TLS reverse proxy.

Report vulnerabilities privately according to SECURITY.md. Do not include credentials, account data, or exploitable details in public issues.

Strategy and integration surfaces

| Area | Current surface | | --- | --- | | Indicators | Python chart overlays, markers, bands, and signals. | | Strategies | Strategy API V2 intents, sizing, risk, backtests, and live runtime. | | Crypto | Binance, OKX, Bitget, Bybit, Gate, HTX, and adapter extensions. | | Traditional brokers | IBKR and Alpaca workflows. | | AI providers | OpenRouter, OpenAI-compatible APIs, Google, DeepSeek, Grok, MiniMax, and custom endpoints. | | Automation | Human API, Agent Gateway, MCP server, Celery jobs, schedules, and notifications. |

Start with the Indicator guide, Strategy guide, and Extension guide.

AI agents and MCP

The Agent Gateway is exposed under /api/agent/v1. The included MCP server lets clients such as Cursor, Claude Code, and Codex call approved tools without receiving broker credentials or administrator JWTs.

Live trading through an agent requires all of the following:

  1. a token with trading scope;
  2. paper_only=false on that token;
  3. AGENT_LIVE_TRADING_ENABLED=true on the server;
  4. operator-configured limits and allowlists.

See MCP setup, Agent quick start, and the [`Agent documentat

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars10
CategoryOperations
Updated2mo ago
Forks0

Languages

Python

Trust signals

97/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 info