Hi @rayi,
We are working on integrating tradingview charts on Kite. Since it is in the early stage of development, we can't give any timeline as of now.
@Abhishek Gupta,
Since you have linked your Zerodha account, the system will auto-debit for Kite Connect app renewal every month.
You will have to unlink Zerodha account to stop auto-renewal.
For Other credits and debits, you can check out support …
A consolidated position is something we get from the OMS. That's the way it was designed. I am afraid we can't change that.
In the above method, you can find the P&L of a particular order.
Hi @manzoor1990,
Kite Connect APIs are REST-like APIs which can be called from anywhere once you receive a trigger for buy and sell you can just call a placeOrder API. You can check out documentation here.
Hi @pandithurai,
It is not advisable to retry POST requests generally as it might lead to disastrous situations sometimes.
In this case, you need to fetch orderbook and check before retrying to place the order.
Hi @amamarde,
A redirect URL is an endpoint to which user will be redirected after placing the order. You can give your website home also if it is of no use for you.
You can check out documenation to know more about offsite order execution.
The re…
@raula_kite127,
You can check out the documentation for user funds and margins here.
PS: Please spend 15 min reading the documentation. The capability and features are clearly documented in the Kite Connect documentation. It will save everyone's ti…
Posting this on behalf of @HowUTrade,
@virajn
The 'ShowOrderWindow' is modeless dialog box, hence your macro will continue to execute your next line of code after the ShowOrderWindow is shown.
Why modeless dialog?
With modeless, you can open mul…
Are you referring to live options or expired instruments?
Can you give an example instrument token and the tradingsymbol of an instrument for which you are trying to fetch data?
You can call subscribe and unsubscribe at any point of time.
There is no special call for that. It is just the normal subscribe you use when you start Kite Ticker connection.
Hi,
You can't show live market data from Kite Connect on your website because of compliance reasons. You can only consume this for your personal use. In order to redistribute data on your platform, you will have to purchase data from an exchange aut…
Hi @maha,
Kite Connect does support this. The instrument master file doesn't have ISIN yet. We working on adding ISIN to the instrument file.
You need to search with tradingsymbol in the instrument file to find the instrument.
For example,
INE528G0…
This means your session is expired. Is this consistent.
Can you give more information?
Can you paste your code here?
Are you sure you are not trying to access any other endpoint?
A user will be redirected to this endpoint while logging in for the first time
https://kite.zerodha.com/connect/authorize?sess_id=xxxxxxxxx&api_key=xxxxx
If a user clicks on cancel then only the system redirects to the predefined endpoint with …
@anubhab,
Please don't spam other threads. Search for the error message, this has been answered so many times on this forum. If you can't find you can create a new thread.
[2] is the target order execution.
Since everything happened in the same second the order of notification is jumbled up.
You can consider the product of average price and quantity of the parent order and product of average price and quantity of all…
We had created access tokens for a couple of apps in the morning and it is still active.
Are you sure, you are not logging out or calling generate session again?
It means either your api_key or api_secret or request token is wrong.
If you are sure that your api_key and api_secret are correct as mentioned on the developers console then you can check out more details about request token here.
You seem to have placed a sell bracket order with entry type SL. It sat in trigger pending state and then got completed in one trade and then your target was hit. It seems fine.
In the above table, you have two entries for the same parent order, one…
Hi @maha,
The instrument file has the instruments that are being traded for the day on NSE, BSE and MCX exchanges. It includes some bonds which are traded on NSE and BSE.
Can you give an example ISIN? I will check and get back to you.
If your process has to monitor live prices then it has to run during the market hours which means your system needs to be switched on during market hours, if you can achieve this on your local machine then it is fine.
But you will have to take care …
It is up to your use-case if your algorithm doesn't have to run all the time then you can run it from your local machine. Ideally, once you log in and get access token you can make API calls. Kite Connect is basically a set of REST-like APIs which d…
Is it consistent?
We just tried and it seems fine.
Can you mention, if you are using some third party library or give a brief description of the implementation here?
You can create any number of Kite Connect objects. You just need to re-use access token and not generate another one.
The restriction is only for the number of websocket (Kite Ticker) connections and number of tokens you can subscribe for.
The new Kite Ticker's latency has been significantly improved compared to the older version. You can expect one tick per second on a liquid instrument usually. But rarely NSE sends two ticks per second.
Please don't expect people to spend time and help you out with a partial query.
You need to specify which version of php kiteconnect you are using, what API call is throwing this error. Is it consistent?
A couple of lines explaining how you arrived…
Hi @gaurav_ch,
Q1) Is it possible for Access Token never to expire?
It is mandatory by the exchange that a trader has to log in at least once in a day. Hence all the access tokens are flushed every morning at around 7:30 AM.
Q2) When I use new KiteC…
As described in the error message, you are passing invalid api_key or access_token.
Check if you are passing a valid authorization header as mentioned here.
PS: Please don't hijack threads, create a new one for new queries.
We get snap quote data from the exchange.
From quote data it is not possible to figure out buy/sell.
The volume data that is available is cumulative for the day until that point.
It keeps increasing as buy/sell mounts.
Hi @Debsush,
There is nothing called a buy volume or sell volume. A trade can happen only when there is a buyer and a seller at the same price.
So theoretically, a volume of quantity 1 = 1 buyer volume + 1 seller volume.
In live market data what w…
You will receive tick whenever there is a change. Nobody can predict when market data changes. It is random, as long as you are checking instrument token it shouldn't matter.
The order modification limit is for one order.
Kite Connect is purely an execution platform.
We don't provide solutions for writing strategies.
You need to loop through open positions and place market order of opposite transaction type.
The above rejection status message indicates that the instrument is not allowed for intraday trading at Zerodha.
These are the block at RMS level. You can, however, place CNC orders (delivery order).
You can write to RMS here for more information.
It is a huge file, you can fetch the file once in a day for NFO exchange and store it at your end by filtering by segment NFO-FUT.
Use that cache as the source.
The instruments file will only change once in a day.
Additionally it would be good to ha…
Hi @Amitesh,
1. The order in which you receive data shouldn't matter. You need to check instrument token of an incoming tick and then take action.
2. There is no hard limit on the number of modifications but if your algorithm modifies more than 100 …
Hi Abhijit,
You don't have to poll orderbook, you can fetch and keep it at your end and re-fetch only when there is an order update. You can loop through cached orders to fetch all child orders.
Kite Connect is purely an execution platform, we don'…
We don't get this data from OMS. Hence we don't provide this as of now.
We have asked OMS team to provide this data.
PS: This forum is dedicated only for Kite Connect related queries. Please write to support for other platform related queries.
Hi @goenka,
Kite Connect only provides instruments margins data. You will have to do calculations at your end.
You can check out this thread to know more about the endpoints.
For example - I placed an order to buy 2 quantities, and they got executed at different prices. So, there are two target orders and two SL orders for each of the quantity?
Yes, there will be two leg orders for each trade in case of bracket orders.
…