SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); try { Date from = formatter.parse("2025-02-17 09:15:00"); Date to = formatter.parse("2025-02-17 15:30:00"); HistoricalData historicalData = kiteConnect.getHistoricalData(from, to, instrumentToken, "15minute", false, true);
I am trying to get live data today. But I see data returned by Zerodha is not matching with https://www.tradingview.com/ For example, CHEMPLASTS at time 2025-02-17T09:30:00+0530, Zerodha is giving open price as 391.3 but Tradingview says its 392.95. Why there is discprency in the data?