It looks like you're new here. If you want to get involved, click one of these buttons!
List<Historical> historical = kite.GetHistoricalData(
InstrumentToken: instrument.InstrumentToken.ToString(),
FromDate: new DateTime(2022, 01, 04, 09, 15, 0), //new DateTime(fromdt.Value.Year, fromdt.Value.Month, fromdt.Value.Day, fromdt.Value.Hour, fromdt.Value.Minute, 0), // 2016-01-01 12:50:00 AM
ToDate: new DateTime(2022, 01, 04, 15, 29, 0), // 2016-01-01 01:10:00 PM
Interval: interval,
Continuous: false, OI: true);