---
title: "Deploy QuantDinger"
description: "Self-hosted AI trading research: Python strategies, backtests, paper trades"
category: "Analytics"
url: https://railway.com/deploy/quantdinger
---

# Deploy QuantDinger

Self-hosted AI trading research: Python strategies, backtests, paper trades

**[Deploy QuantDinger on Railway](https://railway.com/template/quantdinger)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/quantdinger/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Analytics

## Template content

### Backend https://raw.githubusercontent.com/OpenByteInc/QuantDinger/main/docs/screenshots/logo.png

- **Source:** https://github.com/aalfath/quantdinger-railway-template
- **Health check:** /api/health

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### QuantDinger https://raw.githubusercontent.com/OpenByteInc/QuantDinger/main/docs/screenshots/logo.png

- **Source:** https://github.com/aalfath/quantdinger-railway-template
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# Deploy and Host QuantDinger on Railway

QuantDinger is an open-source, self-hosted trading research platform from Open Byte Inc. It combines AI market analysis, Python indicators and strategies, backtesting, paper trading and portfolio monitoring for crypto, US stocks, Hong Kong stocks and other markets, in one web app. This template runs QuantDinger v5.8.10.

## About Hosting QuantDinger

QuantDinger needs a Python API, a web front end and a PostgreSQL database. Upstream's Compose stack adds Kafka, two Redis instances and Celery workers, which pays off only for many users and many live strategies. This template runs the backend in upstream's single-process mode instead: one private service serves the API and also runs the strategy runtime, scheduler and background jobs. The public web service (nginx) serves the UI and proxies the API over Railway's private network. Postgres and the backend's settings sit on volumes. The first administrator is created from a generated password, public sign-up is off, and live trading is off until you turn it on.

## Common Use Cases

* Write Python indicators and strategies and backtest them on crypto and stock market data
* Paper-trade strategies against live prices before risking real money
* Run AI market analysis with your own OpenAI-compatible model key
* Keep a private research workspace for yourself or a small team

## Dependencies for QuantDinger Hosting

* QuantDinger backend 5.8.10 (`ghcr.io/openbyteinc/quantdinger-backend`, Apache-2.0)
* QuantDinger web UI 5.8.10 (`ghcr.io/openbyteinc/quantdinger-frontend`, source-available licence)
* PostgreSQL (Railway's Postgres)

### Deployment Dependencies

* QuantDinger source and releases: https://github.com/OpenByteInc/QuantDinger/releases/tag/v5.8.10
* Configuration reference: https://github.com/OpenByteInc/QuantDinger/blob/v5.8.10/docs/deployment/CONFIGURATION_REFERENCE.md
* Template repo (Dockerfiles, start script, changelog): https://github.com/aalfath/quantdinger-railway-template
* Web UI licence: https://github.com/OpenByteInc/QuantDinger-Vue/blob/main/LICENSE

### Implementation Details

| Service | Role | Public | Volume |
|---|---|---|---|
| QuantDinger | Web UI (nginx), proxies `/api/` to Backend | yes | none |
| Backend | API, strategy runtime, scheduler, jobs (single process) | no | `/app/data` |
| Postgres | Database | no | yes |

**First login**

1. Wait until Backend shows Active. The first start creates the schema and loads the market catalogue, which takes a minute or two.
2. Open Backend → Variables and copy `ADMIN_PASSWORD` (the user is `admin`).
3. Open the QuantDinger domain, sign in, and change the password in your profile.

**Safe defaults.** On the first start the backend writes `/app/data/.env` with public sign-up, live trading, agent live trading, billing, marketplace and referrals all off. The Settings page edits that file; a Railway variable with the same name overrides it. Live strategies and manual Quick Trade orders place real orders once you save exchange keys and turn live trading on, so use trade-only keys without withdrawal rights.

**AI and data keys (optional).** Add them on Backend → Variables or in the Settings page, then redeploy: `LLM_PROVIDER` (default `openrouter`) with `OPENROUTER_API_KEY`, `OPENAI_API_KEY`, `DEEPSEEK_API_KEY`, `GOOGLE_API_KEY`, `GROK_API_KEY` or `CUSTOM_API_URL` + `CUSTOM_API_KEY` + `CUSTOM_MODEL`; market data keys `TWELVE_DATA_API_KEY`, `FINNHUB_API_KEY`, `TAVILY_API_KEYS`. Email needs `SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASSWORD` and `SMTP_FROM`, and outbound SMTP needs Railway's Pro plan.

**Licence.** The backend is Apache-2.0. The web UI is published under the QuantDinger Frontend Source-Available License: free for non-commercial use and qualifying non-profits, with the "Powered by QuantDinger" branding kept; commercial use needs a licence from Open Byte Inc. This is a community template, not affiliated with Open Byte Inc.

**Updates.** Services build from the template repo, so Railway offers an update when its `main` branch changes. Read `CHANGELOG.md` there and back up both volumes first; the backend applies database migrations on start. Not investment advice: backtests and paper results don't predict real returns.

## Why Deploy QuantDinger on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying QuantDinger on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.



## Similar templates

- [Plausible WordPress](https://railway.com/deploy/deploy-plausible-for-wordpress-sites) — Cookie-free WordPress stats from your own Plausible
- [Typesense Multilingual](https://railway.com/deploy/deploy-typesense-multilingual-search) — Locale-aware multilingual search with Typesense
- [Formbricks](https://railway.com/deploy/formbricks-surveys) — Surveys, NPS and in-app feedback on your own Postgres, Hub and Cube

Open this page in a browser: https://railway.com/deploy/quantdinger
