To better understand the scenario, we need to identify the specific case in which the null message is being returned. Please use the e.printStackTrace() method to print the complete stack trace, which will provide detailed information about where th…
Kite Connect’s Historical Data API provides OHLCV (Open, High, Low, Close, Volume) data only for the specific instrument requested, such as a particular option or future contract.
Since options are derivative instruments, their prices are based on t…
The NIFTY 50 index (instrument_token = 256265) is a benchmark market index and not an exchange-traded security. Therefore, it does not have actual trade volume or open interest, as the index itself cannot be directly bought or sold on the NSE. You c…
Since the instrument file contains a large amount of data, it is recommended to fetch it once in the morning, store it locally, and reuse it throughout the day instead of polling it again and again.
There is a throttling period for 400 and 403 respo…
We use data provided by Sensibull, which employs a modified version of the Black-76 model, tailored for Indian markets and widely used by professional traders. Below are the key details of the model:
- Model: Modified Black-76 model (instead of Blac…
We have checked this and verified it at our end, and we didn't observe any delay in the websocket tick data.
The API calls used in your application should be within the API rate limit. Please run a single standalone API request and check the latenc…
We have checked and verified the WebSocket connection on our end and did not observe any issues. To troubleshoot further, please follow these steps:
1. Review the WebSocket example code here and check if it produces any issues. You can also refer t…
Looks like your firewall might be blocking or limiting the WebSocket connection. You may check your firewall settings, change the network and check. You may refer to the similar discussion here.
You can refer to the login flow here. You may refer to the similar discussion here.
If the issue persists, you can run pykiteconnect in debug mode and paste the complete stack trace here. You can initialise kiteconnect with the debug flag true. Make…
Your access token might have expired. You need to fetch a new access token. An access token is valid for one whole day. Once you get an access token, you don't have to request it again unless you are logged out.
A request token is valid for a coupl…
You can check out the API documentation for the login flow. You can also refer to the Tradetron broker connection documentation for more details. Zerodha PIN is required for auto-login.
Note: It is mandatory by the exchange that a trader has to log …
GTT is available only for CNC and NRML product types. You cannot use it for other product types. Please refer to this support article for more details.
Navigate to the app details screen and verify that you have entered the correct client ID. Ensure there are no spaces at the beginning or end of the client ID. The Kite Connect APIs must be used with the same client ID that was used to create the ap…
You can refer to the login flow here. You may refer to the similar discussion here.
If the issue persists, you run pykiteconnect in debug mode and paste the complete stack trace here? You can initialise kiteconnect with the debug flag true. Make su…
The error message is only displayed if the maximum order request limit is breached. Kite Connect API not only counts the orders placed but also the orders blocked due to invalid requests. Invalid orders are not displayed in the order book. However, …
@dannyroy The IP whitelisting setup is currently in progress. While collecting IP addresses is a straightforward step, the process also requires changes to the order flow, which will take additional time to implement and test. We are awaiting these …
Kite Connect is purely an execution platform. We provide historical data only for backtesting purposes. Kite Connect does not offer built-in technical indicators such as RSI, MACD, SuperTrend, or Bollinger Bands. However, you can manually calculate …
We haven't observed any issue at our end. Can you let us know how often you see this and which endpoint is throwing this error?Can you also share the complete stack trace with us by enabling debug logs of PyKiteConnect?
Make sure to remove app and c…
The auto-renewal feature for the Kite Connect API subscription is clearly mentioned on the billing page when you link your Zerodha account to your Kite Connect developer account. If you have subscribed to the API and opted for auto-renewal, the subs…
You can get intraday historical data for the active options contract. Historical data won't be available for the expired option contract. However, you can get the day-period data for futures using the continuous. Go through the documentation here.
Access tokens are flushed every day at 7:30 AM, and a new one is generated every day at 7:35 AM. So, make sure you generate an access token post 7:35 AM on the same trading day and it can be used throughout the day, unless logout. You may refer to t…
You can raise a support ticket with all the necessary information, including the payment ID, as the forum is primarily intended for handling API-related queries
We are awaiting an update from the exchange, as discussions on this matter are still ongoing, and the deadline for the algo implementation is likely to be postponed. We will share any updates with you as soon as we receive further information.
We don't have an official Excel library. You can get live market data in Excel using the Kite Connect API by integrating it through third-party tools by writing custom code in Python or VBA that connects to Kite's WebSocket API.
Please recheck the API key and access token. Ensure you are using the correct trading symbol format. You can refer to the instrument master file and verify that the symbol format matches the one provided there.
Kite Ticker publishes all the ticks, and there doesn't appear to be any issues on the backend. To ensure you’re receiving all data, please make sure that the thread handling ticks isn't blocked. There might be a delay on your end in the read and wri…
An access token is valid for one whole day. Once you get an access token, you don't have to request it again unless you are logged out. Once you get an access token, store it in a file or app preferences and reuse it. Make sure you store the access …
Hi @Rebel
Are you facing the same issue with the Kite API? If then, please enable debug mode and share the stack trace/error details with us in a private message.
Your access token might have expired. You need to fetch a new access token. An access token is valid for one whole day. Once you get an access token, you don't have to request it again unless you are logged out.
A request token is valid for a coup…
You can get the day-period data for futures using the continuous data. Please do note that we only provide day candles data for expired future instruments.
Please ensure you follow the login flow as outlined in the Kite Connect API documentation, and refer to this webinar walkthrough for a better understanding. Additionally, check the session FAQs here.
To fetch market data, refer to the Websocket API …
It is mandatory by the regulators that a user has to login manually at least once a day. We don't recommend automating login. Go through the login FAQs.
1. Kite ticker doesn't offer tick-by-tick data. For precise tick-by-tick information, it's necessary to be at a colocation server with the exchange, which costs upwards of 20 lakhs per year.
2. There is no guarantee that a minute candle will be avai…
This issue occurs due to an invalid API key or access token. Please review your code and cross-verify that the correct credentials are being passed. You may refer to the similar discussion here.
We request you to use the correct code, as it's placing junk orders as per market conditions, which will be counted as invalid requests, but counted as API requests.
The error message is only displayed if the maximum order request limit is breached. Kite Connect API not only counts the orders placed but also the orders blocked due to invalid requests. Invalid orders are not displayed in the order book. However, …
It is mandatory by the regulators that a user has to manually login at least once a day. We don't recommend automating login. You may refer to the similar discussion here.
The issue arises due to the use of an incorrect exchange segment while fetching the LTP. Since NIFTY options are part of the derivatives segment, the correct format should be NFO:NIFTY2580724700PE instead of using the NSE segment.
Bullforce.ai is not a Zerodha product, and we're unaware of the redirect/postback URL used by them. Please contact the Bullforce.ai support team for assistance.
Bullforce.ai is not a Zerodha product. Please contact the Bullforce.ai support team for assistance. There is no issue with the order execution at our end.
Please double-check the request token and API key you entered for the login flow. You can refer to the similar discussion here.
If the issue persists, please enable debug mode and share the complete stack trace here.
It is not guaranteed that a minute candle will be available at the end of the minute or at the beginning of the next minute.
The way the historical data service works is, it will capture all the ticks in a minute and then generate a candle out of i…
We don't have an official Excel library. You can get live market data in Excel using the Kite Connect API by integrating it through third-party tools by writing custom code in Python or VBA that connects to Kite's WebSocket API.
You can get intraday historical data for the active options contract. Historical data won't be available for the expired option contract. However, you can get the day-period data for futures using the continuous. Go through the documentation here.
Kite Connect is purely an execution platform. For your data requirements, you will need to contact an exchange-authorised data vendor.
If the accounts belong to your immediate family, you can use the same IP. If they're not immediate family, they'…
We adjust historical data for corporate actions to improve analysis. Adjustments are made for bonuses, splits, rights issues, spin-offs, and extraordinary dividends. You can find a similar discussion here.
Navigate to the app details screen and verify that you have entered the correct client ID. Ensure there are no spaces at the beginning or end of the client ID. The Kite Connect APIs must be used with the same client ID that was used to create the ap…
In the Kite Connect Personal app (free version), real-time or historical market data is not available.
If you have created multiple apps, ensure that you are using the API key and access token for the Connect app (paid version), not the Personal ap…