The hard part of hedging is not opening positions — it is bookkeeping. Delta syncs positions and funding rates from Binance, Bybit, OKX, BingX, Bitget, Bitunix and Pionex over WebSocket, and derives the true cross-exchange net exposure and cost.
The problem
Running funding-rate arbitrage across several exchanges means every venue has its own position model, funding settlement cycle and fee rules. Reconciling in a spreadsheet stops being viable quickly.
The approach
- One WebSocket adapter per exchange, normalised into a single event type
- Every external message validated with Zod, so a field change at an exchange cannot break the UI
- Funding settlements recorded as events, so historical equity can be recomputed at any point
The outcome
Reconciliation went from half an hour a day to real time.