Real-Time Trading Automation Platform
Botriv
A production platform for real-time trading automation and robot management — 319+ users, 60+ markets, 137+ configurable robots, running 24/7 with up to 500 trades per day.
The Challenge
Trading automation must run continuously. Strategies need to react to live market data, survive disconnects, keep state safe, stay secure, and remain configurable by users without code changes — all while hundreds of users run their own robots simultaneously.
The Solution
Designed and built a full-stack platform: a React SPA over an Express/Node.js backend, a modular engine layer with 5 execution engines, and bidirectional WebSocket flows connecting browsers, backend services, and external market APIs. OAuth 2.0 + PKCE, encrypted token storage, secure sessions, rate limiting, and validation secure the platform, while watchdog, reconnection, and health/contract monitoring keep it alive.
Engineering
- Modular automation architecture: 5 execution engines driving 137+ configurable robots without code changes.
- Real-time workflows over WebSockets for ticks, candles, statistics, trading events, balances, and application updates.
- Security controls: OAuth 2.0 Authorization Code with PKCE, encrypted token storage, rate limiting, and input validation.
- Reliability mechanisms: watchdog, reconnection, health-monitoring, and contract-monitoring for continuous operation.
- Automated testing with Jest across 169 test files.
Outcome
A 24/7 production platform serving 319+ registered users across 60+ markets with up to 500 transactions per day — architected, built, and operated with an AI-native engineering workflow (GLM Coding Plan 5.2 + Kilo Code).
Stack


