You can use websockets to fetch live market data.
If you need previous minute data then you will have to subscribe for historical data API. But we don't recommend using historical data for live strategies, it is provided for backtesting purposes onl…
The exchange feeds are not sending change value. You need to calculate change at your end.
You can refer to this thread.
When did you try to fetch oi_day_high and oi_day_low? Is it after the market?
Orders placed in the equity segment between 9.15 AM and 9.22 AM for a few of our clients got rejected due to an issue with the exchange connection.
While we are investigating it to find a permanent fix, its unfortunate that it happened.
You can ad…
Both are different products. You need to buy Kite Connect and a historical add-on subscription to fetch continuous data.
You can refer to the documentation here.
We only offer day candles for expired futures instruments.
@Gafoor,
You can't subscribe to an empty list of tokens. You need to add the check.
The correct way to do this is to maintain a list of tokens at your end before doing subscribe and call unsubscribe for the ones that are being removed from that list.
This happens when you try to modify an order that is not in OPEN or TRIGGER PENDING state.
You can't modify an order that is already getting modified. It is a synchronous process.
I am afraid we can't remove API restrictions.
Are you sure you are getting rate limited? Did you check the exception message?
You need to maintain a queue at your end.
If you want to square off bracket or cover order position then you need to use the API as mentioned here.
For other product types like CNC, NRML, MIS, you need to place market order with the same quantity and opposite transaction type in order to c…
Yes, pre-authorisation is valid for 90 days.
Yes, once you authorise your holdings you don't have to worry about your algorithm flow. If there are any un-authorised quantity then only 428 will be thrown otherwise everything works as usual.
There w…
Kite Connect APIs serves whatever is needed for a trading terminal. The holdings purchase date comes under the reporting feature which is backoffice for us. The backoffice features are not available as of now.
In order to close a position, you need to place a market order with the same product type (MIS/NRML) and the opposite transaction type. If it is bracket or cover order then you need to send an exit request as mentioned here.
What I meant was, if yo…
This issue is because of an old root CA certificate expired on May 30th that affects old systems that are not updated with new root CA certificates. More about it: https://support.sectigo.com/Com_KnowledgeDetailPage?Id=kA03l00000117LT . Ideally all …
@sandipwankhede,
One needs Kite Connect to fetch holdings and positions data. You can fetch data using the Kite Publisher.
You can write to kiteconnect(at)zerodha.com regarding approval related queries.
You can take a position with the entry type limit and set the GTT for stop-loss and target.
Once your stop-loss is hit you will have to cancel the target or the other way around.
If you want data for new tokens then just call subscribe again, you don't have to close connection for that.
If you don't want data for existing tokens, then you can unsubscribe for old tokens and then call subscribe for new tokens.
This issue is because of an old root CA certificate expired on May 30th that affects old systems that are not updated with new root CA certificates. More about it: https://support.sectigo.com/Com_KnowledgeDetailPage?Id=kA03l00000117LT . Ideally all …
Can you give us a stack trace? Try running in debug mode and get the complete stacktrace or set on error callback and give us the error message.
Can you let us know more about your setup as well?
You will have to log in manually at least once a day on the Kite Connect login page. Kite Connect is for personal use only, why would you use dealer terminal for that.
@jay_joshi, Please create a new thread for new queries, it might help others. This answer gets hidden since the heading is about something else and won't be visible to someone else who is looking for the same.
We will update the documentation. NRML is a product type and not an order type.
The params in the place order include multiple order params like price, product, tradingsymbol, exchange, trigger price, validity, order type, variety, and so on based o…
Unfortunately, OMS doesn't have a mechanism to map a position to orders. It just shows your mark to market.
For an SL-M order, once the trigger is hit, a market order is placed. Hence orderbook will show order type as MARKET for this entry.
Maybe yo…
The instruments master file doesn't have authentication, but others have authentication.
You can go through the login flow here.
Make sure you understand this behavior.
The change value from the exchange has always been 0, some kind of bug probably. The client libraries while parsing ticks, calculate change based on ltp and close price. In quote call, client libraries are not doing that. You need to handle it at yo…
We suggest never share your api_secret with the third party. If it is shared then the person can create sessions for your app and access all the information and place orders as well.
The 2000 order limit will still hold true for all the accounts, it is restricted across the platform. There will be a change in the API rate limits for the approved platforms.
You will have to check with the compliance team by writing to kiteconnect…
No, it is not incomplete. This simply means there were no trades for that instrument at that time. Since you are looking at the next month's contract of a stock option, this is entirely possible, considering these have low liquidity in the first pla…
The latest rate limits are mentioned here.
All the rate limits are api_key based.
But the 2000 order limit per day is for all the Zerodha accounts across all the platforms, it has nothing to do with Kite Connect APIs.
@sagaranilganu,
Order update is not a state-based event. It is a stream-based signal, whenever OMS sends an event, our system will fire order update via websocket if the client has any websocket connection and fire postbacks if an endpoint is setup.…