Websocket Market Streams

We recommend using the Socket.IO library to perform socket connection between client and server. Please read example here https://socket.io/docs/v4

URLs

  • The base endpoint is: wss://stream.attlas.io

  • API path: /ws

Subscribe/Unsubscribe data

To start/stop receiving data from server you need to emit SUBSCRIBE_EVENT or UNSUBSCRIBE_EVENT with SUBSCRIBE_DATA. Since then by listening to EVENT on the client you will receive updated data from the server socket

Last updated