WebSocket protocol is a new HTML5 protocol, which provides full-duplex communication between web browsers and web servers. Connection can be established after one handshake. Web server can then push business logic data to web browsers.
- Request header is small in size (around 2 bytes) during communication
- Web servers and clients can send data bi-directionaly
- Since there is no need to create and delete TCP connection repeatedly, it saves resources
We strongly recommend developers to use Websocket API to access market related information and trading depth.
Should you have any questions, feel free to contact our support team.