Market Making

Regime-aware grid trading system with metrics collection, exit strategy logic, and position risk management.

Stack: Python/FastAPI, Kubernetes, ArgoCD GitOps, External Secrets Operator, n8n workflows Repo: craigedmunds/market-making

Architecture

  • Metrics service — collects exchange data and market indicators
  • Exit strategy engine — regime-aware logic for position management
  • Grid trading — automated grid placement with dynamic adjustment
  • n8n integration — workflow orchestration for alerts and monitoring
  • YAML-based state — configuration and position state

Phases

PhaseDescriptionStatus
1Metrics collection serviceComplete
2Exit strategy logicComplete (120+ tests)
3Grid trading engineIn progress
4Risk managementPlanned
5Production scalingPlanned (£1K → £10K+)

Target completion: May 2026.

Deployment

  • K8s manifests for cluster deployment
  • ArgoCD seed in k8s-lab
  • KuCoin credentials via central secret store
  • n8n for workflow orchestration