Websocket (2).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'

Note: If you’re using postman for testing https://mis.kotaksecurities.com/login/1.0/tradeApiValidate would return all the above 3 values.

Example:

Screenshot 2025-10-24 145246.png

Connect to Market feed / websocket :

Lets understand how to connect to HSM

HSM is nothing but that which streams market data.