The connect method doesn't return anything.
You start receiving ticks in on_tick callback.
You can go through the API documentation and the client library documentation here.
In the websocket API, if you don't need ticks for a while then you can just unsubscribe for ticks and subscribe whenever you need it. You shouldn't close connection or hold the thread.
In Quote API, you can fetch data for multiple items at a time. …
Kite Connect provides the margins data only. You will have to do the calculations.
It is managed by the RMS team and they do update it multiple times during the day.
PS: We are planning to include the required margins API soon on the Kite Connect A…
@xameeramir,
The net change value is powered by the Kite Ticker or Websocket API, The net_change is actually a value published by the exchange. We don't calculate that field, we just pass on the data that is published by the exchange.
Hence we have …
@ritpatel,
After login one gets a request token in the redirect URL. It is not an access token.
Are you calling generate session with the request token?
@vSeelin,
Kite Connect only provides historical data for backtesting.
We recommend using tick data provided by the Websockets to generate candles at your end for live market strategies.
PS: Kite Connect is purely an execution platform, we don't pro…
Kite Connect is purely an execution platform, we don't provide any kind of solution or support to write strategies.
We pass on whatever tick data we get on the Websockets API. You can dump these ticks at your end and do the calculations.
PS: We do…
@mlearner,
It is the pub-sub mechanism wherein the publisher(exchange) publishes the data and we receive data and forward data to all the Kite Ticker subscribers.
The timestamp is a data associated with the tick by the exchange and not appended by u…
The way it works is if there is a change in the data the exchange has published then Kite Ticker will broadcast the same. So there is nothing wrong here.
You can also go through this thread once.
@mlearner,
You will need to use the historical data API for even the previous 5-minute intra-day candle or build the candles at your end using the Websocket tick data. You can get started here.
@GauravSharmaLNG,
Kite Connect offers only two subscriptions, one is a base subscription which lets you access all the Kite Connect features and a add-on historical data subscription.
Please write to kiteconnect(at)zerodha.com with the product desc…
1. When I request data for each CE/PE is that considered one request call from the server end and hence will be throttled to 10 requests per second?
You can use Websockets API to fetch live market data.
2. I understand I can get live/current data b…
@nameisbk,
I am afraid you can't use our data to show on your website or app. It will be a violation of the regulations. You can write to compliance at kiteconnect(at)zerodha.com.
Please go through the documentation here for order placement.
A successful response will only have an order id in the response. If there is a timeout then you can fetch the orderbook and check for the order with the tag you sent.
You can check out t…
@Rakesh508,
You can refer to the FAQs here.
We don't provide the option chain. You need to build an option chain using the instruments master dump and live market data provided via Websockets API.
We don't have a sandbox environment yet. You will ha…
We are working on it. It might take a while. In the meanwhile, you can place GTT once your order gets executed. You can check out the documentation here.
@nsarup,
It is not recommended to poll positions to calculate P&L. You need to calculate P&L using the last price received on Quote API or Websockets API.
@aditya123,
You need to fetch and store the instruments dump at your end. It is updated every day. The stored dump at your end has to be used as the source for your script.
@tfKamran,
It is updated every day. Sometimes when instruments are moved to T2T segment the tradingsymbol and instrument tokens change or when instruments are under ban then it won't be available for trading.
@pawan12,
Never retry post orders without checking the result. In some scenarios when OMS times out. Kite trade will send an exception, you need to fetch orderbook and check before doing a retry. In the above case, sometimes order could have been pl…
Yes, Stop-loss and target GTT is not supported yet while placing orders.
The trigger price in the order params is for stop-loss order's trigger price and the stop-loss field is for bracket order. Both the fields are used for different types of order…
You can get OI in live market data using Websocket API. IV data is not there in the Kite Connect. I think you can do calculations at your end using the live market data.
Can you run in debug mode and give us the complete stack trace?
We will check and get back to you. Make sure to remove all app and client-specific tokens.
@bhanu98,
Both the email id works. Someone from the compliance will review and get back to you. This is a manual process where things need to be reviewed case by case basis. Hence it will take some time. This is the team that takes the call, even if…
@bhanu98,
Please write to compliance at kiteconnect(at)zerodha.com with the product description. Someone from the team will review the request and get back to you.
Kite Connect is purely an execution platform. We don't provide any kind of support or solution to write strategies.
Whatever examples or materials we have are listed on that thread, if it is not there then you may ask someone else on the community …
@sathish,
We provide data for instrument margins. You can do the calculations at your end. You can check out this thread to know more about the endpoint.
@dipak19da,
This is a generic message which is sent when someone tries to modify or cancel an order which is already executed or still undergoing change.
We will inform the team to take a look at this. You can handle it at your end till the change i…
@sbdavra,
An access token is generated on the request basis. It is not a bulk generation. It is generated when you send a request to generate session.
We flush all existing tokens at around 07:00 AM to 07:30 AM.
@BulkDealAlert,
Kite Connect is purely an execution platform. We don't provide support or solutions to write strategies.
You write to kiteconnect(at)zerodha.com for payment related queries.
@gauravmane,
You don't have to subscribe again after disconnect. The Kite Connect library takes care of subscribing.
Let me check if we can reproduce this.
You need to make sure you are not blocking the main thread where ticks are received. You need to offload all the tasks to secondary thread and only listen to incoming ticks on the primary thread.
Yes, it is recommended to update the file every day. In case of the F&O segment, tokens are re-assigned after the expiry to some other instrument sometimes. In case of the equity segment, when an instrument is moved from EQ segment to T2T segmen…
No, an access token is not cleared after a renewal. If a session exists then it will continue to work unless logout is called on any of the apps or till the next day morning around 07:00 AM - 07:30 AM until all the access tokens are flushed.