I spent the first quarter of 2025 running OKX's native /v5/market/trades endpoint on five virtual machines, deduplicating by tradeId, patching WebSocket gaps with HTTP backfills, and watching our ClickHouse merge selectors fall behind every time BTC-USDT-SWAP crossed 5,000 trades/sec. After a 9-hour outage in February, my team migrated every perpetual swap feed on OKX to the HolySheep Tardis.dev crypto-market-data relay. This guide is the exact runbook we used โ including the rollback path we tested on the way out.
Why teams leave the native OKX API for the HolySheep Tardis relay
- Snapshot lag. OKX's WSS push is at-best ~50 trades/sec aggregated; missing