Currently, Python Kite Connect documentation is updated with market_protect and auto_slice features, and we are working on other library documentation as well, however all the libraries are up to date.
We don't have any order placement issues via API. Tradetron is an external (third-party) platform, so you should directly contact them for further assistance.
The Kite Connect APIs enable you to place real orders, access live market data, manage portfolios, and more. These APIs are available to retail users at ₹500 per month per app, along with the historical data access at zero cost. You can find detaile…
Please enable debug logging in PyKiteConnect to capture the complete request-response cycle. Once enabled, please share the complete stack trace with us.
Please ensure you remove any app-specific API keys, client tokens, and access tokens before s…
We have reviewed and verified the data on our end and did not observe any discrepancies in the WebSocket price feed for the CRUDEOIL futures instrument.
The full_mode Quote API response is showing the correct circuit_limit value -359 for the instrument MON100 i.e 20% of the previous close value(299.17).
Please note,
quantity signifies how much you hold in the DEMAT account. Only the T+2 quantity will be reflected in the quantity field.
realised_quantity it is a legacy quantity field, don't use this.
used_quantity denotes the holdings units sold …
At present, we do not offer an API endpoint to retrieve app-specific expiry or renewal dates. In the meantime, you may refer to the Kite Connect API subscription renewal email for this information.
You can use the formula below:
Closed position:
Realised MTM for long = sell price - Previous close
Realised MTM for short = Previous close - buy price
Open position:
Unrealised MTM for long = LTP - Previous close
Unrealised MTM for short = Previou…
To whitelist your static IP shared as per SEBI guidelines, you can set it up on the Kite Connect developer console by following these steps:
1. Log in to your Kite Connect Developer Account.
2. Click on Profile.
3. Under the IP Whitelist section, e…
We use the same tick data to form OHLCV candle as you see on the kite charts, so until you are blocking the ticker(which leads to missing ticks) or not storing/dumping tick data properly in file or DB.
Kite Connect APIs currently only support trading platform APIs and do not provide back-office data. To access the tradebook, ledger, and other reports, please download them from the Zerodha Console.
We may include them in the future, but there is no…
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 historical data API is only for backtesting purposes.
The way the historical data service works is that it captures al…
To whitelist your static IP shared as per SEBI guidelines, you can set it up on the Kite Connect developer console by following these steps:
Log in to your Kite Connect Developer Account.
Click on Profile.
Under the IP Whitelist section, enter up …
To investigate the rate limit behaviour, please share logs for a few consecutive API calls that include:
1. Timestamp for each request (with timezone)
2. Endpoint being called and the method used.
3. Response status code
4. Response body
Please ens…
@AmitManna99 Market order with market_protection validation is not applicable for Publisher JS offsite orders.
If you are still facing an issue with a market order, please create a support ticket with all the details to assist you further.
You will need to calculate the Delta value programmatically, as the Kite Connect API does not provide Greeks directly.
You may refer to the similar discussion here.
You may use Kite Connect’s live or historical data within a private setup, such as a personal Google Sheet or Apps Script dashboard, provided it is strictly for your own use and not shared or redistributed in any form.
Please note that data obtaine…
We do adjust historical data for corporate actions to improve analysis. Historical data is adjusted for corporate actions, including bonuses, splits, rights issues, spin-offs, and extraordinary dividends to ensure consistency in price series for ana…
IP whitelisting must be configured in your Kite Connect developer account under the Profile section. This setting is applied at the account level and not at the individual app level. Kindly ensure that a public static IP address is added, as private…
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.
The error message indicates that your access token might have expired. To resolve this, you need to fetch a new access token. Please note that the exchange mandates traders to log in manually at least once a day, and we do not recommend automating t…
The static IP is associated with the network from which API orders are placed. If you switch to a different network (for example, using a laptop while travelling), the existing whitelisted IP will not apply, and order placement requests may be rejec…
We haven’t observed any issues with the WebSocket. If you do experience any issues in the future, please share the error details along with the corresponding timestamp, and we’ll review them and assist you further.
Kite Connect does not provide a dedicated sandbox environment for testing. For development and validation purposes, this would need to be handled on your end.
A common approach is to implement a “paper trading” or dummy execution layer within your …
GTT orders placed via API are not classified as algo orders under the current framework.
This is because a GTT (Good Till Triggered) setup only places a limit order when a predefined trigger condition is met. The actual order execution is handled by…
Market orders will require market protection. Orders placed with market protection set to "0" will be rejected. This includes SL-M orders. This is mandated by the exchanges for all algo orders. Please check the support article and forum thread discu…
Primary and secondary IP whitelisting is updated in real time, and there should be no issues with order placement from either of the configured IPs at our end.
If you are still encountering any issues, we request you to raise a support ticket with c…
We don't have an official Excel library. Excel/VBA integration with Kite APIs is not officially supported by Zerodha. Any Excel-based solutions, such as KiteXL or EtaTrader (HowUTrade) are third-party tools, and support for VBA implementations is pr…
When modifying an order, please note the following behavior:
If you are modifying a LIMIT order to a MARKET order, the market_protection parameter must be specified, as it is mandatory for market orders.
However, if you are modifying an existing MAR…
Please upgrade your SDK to the latest available version and retry placing the order with the market_protection parameter.
pip install --upgrade kiteconnect
You can access intraday historical data for active options contracts; however, historical data is not available for expired option contracts.
For futures, day-level historical data can be retrieved using the continuous data feature.
For more detai…
@deepak163299 Can I share that same single static IP with my blood relation own brother and sister (we all are unmarried), means 1 Static IP, 3 same family users?
Sharing of IPs is only permitted between family members (spouse, dependent children, a…
@vinothjoseph Both IPv4 and IPv6 are accepted for static IP. Market protection is only applicable for MARKET and SL-M order types. It does not affect LIMIT and SL orders as they already have built-in price protection.
@Tusshar18 The Kite Connect API pricing is based on the number of apps (API keys) created, not on individual accounts. You are charged ₹500 per month for each app created on the developer console.
If multiple apps are created under the same develop…
Kindly verify that the correct parameters are being passed in the request and ensure that the quote rate limit (1 request per second) is not being exceeded.
If the issue persists, enable debug mode and share the complete stack trace. Ensure that se…
@OptionQuant Yes, the static IP requirement is applicable only to order-related endpoints (placement, modification, and cancellation). Other API endpoints, including WebSocket data, order book, and positions, will continue to be accessible from any…
A request token is valid for 5 minutes and can be used only once. To generate the access token, you need to extract the request token from the redirect URL and use it to create the session.
Please note that the access token is valid for one trading…
@tuxred At present, the static IP must be unique to each account and cannot be shared with family members, including spouses, dependent children and dependent parents. Please refer to this thread for more details.
Please refer to this support article: How is the buy average calculated in Console?.
You can raise a support ticket on the support portal, as the forum is primarily intended for handling API-related queries.
@tuxred This feature will soon be available on the developer console. Once the option is live, you can login to the Kite Connect developer dashboard and enter your static IP under your account profile. We will send a notification once the option to …
We have it on our to-do list, but unfortunately, it is not a priority task since it has an OMS vendor dependency. Kite Connect personal is free, users can place an order after market hours or from an account that doesn't have a balance and test out …
The error message "Insufficient permission" will occur when fetching market data via Websocket or Quote/LTP endpoint, if you don't have a valid Kite Connect subscription, which costs 500 per month per app. The charges for the Kite Connect app have b…
Point 3. Market orders on Kite Connect will require market protection. Orders placed with market protection as "0" will be rejected.
Query - So can i sent `market_protection : -1` (Automatic market protection) or its should be strictly check the per…
Zerodha does not currently offer a sandbox environment for the Kite Connect API. All trades and market data accessed through the API operate in real-time on live markets.
However, providing a sandbox environment is on our roadmap. In the meantime, …
The backend validation for fetching candle data differs for the current trading day compared to historical dates. Since today’s candles include real-time market data, requests where the from and to date-time are the same may not return the expected …
As per the latest SEBI's Algo trading framework starting from 1st April 2026, individuals can automate strategies up to 10 orders per second (per segment per exchange) without requiring exchange registration. However, for algo trading exceeding 10 …
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 quanti…
It appears that you have entered an incorrect client id -'MALGO1' during app creation instead of the correct 6-digit alphanumeric client id. Please edit the app profile and update it with the correct client id. Please check this support article to k…
We have increased the orders per day limit from 3000 to 5000 is applicable per user and is calculated based on the total number of order requests sent to the order placement endpoint, which includes successful, cancelled, and rejected orders. Order …
The formula remains the same for both realised and unrealised P&L. You can calculate P&L at your end using the same formula:
pnl = (sellValue - buyValue) + (netQuantity × lastPrice × multiplier)
For realised P&L, you need to replace the…
Kite Connect APIs currently support only trading platform functionalities and do not provide access to back-office data. To access the tradebook, ledger, and other reports, please download them from the Zerodha Console. The historical tradebook is n…
Kite Connect APIs currently support only trading platform functionalities and do not provide access to back-office data. To access the tradebook, ledger, and other reports, please download them from the Zerodha Console. The historical tradebook is n…
Currently, the alerts feature is available only through raw HTTP calls. However, it will be incorporated into all Kite Connect client libraries in an upcoming update. You can check the alerts API documentation for more details.
1️⃣ After subscribing to an option token during market hours, is it guaranteed that a tick will arrive immediately?
Subscribing to an option token during market hours does not guarantee that a tick will arrive immediately. The exchange sends a tick …
Kite Connect is an execution platform and does not provide APIs for indicators. Zerodha only provides raw data, so you will need to calculate indicators like the fixed range volume profile indicator on your own. If you are using Python, you can util…
Please note that Kite Connect is an execution-only platform, and we are unable to assist with custom code development. We recommend referring to the official Python library" and sample implementations available in the API documentation for guidance.
To generate the access token, you need to copy the request token from the redirect URL and use it to generate the session. Please note that the access token is valid for one day, and you can use it for all API requests throughout that day. A request…
We have verified from our end and are able to successfully fetch historical data for AMBER for 16th January 2026, which appears to be working as expected. Kindly retry from your end.
We have reviewed the matter at our end and did not observe any discrepancy in the details received via the Quote endpoint.
If you have used any alternative method to retrieve the price details, kindly let us know. We also request you to re-verify t…
Your access token may have expired. Please generate a new access token and check. You can refer to this similar discussion here and login FAQs for more details.
Please refer to this support article for details. If you have already raised a ticket regarding this matter, kindly follow up on the same for further assistance.
To access live market or historical data, you need to subscribe to Kite Connect(paid version), which will cost you ₹500 per month per API key. For more details, you can refer to this support article.
You can access intraday historical data for active options contracts. Historical data won't be available for the expired option contracts. For futures, you can retrieve day-period data using the continuous feature. Please refer to the documentation …