Market Depth websocket usin CPP

Not able to connect WebSocket using CPP. I m using wss://api.fyers.in/socket/v2/data/ to connect. M i missing something?
Can someone please suggest.

Thank You

Hi @rahul_garg

We provide websocket in SDKs, Python, Java, Web JS, Node.js, and C#/.NET. And C++ SDK is not available at the moment. We request you to use any of the supported SDKs for establishing socket connection.

If possible, can you provide me WSS URL so that i can try connecting without SDK if it is not language-specific.

Hi @rahul_garg,

Unfortunately, direct WSS URL can’t be provided. The WebSocket is available only through our SDKs. We recommend using any of the existing SDKs. Also, we would like to confirm that a C++ SDK will be available soon.

Check the fyers-apiv3 package source code on PyPI. Open data_ws.py and order_ws.py and search for “wss”, you will find it.

Hi @rahul_garg @oBLhcWmN6Z
We have released the official C-lang SDK, which also supports C++. Please check it out: GitHub - FyersDev/fyers-c-sdk · GitHub