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 …
You're missing threaded=True in your kws.connect() call, as mentioned in this thread. Without it, the WebSocket connection runs in the main thread and blocks the program, which can prevent it from reaching your close logic.
This runs the WebSocket …
Kite Connect is provided for a single user by default. If you are intending to develop a product for a mass audience, then you need to create a ticket with the details about your platform.
@sam_zerodha Clients can be provided with multiple API keys to connect to different segments or run various algos. However, if a client has multiple API keys, non-registered algos can only be executed using one of the predefined API keys. Other API …
You need to set the debug flag to true as mentioned here while initializing the kite object. Please do share the complete stacktrace as a private message as it will contain app and client-specific tokens.
You can explore the features offered by the Kite Connect API, as well as the rate limits, by reviewing the documentation available here . This should help you determine if it meets your needs. Additionally, there are no extra charges for non-individ…
You should not request an access token for every run. Once you get an access token, store it and reuse it. You can check out a similar discussion here.
You can sign up and start creating an app from here. Once your app is set up, you'll be able to retrieve your API key. If you encounter any issues while creating the app, feel free to share a screenshot here.
You might find this similar discussion here helpful for understanding how to stop the WebSocket connection. You could consider tweaking it by using a sleep function to close the connection after a few seconds.
Suppose you subscribe to an instrument token and set the mode to modeFull. If you then subscribe to a new instrument token, the server will start sending data in modeQuote for this new instrument, as the default subscription is in modeQuote. To rece…
It looks like your code is currently set to retrieve funds for the commodity segment. You might want to adjust it to get the details for the equity segment instead.
The attached chart is related to the NSE segment, while the data retrieved is for the BSE segment. You might want to refer to the BSE segment chart, which appears to have less liquidity.
The tagging feature is available in the Kite Connect API, allowing you to categorize and group your orders effectively. You can certainly utilize this feature for your needs. However, implementing this in the Kite web or app interface poses challeng…
without creating or subscribing an app on kite connect
You would be unable to use the official Kite Connect API without creating an app on Kite Connect.
I attempted to fetch the instrument data segment-wise and didn’t encounter any issues on my end. It might be helpful to debug your code to uncover the root cause and address it accordingly.
I understand that the limit of 10 orders/second is applicable for each API. If I use multiple API's in a single account, each API shall be permitetd to placed 10 orders/second. Please confirm.
Individuals can place up to 10 orders per second (per se…
my question is why would I require kite connect - personal API (without live stream of data) ?
The Kite Connect Personal app was introduced to give users free programmatic access to their own Zerodha trading accounts. It’s designed for the users who…
We don't have the APIs to create basket orders.
Alternatively, you can simply place all the orders on the client side back to back and use the Basket Margins API to know the margin requirements.
@Vj013 Yes, there is no seperate charge for historical Options data. You can get intraday historical data for the active options contract. Go through the documentation here.
You'll need to manually fetch the request token using the OAuth flow. It looks like you're using an external library to parse the request token, but we don't recommend automating the login process.
The charges for the Kite Connect app have been reduced from Rs. 2000 to Rs. 500. If you're using the API key and access token from the paid version of the Connect app, you shouldn't experience any issues when fetching market data, like LTP.
Howeve…
Is there a way to get the exact same timestamp as Zerodha's in my code?
@Walker You can retrieve the timestamp as mentioned in the documentation and use it accordingly.