i have apikey still not able to get data from GetHistoricalData?

ashuthinks
I'm trying to get last 10 minutes data just for testing but it is giving me error - insufficient permission why?

List historical = kite.GetHistoricalData(
InstrumentToken: "260105",
FromDate: new DateTime(2020, 10, 14, 13, 55, 0), // 2016-01-01 12:50:00 AM
ToDate: new DateTime(2020, 10, 14, 14, 00, 0), // 2016-01-01 01:10:00 PM
Interval: Constants.INTERVAL_MINUTE,
Continuous: false
);
  • sujith
    @ashuthinks,
    You can know more here.
  • ashuthinks
    I didn't get this why 3 different subscription ?
    Kite Connect subscription - Rs. 2000
    Historical data subscription - Rs. 2000 (requires base Kite Connect subscription)

    you mean by current subscription i can only read ticker data?
  • sujith
    With the base Kite Connect subscription, you can use everything mentioned here except the historical data API.
  • ashuthinks
    ok thank you
This discussion has been closed.