The example mentioned by my colleague is also available in "Refinitiv Real-Time — Optimized: Websocket API Sample Applications" package on the WebSocket API download page.
I suggest you check the Refinitiv Real-Time -- Optimized connection tutorial on this page.
@anbezhilasokan.frm, You received a 403 Forbidden message for service discovery. It seems like your account is not permissioned to discover endpoints and might not have permission for streaming prices either. I would recommend to reach out to your Refinitiv account manager to resolve this.
We need to use the Secure protocol only, does Elektron WebSocket API support wss connection? Does TREP perform wss for us or we need to set our own SSL accelerator? (from WebSocket API Webinar Nov 29)