Overview
A real-time event-processing platform: it reads trading signals from Telegram, sizes risk with live FX conversion, and fans orders out to brokers through one abstraction. Six containerised services, one on-call engineer.
What it does
- Six containerised microservices on Docker Compose: API (FastAPI), Telegram signal ingestion (Telethon), executor, monitor, Redis, and a React/Vite frontend, with PostgreSQL for persistence
- Signal parsing, risk sizing with live FX conversion, and order fan-out (entries × take-profits)
- A broker abstraction, so execution logic never talks to a vendor SDK directly
Postmortem
⚠ Broker API session quota exhausted
- symptom
- Order placement started failing intermittently with session-limit errors from the broker.
- cause
- Two applications shared one broker API key, so together they exhausted that key's session quota.
- fix
- A dedicated API key per application, so one app's sessions can never starve another's.