HeadlinesBriefing favicon HeadlinesBriefing.com

the0: Self-Hosted Multi-Language Trading Bot Engine

Hacker News •
×

the0 is an open-source algorithmic trading execution engine that provides production-grade infrastructure for deploying and managing trading bots across multiple markets. Build strategies in your preferred language—Python, TypeScript, Rust, C++, C#, Scala, or Haskell—then deploy them to a self-hosted execution engine with real-time monitoring and custom React dashboards. Status: Beta - Active development. Not production-ready.

Quick start locally with Docker Compose: install the CLI via `curl -sSL https://install.the0.app | sh`, initialize with `the0 local init`, then start services with `the0 local start`. Access the frontend at localhost:3001, API at localhost:3000, and MinIO console at localhost:9001. For production, a Helm chart supports Kubernetes deployments with external PostgreSQL, MongoDB, S3-compatible storage, and NATS.

the0 includes a built-in MCP (Model Context Protocol) server enabling AI assistants like Claude Code to manage bots, view logs, and deploy configurations via natural language. Configure via CLI or `.mcp.json` with API key authentication. Available MCP tools cover bot lifecycle, logs, and custom bot schemas.

Architecture uses microservices: Next.js 15/React 19 dashboard, NestJS API server, Go-based Bot Runner and Scheduler communicating via gRPC and NATS JetStream, with PostgreSQL for users/auth, MongoDB for runtime state, and MinIO for code/log storage.