Websocket.zip

Kotak Neo Websocket zip contains 4 major files :

  1. HSLib

  2. Demo.html

  3. Demo.js

  4. Neo.js

To Start the websocket make sure the position of these files are aligned as shown in below example :

To Start Websocket open demo.html file, this file will open a web page in your browser which will like this :

Now to establish the connect user needs to pass 3 parameters

'dataCenter': '123'

Connect to Market feed / websocket :

Lets understand how to connect to HSM

HSM is nothing but that which streams market data.

When we pass Session Token, SID and data center we can connect with HSM. Click on “Connect HSM”

Subscribe Scrip :