WebSocket API

For High-Frequency Trading (HFT) and real-time dashboard updates, use our WebSocket API. It provides lower latency than REST polling.

Connection: wss://ws.oraclyst.app

Subscription Protocol

After connecting, send a JSON message to subscribe to specific channels.

{
  "action": "subscribe",
  "channels": ["ticker", "arbitrage_alerts"],
  "symbols": ["ALL"]
}

Channels

  1. ticker: Pushes price updates whenever the best bid/ask changes on any underlying venue.

    • Update Frequency: Real-time (approx. 100ms latency).

  2. orderbook: Streams full depth snapshots (Level 2 data).

  3. arbitrage_alerts: Pushes a notification immediately when a cross-venue spread becomes negative (profitable).

  4. trades: Streams public execution data from all venues.

Last updated