Connect to wss://synthesis.trade/api/v1/orderbook/ws and send JSON messages over the socket.
Subscription behavior:
markets, an initial snapshot is returned and then live deltas are streamed.venue without markets, the socket subscribes to that venue.{ "type": "subscribe" }, the socket subscribes to all venues.WebSocket message type. Supported values: subscribe or unsubscribe.
Optional venue filter when subscribing without explicit markets. Supported values: polymarket or kalshi.
Optional market list. Maximum 5000 items. Accepts both Polymarket token IDs and Kalshi market IDs. Mixed-venue lists are supported in the same subscribe request.
["12345", "KXBTC-25-T100000"]
WebSocket connection established