It looks like you're new here. If you want to get involved, click one of these buttons!
currentDate = currentDate();
previousDate = currentDate.addDays(-720); //wanted to see how data is returned for a 2 year period
getValue("historical","day",previousDate.toString("yyyy-MM-dd"),currentDate.toString("yyyy-MM-dd"));
Historical data fetch on Kite Connect is based on instrument token and exchange re-uses token after its expiry, Hence we are not providing historical data for expired contracts.
We are coming up with a feasible solution for this soon. We will announce it on the forum once it is up.
Yes, Kite Connect Historical data is built based on tick data received from the exchange.
If there are no trades on a scrip then there will be no candles.