The Kite Connect API supports GTT (Good-Till-Triggered) orders through dedicated endpoints, but only LIMIT orders are allowed when a GTT is triggered.
Please refer to the GTT API documentation here. You may refer to a similar discussion here.
You can only get current trading instruments tokens and their historical data. 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-per…
Kite Connect rate limits are enforced per API key (per app), not per IP address. This means that if you purchase and use multiple Kite Connect apps with separate API keys, the limits apply independently to each key. Here is a breakdown of the rate l…
We do demerger adjustment as soon as we receive the Cost of Acquisition (COA) and pre ex-date for the particular script. The adjustment for MARINE and ABFRL has already been completed. You can verify it in a similar discussion on our TradingQnA pos…
To receive live order-book data, including the top-5 bid and ask levels with prices and quantities, use the WebSocket streaming API (KiteTicker). With KiteTicker, you can subscribe to the required instrument tokens and set the mode to MODE_FULL to s…
Kite Connect API does not provide a native 'All-or-Nothing' or 'Fill-or-Kill' order type that guarantees full-quantity execution. Even when using IOC (Immediate-or-Cancel), the exchange may partially execute the order and cancel the remaining quant…
@vijoeyz Kite Connect does not provide historical data outside the lifecycle of a futures contract. Historical candles are available only for the period during which the contract was actively listed and trading. Any request for a date range before t…
You can refer to this support article to create an app to get the API key. You may write to the business team on kiteconnect(at)zerodha.com for further assiatance.
We don't do any calculations on Kite it is done by the charting engines like ChartIQ and Tradingview.You can refer to the ChartIQ documentation to know about the ChartIQ Kite chart indicator formula. You can check out this thread for resources and d…
Please subscribe to the Kite Connect app and use the api_key to access the real-time and historical data. You can refer to the support article for more details. You may refer to the similar discussion here.
TotalBuy and TotalSell are legacy variables that were added to Go Kite Connect a long time ago and are not actively used. The Kite Connect API does not include these fields; they exist only as unused variables in the Golibrary. We will remove them i…
The discrepancy you are noticing in the data is due to differences in the methodology used for corporate action adjustments. We adjust the charts for demergers based on the Cost of Acquisition (COA) as per the exchange circular. In contrast, Trading…
You need to re-check if you are using the correct and fresh request_token from the redirect url and api_secret values.
Please ensure you follow the login flow as outlined in the Kite Connect API documentation, and refer to this webinar walkthrough f…
We attempted to fetch historical data via the API, and it appears to OI data matches for HINDALCO25NOVFUT the NSE bhavcopy and Kite matches correctly. You may refer to the similar discussion here.
The Kite Connect APIs are designed for tech-savvy traders. For step-by-step instructions and developer resources, refer to our comprehensive API documentation available at Kite Connect docs.
You may write to the business team on kiteconnect(at)zerod…
You can download the historical data for F&O contracts using continuous data. Continuous data is available only for FUTURE contracts, but not for the options contract. Continous data is only available for the day candle, not for intraday candle …
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.You need to use the same client ID mentioned on the developer page as Zerodha Client ID.…
Are you using the Kite personal app or the Kite Connect app? You may go to the developers console and check the type of app. Make sure you use the Kite Connect app's api_key to access the real-time and historical data.
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 may refer to th…
The Kite Connect API does not guarantee that the /orders endpoint will return orders in strictly increasing timestamp order. This endpoint provides only a real-time snapshot of all orders for the current day, and the sequence may vary based on excha…
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 sure to remove app and client-specifi…
Kite Connect does not provide a direct API to fetch daily portfolio returns, historical P&L, or performance metrics such as Sharpe Ratio or volatility. The Portfolio API only provides information about your current holdings and current P&L. …
We have observed that you have added the 500 credits to your developer account but created a Kite Connect personal app. Please note that real-time or historical market data is not accessible through a personal app.
Auto-slicing feature has not yet been implemented in the Python library or other SDKs. For the time being, you can use a raw HTTP call to achieve this functionality.
The small difference of about 0.02 between your calculated RSI and the value displayed on Kite/TradingView is expected. This variation arises due to minor differences in data aggregation timing, internal rounding precision, and the specific seeding …
There is no issue with the Kite Connect API login process. The error appears to be related to the automation code implemented for the login process. Please note that automating the login process is not recommended. You are advised to debug your code…
The 20-depth market data is exclusive to the Kite web and mobile platforms due to regulatory restrictions. As of now, this data is not available via API because of restrictions from the exchange. This thread explains more.
It is mandatory, as per exchange regulations, for users to log in manually at least once a day. We do not recommend automating the login process. Additionally, there have been no changes to the login process from our end.
To assist you further, we w…
Kite does not provide an out-of-the-box API for calculating the 'theoretical price.' You will need to compute it yourself using models such as the Black-Scholes or Binomial option pricing models. These models require inputs such as spot price, strik…
Initial margin refers to the funds you need to place your basket order initially. Final margin refers to the actual funds that get blocked in your Zerodha account after your basket order executes. You may refer to the similar discussion here.
The Kite Connect subscription costs ₹500 per month per app. The subscription is not limited to 500 tokens; instead, it remains valid for the entire monthly subscription period, regardless of the number of times you use it. However, you must adhere t…
We have checked the issue on our end, and everything appears to be functioning correctly. If the problem persists, please share a screenshot of the error message so we can investigate further.
When placing orders with autoslice enabled for quantities exceeding freeze limits, each slice appears as a separate order in your orderbook with its own order_id. Auto-sliced orders can be identified by the Kite "autoslice" tag in the tags array, an…
Kite Connect apps are designed to be used with a single Zerodha account for retail clients. If you wish to use multiple apps within a single developer account, you can create multiple apps, each associated with a different Zerodha client id, however…
The Kite Connect API subscription is ₹500 per month per app. Currently, there isn’t an option to view daily usage limits or remaining credits after subscribing. Once you create an app, the ₹500 fee will be applied to a monthly subscription that prov…
You can use a single API key for both order placement and fetching market data (real-time and historical) under the ₹500/month plan. However, if you create multiple API keys on the same developer account for different use cases, you will be charged …
Currently, Iceberg orders are supported only for the following segments: NSE Equity, NFO (NSE F&O), CDS (NSE Currency), BSE Equity, and BFO (BSE F&O).
Please note that Iceberg orders are not yet available for MCX and BCD segments. You can re…
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