QuantDinger AI Trading OS
Turn AI-assisted market research into Python strategies, backtests, paper trading, live execution, and monitoring.
- Source repo
- OpenByteInc/QuantDinger
- Stars
- ★ 14k
- Last updated
- 2d ago v6.0.6
- FARS reviewed
- Nov 08, 2026 +19 new
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 64/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code · OpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- An independent trader wants to turn an idea into a Python strategy and move through backtesting, paper validation, and controlled live deployment on infrastructure they own.
- Not a fit if
- Solo traders who want a zero-ops tool and won't run PostgreSQL, Redis, and multiple workers
- Teams that need a vendor-hosted SaaS and don't want operational or compliance duties
- Developers who can't manage TLS reverse proxies, secrets, and backups themselves
- Website
- ai.quantdinger.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-30latest release v6.0.6 (2026-11-30)+24.4 ★/day over 7 days
- Source review
- 64/100 · Some gaps
What does this agent do, and when should you use it?
QuantDinger is an open-source, self-hosted AI Trading OS for independent traders, Python strategy authors, and small teams. It combines AI-assisted research, indicators and Strategy API V2 development, server-side backtesting, paper or live execution, and monitoring across crypto, stock, and forex workflows. A Flask and Gunicorn API delegates long-running strategy ownership to trading-worker, scheduling to scheduler-worker, and finite retryable jobs to Celery over a dedicated Redis instance, while PostgreSQL stores durable state and audit records. Users can work through desktop web, mobile H5, the Human API, Agent Gateway, or a standalone MCP server documented for clients including Codex, Claude Code, and Cursor. This is not a managed black-box signal service: strategy code, market data, credentials, risk settings, deployment, and the resulting operational and compliance burden remain under the operator's control.
The documented pipeline is “AI research → Strategy code → Backtest → Paper/Live execution → Monitoring.” QuantDinger can conduct research through multiple AI providers and custom endpoints, consume market, macro, news, and sentiment data, and run Python indicators and Strategy API V2 code. Synchronous requests pass from app/routes to app/services and then to PostgreSQL, Redis cache, data providers, or trading adapters; durable strategy commands are written to PostgreSQL and consumed by trading-worker, which owns leases, strategy runtimes, pending orders, broker sessions, and reconciliation. Finite jobs travel through Redis jobs to app/tasks in celery-worker, while scheduler-worker performs portfolio, deployment, payment, and signal schedules. Its trading surfaces include Binance, OKX, Bitget, Bybit, Gate, HTX, IBKR, and Alpaca workflows, producing backtest and experiment results, reports, orders, runtime state, and audit records. Optional Prometheus, Grafana, and Alertmanager services collect metrics, expose dashboards, and route alerts. MCP clients call approved tools through mcp_server and /api/agent/v1 without receiving broker credentials or administrator JWTs.
- An independent trader wants to turn an idea into a Python strategy and move through backtesting, paper validation, and controlled live deployment on infrastructure they own.
- A small quant team needs durable PostgreSQL state and audit trails while separating HTTP traffic, long-lived strategy runtimes, scheduled work, and finite asynchronous jobs.
- A crypto trader wants one strategy environment spanning adapters for Binance, OKX, Bitget, Bybit, Gate, or HTX.
- A stock or traditional-market developer wants Alpaca or IBKR workflows while retaining local control of strategy code, broker credentials, and risk settings.
- A Codex, Claude Code, or Cursor user wants to invoke authorized research and trading operations over MCP without exposing administrator JWTs or broker secrets to the client.
- An operations-focused team needs optional Prometheus, Grafana, and Alertmanager coverage for the API, workers, PostgreSQL, and Redis.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://raw.githubusercontent.com/OpenByteInc/QuantDinger/main/install.sh | bashirm https://raw.githubusercontent.com/OpenByteInc/QuantDinger/main/install.ps1 | iex
- Ports
8888·8889·5000- Environment variables
SECRET_KEYCREDENTIAL_ENCRYPTION_KEYADMIN_PASSWORDPOSTGRES_PASSWORDREDIS_PASSWORDCELERY_REDIS_PASSWORD- Config files
backend_api_python/.env.env.exampledocker-compose.ymldocker-compose.production.ymldocker-compose.observability.yml- Install notes cover
- Windows · macOS · Linux · Docker
How do you install or deploy this agent?
The shortest path requires Docker with Compose v2; local Node.js and Python installations are not required. On Linux or macOS run:
curl -fsSL https://raw.githubusercontent.com/OpenByteInc/QuantDinger/main/install.sh | bashOn Windows PowerShell run:
irm https://raw.githubusercontent.com/OpenByteInc/QuantDinger/main/install.ps1 | iexThe installer requests initial administrator credentials, generates required secrets, downloads the GHCR Compose stack, and starts it. Open http://127.0.0.1:8888 for the web client, http://127.0.0.1:8889 for mobile H5, or http://127.0.0.1:5000/api/health for the API health endpoint.
For a source deployment run:
git clone https://github.com/OpenByteInc/QuantDinger.git
cd QuantDinger
cp backend_api_python/env.example backend_api_python/.env
cp .env.example .envSet SECRET_KEY, CREDENTIAL_ENCRYPTION_KEY, ADMIN_USER, and ADMIN_PASSWORD in backend_api_python/.env. Set POSTGRES_PASSWORD, REDIS_PASSWORD, CELERY_REDIS_PASSWORD, and GRAFANA_ADMIN_PASSWORD in the root .env. Generate independent values with python -c "import secrets; print(secrets.token_hex(32))", then run docker compose up -d --build followed by docker compose ps. Manual Docker deployments retain quantdinger / 123456 only for backward compatibility when administrator variables remain at their defaults; that credential is unsuitable for an internet-facing deployment, and the one-command installer refuses 123456 as the selected password.
How do you use this agent?
Sign in at http://127.0.0.1:8888 and configure the required AI provider, market-data source, and broker or exchange credentials. Develop Python indicators and Strategy API V2 strategies, run server-side backtests, inspect experiment output, and begin with paper trading using restricted API keys. Enable live execution only after reviewing strategy behavior, order limits, allowlists, and applicable jurisdictional requirements. Agent and MCP access is exposed under /api/agent/v1; agent-driven live trading requires a token with trading scope, paper_only=false on that token, AGENT_LIVE_TRADING_ENABLED=true on the server, and operator-configured limits and allowlists. Before production deployment, validate secrets with python backend_api_python/scripts/check_production_config.py --env-file .env --env-file backend_api_python/.env. The hardened runtime with optional monitoring can then be started with docker compose -f docker-compose.yml -f docker-compose.production.yml -f docker-compose.observability.yml up -d --build.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Research, Python strategy authoring, backtesting, paper trading, live execution, and monitoring form one documented workflow instead of requiring manual handoffs among separate tools.
- The process model explicitly separates the HTTP API, trading-worker, scheduler-worker, celery-worker, celery-beat, and migrations, including a distinction between long-lived runtimes and finite retryable work.
- The integration surface spans several crypto venues plus IBKR and Alpaca, while AI options include OpenRouter, OpenAI-compatible APIs, Google, DeepSeek, Grok, MiniMax, and custom endpoints.
- Agent tokens are hashed, scoped, rate-limited, and audited; agent trading is paper-only by default and live access requires both token-level and server-side authorization.
- Deployment choices include prebuilt images, one-command installers, a source Compose stack, a production-hardening overlay, and an optional observability overlay.
- Self-hosting leaves the operator responsible for PostgreSQL, two purpose-separated Redis instances, secrets, backups, migrations, TLS, worker health, and monitoring.
- Live mode can submit real orders and lose capital; backtests, simulations, indicators, and AI output do not establish future performance, and jurisdictional compliance remains the user's responsibility.
- Production setup requires several independent secrets and passwords; incorrect ownership, read-only mounts, or retained example credentials can prevent configuration changes or create security exposure.
- Desktop and mobile client source lives in separate repositories under their own source-available licenses; Apache-2.0 covers the backend code but does not grant trademark rights.
- Exchange, broker, AI-provider, and data-source functions depend on external networks and third-party services whose availability, permissions, pricing, and failure behavior are outside this repository.
How does this agent compare with similar options?
Unlike a black-box signal service, QuantDinger keeps strategy code, risk settings, credentials, and deployment under the operator's control. Unlike a design tied to one model vendor, it documents OpenRouter, OpenAI-compatible APIs, Google, DeepSeek, Grok, MiniMax, and custom endpoints, although each still requires its own configuration and service access. The base Compose stack also differs from an always-on monitoring bundle: Prometheus, Grafana, and Alertmanager are optional through the observability overlay.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| QuantDinger AI Trading OS This agent | 64 · Some gaps | Self-hosted serviceFree + model costs | ★ 14k | 2d ago | Python | Codex · Claude Code · OpenAI API |
| Vibe-Trading | 68 · Some gaps | CLIFree + model costs | ★ 40k | 1d ago | Python | OpenAI API · Claude API |
| AlphaSift | 64 · Some gaps | — | ★ 653 | 2d ago | Python | Codex · Claude Code |
| BetterTradingAgents | 71 · Some gaps | — | ★ 38 | 19d ago | Python | OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
The repository distinguishes research, strategy runtime, and live trading; documents tenant scope, tool permissions, idempotency keys, dual confirmation for live orders, credential encryption, and log redaction; and provides audit, backup, and upgrade/rollback guidance. These support ordinary safeguards, but only a sample of MCP source and security documentation is supplied, so implementation of every permission and external data path cannot be verified and full marks are not justified.
The architecture separates the API, trading workers, scheduling, and finite jobs, while README and installation guides describe dependencies, health checks, and troubleshooting. MCP returns readable timeout and request-error responses. Availability still depends on self-hosted services and external brokers, exchanges, AI, and market-data providers; the packet shows no availability guarantees or offline substitutes, so dependency availability scores low.
The material identifies independent traders, Python strategy authors, and small teams, describes research, backtesting, paper and live trading, and supports Agent Gateway, MCP, and multiple deployment environments. Agent operations can affect live trades and multiple integrations; boundaries and authorization prerequisites are documented, but the complete Agent documentation and all strategy-execution source were not supplied, limiting the score.
The repository map, architecture, and deployment information are clearly organized. Installation, upgrade, FAQ, bilingual troubleshooting, and an Apache-2.0 license are present; VERSION and semantic-tag guidance support version identification. Contribution routes, a security-report channel, and a project-lead process are documented, but maintenance responsibility is largely self-described and maintainer identity and release cadence are not independently established by this packet.
Agent Gateway and MCP bring research, strategy, backtesting, account inspection, and trading operations into one platform, with structured results and job polling/streaming. The material discusses operational resources and deployment costs, but the system is complex and requires Docker, databases, queues, and external services; the cost-benefit depends on scale and operator expertise.
README claims about architecture, deployment, and risk controls receive partial corroboration from the security assessment, installation guides, MCP code, and CI configuration. CI lists tests, lock-file checks, and security checks. Some coverage/security badges and program outcomes are assertions rather than independently verified results here, and the source sample is incomplete, so the score remains moderate.
- The system can connect to brokers and submit live orders. Start with paper trading, use restricted keys, and verify live-trading authorization, risk limits, and applicable jurisdictional requirements.
- The security policy describes JWT, code-isolation, and broker/strategy-execution issues resolved in 2026; operators should use a supported revision and rotate affected secrets as documented.
- This assessment uses only the supplied static sample; it did not execute code or verify CI, badges, backtest results, or live-trading correctness.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Backend v6.0.6 Docker image (multi-arch, amd64 + arm64): ```bash docker pull ghcr.io/openbyteinc/quantdinger-backend:v6.0.6 ``` Pin in docker-compose.ghcr.yml via IMAGE_TAG=v6.0.6 in a project-root .env. The image is signed with Sigstore keyless signing. Verify it with: ```bash cosign verify \ --certificate-identity-regexp '^https://github.com/OpenByteInc/QuantDinger/.github/workflows/docker-publish.yml@refs/tags/v.*$' \ --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \ ghcr.io/openbyteinc/quantdinger-backend:v6.0.6 ``` --- What's Changed …View on GitHub ↗ -
Release notes excerpt
Backend v6.0.5 Docker image (multi-arch, amd64 + arm64): ```bash docker pull ghcr.io/openbyteinc/quantdinger-backend:v6.0.5 ``` Pin in docker-compose.ghcr.yml via IMAGE_TAG=v6.0.5 in a project-root .env. The image is signed with Sigstore keyless signing. Verify it with: ```bash cosign verify \ --certificate-identity-regexp '^https://github.com/OpenByteInc/QuantDinger/.github/workflows/docker-publish.yml@refs/tags/v.*$' \ --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \ ghcr.io/openbyteinc/quantdinger-backend:v6.0.5 ``` --- What's Changed …View on GitHub ↗ -
Release notes excerpt
Backend v6.0.4 Docker image (multi-arch, amd64 + arm64): ```bash docker pull ghcr.io/openbyteinc/quantdinger-backend:v6.0.4 ``` Pin in docker-compose.ghcr.yml via IMAGE_TAG=v6.0.4 in a project-root .env. The image is signed with Sigstore keyless signing. Verify it with: ```bash cosign verify \ --certificate-identity-regexp '^https://github.com/OpenByteInc/QuantDinger/.github/workflows/docker-publish.yml@refs/tags/v.*$' \ --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \ ghcr.io/openbyteinc/quantdinger-backend:v6.0.4 ``` --- What's Changed …View on GitHub ↗
FAQ
Does it place real trades by default?
Which credentials and secrets are required for deployment?
Are Grafana and Prometheus mandatory?
Does an MCP client receive broker secrets?
Is the entire product licensed under Apache-2.0?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.