{
"type": "price",
"marketId": "clv2abc123def456",
"midpoint": 0.55,
"spread": 0.01,
"bestBid": 0.54,
"bestAsk": 0.56,
"timestamp": 1710000000000
}Live midpoint and spread updates for subscribed markets.
{
"type": "price",
"marketId": "clv2abc123def456",
"midpoint": 0.55,
"spread": 0.01,
"bestBid": 0.54,
"bestAsk": 0.56,
"timestamp": 1710000000000
}App-level auth: pass appId as a query parameter on connect. Required for all connections. The appId must belong to an active app with matching allowed origins.
User-level auth: pass JWT as token query param on connect, or send { action: 'authenticate', token } mid-session. Required for user-specific events (orders, balances). Same JWT as the REST API.
Live midpoint and spread sample