My developer couldn't find a way to fetch the market quotes using websocket, we are using C# .net. Will you be able to provide us with some sample codes or should we use some third party API's to stream the live data. Please advise.
Below are his words.. Question: I'm developing desktop application using Kite API. I want to retrieve real time market quotes, using socket connection. How do I setup socket connection using Kite API? If socket connection is not possible then what are the ways to fetch real time quotes without any delay, do I need to call market quote API every 2-3 sec interval?? Ref: https://kite.trade/docs/connect/v1/#retrieving-market-quotes
Live quotes streaming cannot directly work using your C# code. You will need a server and register it with Zerodha. Then you need to follow the login flow and use the link with api_key and your access_token. access_token would be retrieved after you perform login flow successfully. Check the documentation again.
I am able to fetch live stock quotes using my php code.
@dineshkumarc We're working on documenting and making our WebSocket APIs public. It'll give you live streaming quotes for n number of instruments. This should hopefully be public in a week or two.
In the meanwhile, please do not poll the quotes API. It's mean for one-off fetches and not for polling.
Question: I'm developing desktop application using Kite API. I want to retrieve real time market quotes, using socket connection. How do I setup socket connection using Kite API?
If socket connection is not possible then what are the ways to fetch real time quotes without any delay, do I need to call market quote API every 2-3 sec interval??
Ref: https://kite.trade/docs/connect/v1/#retrieving-market-quotes
You will need a server and register it with Zerodha.
Then you need to follow the login flow and use the link with api_key and your access_token.
access_token would be retrieved after you perform login flow successfully.
Check the documentation again.
I am able to fetch live stock quotes using my php code.
In the meanwhile, please do not poll the quotes API. It's mean for one-off fetches and not for polling.
Would love to be part of beta testing as well before the final release version.