If you get order id, it is confirmed that order is placed.
If you get timeout for place order then you will have to add few seconds delay and then check orderbook and then try again after few seconds and then only place order. Please do remember th…
You might be getting blocked by CDN thinking you are trying to DDOS, since you are exceeding rate limits.
You can know more about rate limits on the FAQ thread.
If you need ltp every second then I would suggest using websocket API.
Postbacks are only sent to third party apps if order is initiated from the that app. If not then it won't be sent. However, websocket updates are sent for every order.
An order can be in OPEN status, even if it is partially filled. That is how it wo…
In an ideal scenario, once you get order id for place order response, order will be placed. You just need to add a couple of seconds delay and fetch orderbook. But in rare scenarios, when OMS doesn't update orderbook, you will have to add few second…
Kite Connect API is provide for personal use only. It can't be used to display data on third party platforms. It is against the regulations. You can speak to the compliance team for more details.
A third party app can't show our data. You can email kiteconnect(at)zerodha.com with product details and check with compliance team.
You may have to get live market data from an exchange registered data vendor.
There is no API for this.
You can refer to this related thread.
You may also fetch the all instruments from instruments master and filter out required instruments and sort based on expiry.
It is not necessary that they will match. We don't get all the ticks from the exchange. To get all ticks you need a colocation setup at the exchange premises.
You can know more about it here.
It doesn't matter how many API calls you make from how many devices, all that matters is you need to make sure you don't exceed rate limits.
You can know more about rate limits on FAQs.
@vcb,
You don't have to do anything. dotnetkiteconnect will take care of it for you. You just need to enable reconnect while initializing ticker.
You can check out the sample code here.
java.net.UnknownHostException: api.kite.trade: Name or service not known
This looks like a network related or configuration related issue. You can google like this.
The code snippet in sample code is for reference and it shouldn't be used as is without understanding.
An app can only have one active access token at any point in time. An access token once generated can be used for whole day.
Stopping a process …
The JSON payload is posted as a raw HTTP POST body. You will have to read the raw body and then decode it.
Quoted from documentation.
You may check out this thread for python postback example.
You need to fetch positions and check the quantity field. If it is negative then it is short position, if value is 0 then it is a squared off position, if quantity is positive then it is a long position.
I thought, you knew this. A 200 response for order modification request means request was placed at the OMS. Once the request is placed by user, order undergoes many systems and hops and then gets modified. End user has to pull orderbook and check i…
Postbacks are only sent to a third party app, if order is placed from their app, if order is placed on Kite web or mobile app or any other platform then you will not get postbacks.
@naveen278,
You can know more about stop-loss order on our support portal.
For basics of finance and stock market, you can check out Varsity, our educational initiative extensively used by the trading community.
For trading related queries, you ca…
The amo's variety changes once OMS places the order at the exchange after market opens. You will have to send variety as 'regular', if after market order is placed at the exchange after market opens.
We don't have any plans of providing baskets for Kite Connect since it is same as putting it in an array and executing orders sequentially.
It would have made sense if there was a bulk order placement but OMS doesn't support it. Hence it doesn't ma…
If you do a sell CNC then your holdings will be debited. That is how it is intended to work. You will have to do Sell MIS, if you don't intend to sell holdings.
It is not totp, it is holdings authorization. For non-POA clients, a broker can't move shares unless it is marked as debit-able at the depository. Hence you need to give consent for debiting shared from your demat.
You can check out how to do it her…
Order id is present in the response of the place order request only. You can know more here.
If the order status is complete then filled_quantiity == quantity, if order is partially filled then order status will be OPEN and not complete.
Only one order is created for each order placed by the user. When there is a partial fill, only a new trade is created. When there is a fill, filled_quantity, pending_quantity fields are updated.
You can know more about the trades here.
I would suggest don't rely on the postback data, since it is asynchronous in nature. You can just use it as an event to fetch orderbook and check the relevant fields.
Did you get 200 response for modify request you sent or did you get non-200 respo…
@raja1sttarde,
If you get 200 for order modify request then it means the modification request is placed at the OMS successfully. It doesn't mean order is modified. Once modify request is placed, there are series of checks that an order goes through …
We only get level 2 data from the exchange which has timestamp precision till seconds and not milliseconds. Kite Connect doesn't guarantee 1 or 2 or 3 ticks in a second. We relay whatever is sent from the exchange, we don't do any kind of processing…
@Devang_b,
The historical data is provided for backtesting purposes only. We suggest using live market data via Websockets to generate candles at your end for live market strategies.
Although, we try to provide data that can be used reliably by use…
@naveen278,
We don't provide coding support on this forum. We are not support folks here. We are all developers who take out some time while working on our projects to help out fellow community members. You can read about the APIs here.
Kite Connect isn't meant for time bound or low latency strategies. We suggest you go for colocation setup at the exchange for these kind of strategies.
As per the SEBI regulation, Mutual Funds can't be purchased using the trading account funds. The amount has to be debited from the bank account. The order placement flow has changed, you need to make payment from bank to complete the transaction.
There are a lot of moving bits in the mutual funds flow. We will update once everything is set right.
For now, we suggest using coin app or coin web app to place orders.
@SahilD,
The instrument master contains all the symbols that are being traded for the day. You will find the NIFTY August future in that.
Before you jump into coding, just try to download that csv file and search manually in the text editor.
Payment statements are a part of backoffice. Kite Connect only has trading APIs as of now, backoffice APIs aren't part of Kite Connect.
We will think about this when we include backoffice APIs.
Kite Connect APIs are just REST like APIs. You can call them from anywhere with the correct api_key and access token. You may check out documentation to know more.
Please note that Kite Connect is purely an execution platform and we don't provide …
Quote API fetches data from Websocket stream only. If you don't need data every second or few seconds then you can go for Quote API. If you need data more frequently then use Websocket API.
The market data on Kite Connect is level-2 data. You will need tick by tick data to calculate this. You may use last traded quantity field. You can contact any exchange registered data vendor.
We don't see any issue at our end. All the requests we received has be served successfully. It could be your network issue or you might be blocked by CDN if you keep polling APIs.
Kite Publisher can only be invoked from javascript context. Hence you will need to post your params to a webpage at your end and initiate Kite Publisher from there.
Kite Connect is being used by thousands of production applications including our user and non-user facing applications which are used by millions of Zerodha clients, there are no issues in code or examples.
Kite Connect is a REST like API. The basi…
You need to create a Kite Connect object and use that.
PS: This forum is dedicated only for Kite Connect related queries. Please don't post programming related queries.