Skip to content

DSTA Platform Documentation

Dr. Strange Trading Analysis

Multi-exchange algorithmic trading platform — crypto + VN stocks, live execution, ML-driven signals, full observability.

Get Started Architecture


Platform Services

🔐 dsta-core-svc · 8001

Authentication, users, API keys, notifications, personal finance.
Live · K8s

📈 dsta-trading-svc · 8002

Strategy registry, order execution, positions, risk engine.
Live · Docker

💾 dsta-data-svc · 8003

OHLCV store (TimescaleDB), VN stock EOD, backtesting engine, analytics.
Live · Docker

🤖 dsta-ml-svc · 8004

Feature engineering, model registry, price prediction, RL agent, RAG knowledge base.
Live · Docker

🔌 dsta-exchange-svc · 8005

Exchange adapter gateway — Binance, Gate.io, Huobi, VNStock. WebSocket streams → Redis pub/sub.
Live · Docker

🖥️ dsta-web · 5173

React 19 + Vite 7 frontend. Metronic v9.4 design system.
Live · K8s


Quick Navigation

I want to… Go to
Run the platform locally Quickstart
Understand the system design Architecture Overview
Write a new trading strategy Strategy Development
Run a backtest Backtesting Guide
Set up monitoring Prometheus Metrics · Grafana
Manage secrets & keys Secret Management
Deploy to production Deployment
Troubleshoot issues Troubleshooting

Tech Stack

  • Python 3.12 · FastAPI (async) · Django 5.2 + DRF
  • PostgreSQL 15 + TimescaleDB (time-series) · Redis 7
  • arq background workers · RabbitMQ message broker
  • Alembic migrations (per-service version tables)
  • FinBERT (sentiment) · MLflow (experiment tracking)
  • pgvector (RAG embeddings, 1536-dim OpenAI)
  • Claude claude-opus-4-7 (MarketAnalystAgent, adaptive thinking)
  • TA-Lib · scikit-learn · statsmodels
  • React 19 · Vite 7 · TypeScript
  • Metronic v9.4 design system · Tailwind CSS
  • TanStack Query v5 · ApexCharts · Recharts
  • Docker Compose (dev/staging) · Kubernetes (production)
  • ArgoCD GitOps · Harbor registry · Vault secrets
  • Traefik + Kong API gateway · Prometheus + Grafana

Status

Component Status
Core platform (Phases 1–4) ✅ Complete
Live trading pipeline ✅ Operational
ML agent + RAG ✅ Operational
VN Stock integration ✅ Operational
Monitoring stack ✅ Operational
E2E test suite ✅ 91/92 passing
K8s production (core + web) ✅ Deployed
K8s production (remaining services) 🔄 In progress