No, you can't get the historical tick data for the day. You may refer to the documentation to know the available intervals/timeframes in historical data.
Kite Connect API does not offer historical tick data. You may refer to the documentation to know the available intervals/timeframes in historical data.
The above-mentioned instrument token for UNIMECH(NSE segment) seems incorrect. You may download the latest instrument file and check. Further, Instruments are identified by the exchange:tradingsymbol in the Quote API. You may get more details here.
The correct approach to subscribe to a large set of tokens (recommended batch size / delay).
If there are restrictions on subscription order or maximum tokens per batch.
You may refer to the documentation to know the limits.
Whether this error sugg…
do i need to login daily to get access token
This is done as per the exchange regulations. You need to login to the trading terminal every trading day. Go through the FAQs here.
can't i regenerate it with refresh token A refresh_token is provided on…
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.
I would suggest generating a candle at your end using the live market data provided by Kite Ticker. You may refer to a simi…
You can write to the business team explaining the issue, and they will check and get back to you. You can reach out to them on kiteconnect(at)zerodha.com.
You'll need to use the opposite transaction type. For instance, if you have a buy/long position, your transaction type should be sell, and if you have a sell/short position, it should be buy.
1. Do we currently have a paid plan active?
Currently, there is no active paid app.
we've paid already on the portal, but not sure as the API key appears to be still free
2. Ask them the URL of billing page where you can check the active plan and up…
The difference between the initial/required margin and the final margin reflects the benefits of the spread. If the final margin (total_field) is positive, it represents the margin blocked for the basket orders post-execution. Conversely, if the fin…
Is Iceberg provision not available in API?
You can place iceberg orders via API. You may refer to the sample here.
Can you advise what fool proof or backup mechanism are followed by season algo traders to ensure, exits are FAIL PROOF
Kite Connect is…
Based on the attached screenshot, it appears that the request token is present in the URL. You can use this token to obtain the access token. For additional information, please refer to the documentation.
It looks like the API key you mentioned earlier is associated with the free version. If you've set up a Kite Connect (paid version) app, you can use the API key and access token from that paid version app to resolve the issue.
Please avoid sharing your API key, access token, and client and app specific details publicly. I've removed it for you this time. Additionally, market data cannot be accessed via WebSocket with the Kite Connect personal app (free version), which is …
During the pre-market session for the first 8 minutes, i.e. between 9:00 AM and 9:08 AM, orders are collected, modified, or cancelled by the exchange. The order collection window can close at any time between 9:07 AM and 9:08 AM. The orders placed a…
Rather than checking the margin for each order separately, you can easily check the combined margins by including both orders in the basket order API as a single request. This approach will provide you with the net margin requirement details. Additi…
It's important to note that there isn't a guaranteed availability of a minute candle precisely at the end of one minute or the start of the next.
Our historical data service captures the ticks within a minute and then generates a candle from this …
The Postback API is designed to send notifications only for orders placed using the app’s specific API key. You may refer to the documentation for more details.
To identify the exact issue, you’ll need to capture the raw error response from the order placement API request. The error remarks there will give more clarity, based on which you can investigate further and work toward resolving it.
Tick-by-tick data is typically used by professional high-frequency and arbitrage trading firms. For most retail traders, it may not offer much practical benefit. You may refer to this post for more details.
However, KiteConnect is not meant for HF…
@Walker, I fetched the historical data for the security you mentioned and didn't find any discrepancies between the historical data and the Kite candle. I recommend trying it again on your end. Please note that both the historical data and the Kite …
To assist you more effectively, could you please provide the following details: the HTTP method used (such as POST, PUT, or GET), the endpoints accessed, the parameters used, and the complete error response received when the issue occurred?
You can…
Kite Connect primarily serves as an execution platform, and while we do our best to provide valuable data, we are not a comprehensive data vendor. For detailed information on unlisted instruments, we recommend reaching out to an exchange-registered …
Currently, there's no official endpoint that allows you to retrieve the entire transaction history for a mutual fund. However, you can access a list of all mutual fund orders, both open and executed, from the last 7 days using this endpoint. For mor…
https://api.kite.trade/mf/holdings/{tradingsymbol}
The endpoint you mentioned isn't part of the official ones listed in the documentation. You might want to use the official endpoint (/mf/holdings) to retrieve the list of mutual fund holdings availa…
To get Friday's closing price, you would need to fetch it on the next working day—Monday. You might want to try retrieving the close price now; it should match up.
I used getMargins, function, and everything seems to be working fine. You might want to try it again on your end. If the issue still occurs, you could enable debug mode to identify and resolve the problem.
We don't have any limit on the number of instruments that can be added per request for the margin calculation API, but there is a max payload cap of around 100 kB
The timeline for implementation of SEBI circular SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/0000013 on "Safer participation of retail investors in Algorithmic trading" has been extended from August 1, 2025 to October 1, 2025. You may refer to the circular f…
Could you please share the complete stack trace/error details via private message? Additionally, are you able to make requests to any other API through the proxy?
1. You may refer to the similar discussion here
2. I reviewed both the historical API data and the Kite web, and they match. You may fetch the data again and cross-verify it.
1. What is the reason for the mismatched data from kite web and api?
The Kite web and historical API responses should match. If you encounter any instances where the details do not align, please share the raw API response and a screenshot of Kite we…
You won't receive data if the instrument token is incorrect. I recommend fetching the correct instrument token from the instrument file and cross-verifying to ensure you're subscribing to the correct one.
@jaimin_blackqr We haven't made any changes on our end. It's possible that some ticks were missed due to latency or connectivity issues.
Additionally, we use the same tick data to form OHLCV candles as displayed on the Kite charts, so unless you a…
do I need to say no modify only for remaining quantity which is pendingQuantity?
When you modify an order without the quantity field, the updated criteria will apply to the pending quantity.
Also in the process of modifying if I get the fill how is …
It doesn't have to match exactly because both have different sources. If you need accurate tick-by-tick data, you need to be at the exchange in a colocation server, which costs 20+ lakhs per annum.
Please check out this thread for more information.
For NIFTY and SENSEX, it is not possible to get the same-day close via the Kite Connect API at the moment. However, you can retrieve the closing price data the next morning on the following working day. Both the Quote and Historical API calls should…
For GIFT NIFTY, there is a difference because the historical API data provides the LTP as the close price, and currently, there isn't a separate process to update the closing price. Typically, historical OHLC data can be obtained via the historical …
The charting engine's ticker source is different from the Websocket API's source. Quote endpoint would provide only market data snapshots. You might find this thread helpful for understanding the inconsistencies in chart data.
Additionally, you can…
If you have multiple Zerodha accounts and are logged into a different account on the browser that you're using for your OAuth-based login, this error may occur.
If you only have one Zerodha account, please navigate to the app details screen to veri…
Please ensure that you are entering the correct API key without any extra spaces. You might find this similar discussion helpful.
Additionally, remember that there's no need to generate a request token and access token every time. Once you have an …
Can you enable the debug logs of kiteconnectjs and the complete stack trace here?
You can enable debug logs as mentioned here.
PS: Make sure to remove app and client-specific tokens while pasting here.
It seems that the condition you're attempting to modify has already been met.
When modifying the GTT details, you would have to send the last_price based on the current LTP. Could you please check if you're sending the correct LTP when modifying t…
Is it possible to retrieve available Leverage data for a given scrip?
You can use this endpoint to fetch margin details for MTF(product parameter = MTF).
Also currently get holdings API does not return if the holding is MTF or not.
Holding API respo…
Navigate to the app details screen and check if you have entered the correct client ID. Ensure there are no spaces at the beginning or end of the client ID. You must use the Kite Connect APIs with the same client ID that you used to create the app. …
If i wanted the net qty, i would add the day's positions to the holdings, right ?
You may refer to the response structure which would have fields "net" and "day" in the documentation.
But there are different behaviors for BUY and SELL.
I bought XXX …
Kite Ticker expects valid credentials for connecting to the ticker. If you see a '403' error, then it means either api_key is invalid or the access token is invalid. You may go the similar discussion here.
You can retrieve the order ID from the API calls like the Orderbook and Tradebook for the current day (not for historical orders or trades).
At our end, we generate the order ID (i.e., order_id), whereas the exchange generates the exchange order I…
If you've created the Kite Connect app (paid version), you should be able to access market data via WebSocket. You might find this thread helpful as it relates to your error.
@nvegupta 200 orders per minute is the order placement limit, not related to retrieving the orders or positions. However, there are a few other API rate limits; you may refer to the documentation here.
The historical candle data API call appears to be working fine with the official Kite Connect. If you're using the official Kite Connect, you may try again.
I think the quantities may be zero in the holdings because they are all MTF, and the MTF section is not being put into the Holding POJO yet. Is this as expected for MTF ? I have bought one cash position today, will report on how it reflects in the r…
Ref the orders, i tried to see what the order id was with getOrders() and getTrades(), but both return an empty response []. I think that's because they only fetch that day's orders.
So if i have an order executed a few days ago, there is no way to…
@nvegupta Tick size is correctly updated in the instrument data fetched via API. For the trading symbol: SBFC, the tick size is 0.05 for the BSE segment(instrument token: 139253508), and the tick size is 0.01 for the NSE segment(instrument token: 46…
I recommend reaching out to NSE directly to inquire about their charges. Additionally, you might find it helpful to check with other data providers to see what they offer, just in case it hasn't been explored yet.
Is alert management supported on javakiteconnect? if not when can we expect that?
Alerts aren't available in the Java Kite Connect library; however, it will be added to all Kite Connect client libraries in the upcoming update.
2. irrespective of the…
I guess this free api is raising a lot of queries about what will be allowed and what not.
You may refer to this thread for more details.
Also, does getOrderHistory work, coz i am getting a "can't find that order_id" error.
Is the order id same as t…
I want to get the net list of the open position as of now.
You may refer to the parameter "net" as mentioned here in the documentation.
I want to check the status of that order
You may check out this endpoint.
We are currently awaiting detailed process guidelines from the exchanges regarding this matter. Once we receive them, we'll be able to provide you with more information.
It doesn't seem to be an issue with fetching the request token itself. The problem could be with the redirect URL you're using. You may try using http://127.0.0.1 (localhost) as your redirect URL instead.
If you have created multiple apps, please ensure that you're using the API key and access token for the Connect app (paid version), rather than the Personal app (free version). This issue typically arises when the credentials from the Personal app a…
There is no option to append custom parameters to the redirect or postback URL directly. However, since each Kite Connect app is authorized for only one Zerodha account, you can create a separate app (with its own redirect and postback URLs) for eac…
But getting the exception invalid from date.
You would get this error if the date parameter is not in the expected format. You may check the documentation here to know the parameter format.
It looks like you're trying to fetch historical data on the same day after the market closes. Ideally, it's best to wait until the EOD process completes. After that, you can fetch the data and cross-check the details, which should align, though the …