@bhumi Ticker is not available in KiteConnect PHP client. This is because PHP is a backend scripting language and it is not appropriate to have long living WebSocket(TCP) connection inside a PHP script.
You can use KiteConnectJS library and fetch t…
Yes, you can log in. But if you log out from one, other sessions will also expire.
For queries regarding Kite and other platforms check out our support portal at https://support.zerodha.com.
This forum is dedicated for Kite Connect related queries.
Hi @vishwash_yadav
The mentioned error happens when you send the instrument tokens as strings instead of integers. But your code looks fine. We need more data to debug this issue. Can you initialize ticker like below:
Ticker ticker = new Ticker(M…
Hi @naz,
I understand your concern. You can compare this with how Facebook share buttons and Tweet buttons work in websites. And all of them don't perform the action automatically, it asks for the user consent before the action.
Hi @naz,
The popup window shown is actually Kite not the above-mentioned website (see the address bar of the popup window). It is showing your user id because you were already logged in to Kite, maybe in another tab.
Also, the website won't be abl…
@eeesathiaeee The code example you have given is for a Cordova application. But you are using Publisher JS plugin in it which is meant to be used in a browser environment. For a mobile application Basket order is more appropriate. You have to make a…
@karanbhandari GetQuote function actually returns the data for those instruments with special characters in its trading symbol. But & is JSON encoded as \u0026 which is bug. We will fix this and let you know. Thanks for notifying.
@ZK2689 @trade_then You should never parse URLs manually. The standard library has built-in functions for that.
For example:
class Program
{
static void Main(string[] args)
{
Uri tmp = new Uri("http://www.google.co.uk/search?hl=en&q=…
@RP7220 We tried at our end and it works fine. Can you initialize ticker with Debug parameter to True? This will print detailed logs on the command line. Can you post it here? We will investigate.
You can split the dates into smaller ranges and fetch them and combine them at the end. Rate limits are applied to reduce the load from the server and to reliably transfer data to clients.
You will get updates for all of them whenever there is a tick available for them. The number of ticks you get depends on the liquidity of the instrument.
Can you write logging.basicConfig(level=logging.DEBUG) at the beginning of your code? Give us the log generated when the issue happens. We will investigate.
KiteConnect subscription is for a single user. If you are building a platform with multiple user support please send an email at talk(at)rainmatter.com
You are using old version of library. Try running pip install kiteconnect --upgrade --pre.
You can create a thread that fetches data and then sleep for 60 seconds.
Try initializing with Debug true like this:
Kite kite = new Kite(MyAPIKey, Debug: true);
This will give detailed logs. Please post it here.
And also when you give the variety it should be lower case "bo", not "BO". You can use the value from the …
@Guhan The error messages you posted are from Firefox and they are not related to KiteConnect. And the ticker implementation seems to be fine. I would suggest you run the example in the Github repo page and paste the output here.
I believe you are using Visual Studio 2013. The source code is written in C# 6 which is available only in Visual Studio 2015 or newer. If you want to build the DLL from source code you have to upgrade to VS2015. Or you have to use the compiled DLL f…
Your list contains exchange tokens. You have to use instrument tokens from latest instrument CSV dump. Also, the list has >1000 instruments. Max limit of tokens you can subscribe is 1000.
If the functions are async there are more chances of getting rate limited by the server. That's why we didn't add it to the library. But if you are confident that you can handle such cases you can use System.Threading.Tasks.
@KMayank The DLL in the link is for writing programs in C# or VB using Visual Studio and .Net framework. If you want to use it with MS Excel you can use KiteXL library. But you can't use that with Google Sheets.
@archulysses You are using old examples. In new library you should be using,
from kiteconnect import KiteTicker
Check the full examples here and change log here.
@arjunender We will phase out this API shortly. I would suggest migrating to the new APIs as soon as possible which also supports bulk fetch in a single request.
DateTime.ToString() will return the given date in the format as the system has. Which means if you change your date time preferences in the control panel settings it will reflect here as well.
Also, JsonSerialize function is meant for debugging pur…
@trade_then
By disposing I meant unlinking all the events and setting ticker to null.
I'm aborting the connection only inside OnReconnect. And ticker class calls OnReconnect only if the connection is closed or the existing connection is not respo…
@trade_then If you are getting "Error: Lost ticker connection" then it means the connection was closed due to connectivity issues. But in some situations after this, .Net WebSocket library still shows the connection state as Open. That was the reaso…
@shortwire I tried the same thing on my system and it works fine. I didn't get any error or exception. I strongly suggest you to double check your proxy settings in Internet Options.
@shortwire The reason we decided to build it for AnyCPU is that we have users who are still on x86 windows versions. You can change and rebuild it as per your requirements.
Also, from the exception message above I believe there is a proxy sitting i…
@RP7220 Thank you for notifying. We will update docs shortly. By the way, market_protection and market_protection are deprecated. They will be removed from API soon.
From the docs:
The Kite Publisher Javscript plugin lets you add one-click trade buttons to your webpage.
You can't use it for streaming quotes. That requires Kite Connect App subscription.
Request token is generating access token. You can use access token for subsequent requests for the entire day. You don't have to generate session every time.
@vishwash_yadav You are getting rate limited. There is a 1 request/second limit in all quote APIs. Make sure you don't cross the limit.
Also, you are using the old version of APIs. You should use the new version which will also allow you to fetch…
@razcads You can send multiple instruments to the URL instead of requesting separately. You will get rate limited otherwise. The rate is 1 request per second. And you can request up to 500 instruments in one request.
In Android, you cannot write HTTP calls in your main thread because it will block the UI. So all network requests must be handled in a background thread. Check out this solution.
@gautam_s60 There is no URL change in v3. Instead of giving API key and access token in URL it has changed to an HTTP header. Please refer the documentation link I posted above.
Also, I would suggest you find more time to learn about HTTP APIs and …
@sameer You are using quote mode for that instrument token. Change the mode to full to get all new fields.
For example, check WebSocket usage section in GitHub repo.
1. Try enabling the debug mode and see if you are making more requests.
2. The access token you get after the first login is valid for the entire day. That means you don't have to login again for that day. Also, you have to use your browser to logi…
JavascriptSerialiazer is a .Net framework class for serializing objects to JSON. We are using that for debugging purpose. You can check out Utils.cs in its GitHub repo.
Can you post the error message or the screenshot of the exception?
@jitendra If you are using API directly you should add a header to your requests as "X-Kite-Version: 3". If you are using client libraries you can find their respective version 3 releases in their GitHub repository. You can experiment with that.
Al…
@cisk
1. We are already looking into this. It will be fixed shortly.
2. When you place an order and you get back an ID then it is confirmed. There is no confirmation update through WebSocket.
3. This is a long-standing issue from OMS. We have conta…
You can change associated Zerodha ID in app's dashboard. If the order is getting placed on the previous ID that means you are using an access token associated with that account.
@RajeshSivadasan Sorry. As of now, we don't offer such functionality. You might be interested in Streak, a startup funded by Zerodha that has a powerful backtesting engine.
The search algorithm is powered by many heuristics. It is using instruments dump internally. Kite 2 is using Angular and Kite 3 is using Vue.js as front-end framework.