I am getting historical data using the following method. The third parameter is token and I am not sure which stock it is. How do we get these numbers for different stocks?
HistoricalData historicalData = kiteConnect.getHistoricalData(from, to, "2925313", "60minute", false, true);
https://kite.trade/docs/connect/v3/market-quotes/#instruments
Download it every trading day and store in your database.