We haven't done this.
You need to store a list of all access tokens and api_keys in the main program and use that while sending a request for a particular client id. In this way, you will have a single interface but internally you send different cre…
Hi,
You need multiple Kite Connect Apps to do this since Kite Connect is for personal use only.
You will have to use different browsers to log in, get request token and then use that to fetch access token from your algorithm.
Hi,
You need to use historical data to fetch one minute candle. Historical data is an add-on subscription.
You also need note that it is not guaranteed that Historical data candle will be available exactly at end of the minute. There can be some de…
Hi,
Allow me to correct you Kite Connect API pricing is Rs 2000 and not Rs 4000.
Kite Connect offers much more with just Rs 2000.
1. The Rs 2000 for Kite Connect charges include GST.
2. Kite Connect API's historical dataset is bigger than any other…
Hi,
The price and trigger price of target and stop-loss are not calculated based on user entered price but it is based on first leg execution price.
The above case is a typical scenario of self-trade wherein you are the buyer and seller. Hence targe…
Hi,
It is not rejected status message, it is just status message which can be there when your order modification is not successful.
So a pending order can have that status message.
This could have happened when you tried to modify that order with tr…
Hi,
Kite publisher is just a javascript button to place orders. You won't get to know any details about client or order using the Kite Publisher.
In order to access order details, you need a Kite Connect App.
Whatever value you get in getOHLC is correct, on charts 17th November 2017 candle will have today's close and since markets are not closed, it keeps updating to the last price of the instrument.
In order to verify you need to look at 16th November …
Hi,
Exchange lines have a certain limit on the number of orders that can be sent to the exchange. During this time there will be thousands of AMOs that are being placed. Hence it will take some time to reach exchange as your order will sit in the qu…
Bulk fetch for LTP is present in the version of API. You can check out this thread.
I am afraid we can't provide bulk fetch API as of now for historical data since data for each instrument has to be fetched from the database which will take up reso…
Hi,
Since order history is not known in positions and the live price is not known in Positions API. We don't use realised and unrealised fields. Instead, you can use pnl field which is a sum of realised and unrealised.
We may discontinue these field…
The getOHLC method will return day's open, you can fetch OHLC at 9:15:15 then it will give open of the day.
You don't need to historical API subscription to use this.
Order receiving happens till 9:07 AM and then there will be one match at 9:08 AM …
Hi,
At any point of time our server keeps receiving all the ticks and use that to generate a candle and put it in a queue to write to the database and it keeps happening for all the scrips that are being traded today.
15min candles are generated usi…
@mohitgarga,
From recent releases, we are uploading the whole project to the repository. From now on, you should be able to clone that repository, enter credentials and run it.
You can check out example here.
Hi,
The API will return the previous day's close. It means API returns day before yesterday's close(14/11/2017).
API will start returning 15/11/2017's close price from around 6:00 AM of 16/11/2017.
Hi @manjun8,
Kite Connect is entirely an independent product. It doesn't relate to Kite in any way.
The only similarity is they both connect to the same backend.
Kite Connect doesn't offer watchlist feature.
Yes, you can get data for options contracts in all intervals for the instruments that are not expired.
We will provide historical data for expired options contracts in future.
All Trade to Trade segment(T2T) instruments are delivery compulsory. You can only sell them if you have it in your account. It seems like you holdings are not yet delivered.
It is done by the exchanges to curb liquidity on these instruments.
Some of…
Hi,
We only have historical data for future contracts and it is available for day interval.
We have 2 years of continuous chart data for future contracts.
You can check out Pi bridge but not sure if it supports your Renko charts.
You may check out this blog.
For more information about Pi bridge, please write to suppport(at)zerodha.com, someone from our team will get back to you.
@avinashsringeri,
JMTAUTOLTD is being traded in BE series. You can check that on NSE website.
You need to pass tradingsymbol as JMTAUTOLTD-BE to get quotes.
Hi @avinashsringeri,
Kellton Tech Solutions Ltd is being traded in BE series. You can add that instrument to marketwatch by searching for instrument KELLTONTEC-BE.
I think the issue is you bought it on BSE and Kite is storing it as KELLTONTEC as it …
Hi @rejeesh31,
If you log in to PI or NEST then you will be logged out of the current session. I would suggest using Kite for monitoring purpose and make sure you don't log out of Kite. If you log out of Kite then you are logged out everywhere.
Kit…
Hi @ansumanm,
If you are doing calculations and writing tick data to the database then you need to use Multi-threading.
Main thread should only receive ticks and do nothing. Your worker thread must do all the job.
If your main thread is not blocked…
Hi @yousuf,
We have reported this issue to data team and they are working on the feasible solution for this.
In the meanwhile, you can add logic to your algorithm to ignore these candles.
Hi @vardhan36397,
The way charting System at our end works is,
Our system listens to every tick received and at end of the minute we generate a candle and store it in the database. This happens for all the instruments that are traded on the day. Sin…
Hi @chiragkeswani,
KiteXL is by @botany02, I am not sure if KiteXL provides it or not?
Do let us know if this happens today. We will check and get back to you.
Hi @vardhan36397,
Can you let us know the source of the data for the excel sheet?
If the first tick is received at 9:18 AM then data is plotted from that time frame and hence it will have the time series somewhat like, 9:18, 9:23, 9:27 and so on.
Hi @virtualKG,
It seems like order_id param is wrong.
You need to pass order_id in the order id field and not exchange_order_id.
I think that should resolve the issue.
Hi @chiragkeswani,
You can get order status logs using this API. Order status logs are cleared after BOD is done. We only have order logs for history orders.
Stop-loss will only trail if the trend is in your favor. If it is against then the system …
Hi,
Please report order errors on the same day. Order status logs what you get from API is cleared after BOD process and from the next day, we will only have order logs with us.
If you come across the LIMIT order for second leg orders, please let us…
Hi @sandeepm,
Kite Connect is purely an execution platform. We don't provide support for writing any kind of strategy.
You need to do all the calculations at your end and place order using Kite Connect.
Hi,
This code looks fine. It should work but it is very bad practice to poll orderbook. Your other requests might get blocked with status 429(too many requests).
I would suggest using postbacks.
Hi @krtrader,
Every day morning at 04:00 hrs, it will change from the day before yesterday's close to yesterday's close.
We will investigate and get back to you.
Hi Rajesh Sharma,
The JSON payload is posted as a raw HTTP POST body.
You will have to read the raw body and then decode it.
The checksum is SHA-256 hash of order_id + timestamp + api_secret
You can check out example here.
Hi @RP3436,
We are going to revamp websockets API from scratch in order to add new fields and new features. This feature will be released in next version of Websockets API.
Hi @RA5800,
You can check out margins API.
All special orders like bracket and cover orders are MIS(intraday) only, traders are not allowed to carry forward bracket and cover order positions.
Hi @varaprasady,
We haven't got any complaint like this. Tomorrow morning once you create an access token. Private message me the same. I will check and get back to you.
What is the exact time at which you log in and generate access token?
Are you logging into Pi or NEST at that time?
Did you log out of Kite at that time?
You may also check out these threads,
https://kite.trade/forum/discussion/29/invalid-session-credentials
https://kite.trade/forum/discussion/2017/invalid-session-credentials
Hi @ramatius,
We can see two SYNDIBANK orders that are rejected because it exceeded more than 3.5% of trigger range.
Kite web uses the same API to place orders. There is no difference between placing an order from Kite and Kite Connect.
Hi @vijay407,
You can use the new bulk fetch APIs, fetch historical data for a particular time (minute) in the new version of .NET client.
As of now, to use postbacks you need a remote setup as Kite Connect will post data to that endpoint for every …
Hi @RamG,
Kite Connect is a paid service. It will cost you Rs 2000 per month.
In the base package you get access to Live market data, place orders, fetch orderbook, positions, holdings, margins and more.
If you want to use historical data then it w…
Hi Amitabha,
Please open a new thread for new queries, it will help others who are facing the same issue.
If we answer here, it gets buried and becomes difficult to search.
@Encrypted,
If you log into any of our platforms like Pi or NEST then your credentials will be cleared. You can use Kite for monitoring purpose. If you log out of Kite then you are logged out everywhere.
Hi @dee,
We don't log out users during trading hours. All access tokens are cleared only in the morning before the market starts.
A user can be logged out if he logs into Pi or Nest. It is recommended to use Kite for monitoring purpose.
If a user lo…
Hi @hareesh,
In websockets, you will get open of the day for a given instrument and in a minute candle you will get open of the minute for a given instrument. So, both are correct data.