Hi, After recent changes that zerodha is given free API To get live feed we need to purchase Market data
Now while login via API how can we know that live feed is subscribed or not
As we have to manage this scenario where without live feed our program should not get started.
Any API response or any other connection details where we can identify via program that live feed is not coming as we have to subscribed for market data.
Any API response or any other connection details where we can identify via program that live feed is not coming as we have to subscribed for market data.
To access live market or historical candle data, you need to subscribe to Kite Connect(paid version). Please ensure you are using the API key and access token associated with the Connect app (paid version) instead of the Personal app (free version). While creating a new app on the developer account, you'll be given the option to choose between 'Connect' and 'Personal'. Make sure to select 'Connect' and use the API key and Secret key of the Connect in your program.
I have added credits and created new Connect app. But while subscribing to KiteTicker using kite connect java sdk, it is giving error "The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 400 Bad Request" on line tickerProvider.connect();
I have already double checked, it is using the api key and secret from the Connect app only (paid)
My question is how can we know that API we have logged in is Free or with Market Data Enabled
This api gives insufficient permissions error for free personal apps api key
While creating a new app on the developer account, you'll be given the option to choose between 'Connect' and 'Personal'. Make sure to select 'Connect' and use the API key and Secret key of the Connect in your program.
But while subscribing to KiteTicker using kite connect java sdk, it is giving error "The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 400 Bad Request"
on line
tickerProvider.connect();
I have already double checked, it is using the api key and secret from the Connect app only (paid)