General Guide Lines
The WebSocket API uses WebSocket protocol to establish a single long standing TCP connection after an HTTP handshake to receive streaming quotes. The WebSocket API is the most efficient way to receive quotes for instruments across all exchanges during live market hours.
In addition to market data, alerts, and order updates are also streamed. To connect to the Firstock WebSocket API, you will need a WebSocket client library in your choice of programming language.
Connect to
wss://norenapi.thefirstock.com/NorenWSTP/
(1) As soon as connection is done, a connection request should be sent with User id and login session id.
(2) All input and output messages will be in json format.