backoption.io — Realtime Trading

Imagem personagem

Technologies

JavaScript 60% React 30% TailwindCSS 10%

Topics

trading websockets lightweight-charts react i18n avalon-sdk

A real-time financial trading terminal and market analytics platform integrated with broker SDK protocols via persistent WebSockets. Engineered the continuous tick ingestion pipeline with automated exponential backoff reconnection, ring buffer normalization, and interactive candlestick chart rendering using TradingView Lightweight Charts running at a consistent 60 FPS through requestAnimationFrame batching. Implemented client-side mathematical calculations for technical indicators (Bollinger Bands, Exponential Moving Averages, RSI), full internationalization (i18n), and a resilient fallback mode with synthetic candle pacing during network interruptions.

Technical Highlights

Real-Time WebSockets

Bidirectional persistent WebSocket connections (ws and Socket.IO) integrated with the Quadcode SDK to stream quotes with sub-second millisecond latency.

Redundancy (ShieldService)

Intelligent failover bus that automatically redirects quote feeds to backup API (Finnhub) and performs REST Safety Polling during network instability.

OTC Pacer Engine

Dynamic tick emulator running in memory cache that outputs high-fidelity synthetic prices during weekend market closure, preserving chart reactivity.

Ledger & PIX Integrations

Immutable transactional layer using double-entry bookkeeping (LedgerEntry) to secure wallet balances and idempotent webhook processing for PIX deposits.

Production codebase is confidential. Public architecture study available above.