Event streaming
When you subscribe to a stream, the WebSocket server will push updates to you when an event occurs on the stream you subscribed to.
Each such message contains class
=data
and the stream name (stream
).
Sample event message:
{ "class": "data", "stream": "BPX/USDT@ticker", "pair": "BPX/USDT", "price": "0.0123", "change": 10, "previous": "0.0122" }
No Comments