com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException

hiralzala
When I execute the function "kiteConnect.getHistoricalData(from, to, insToken, "minute", false)" raise the below error

com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException

There is also I can'g get the every minute wise historical data. Some time system give two minute late data. What is wrong I do? and suggest the solution.
  • sujith
    Hi @hiralzala,
    If you are using Kite Connect 3 then you can enable debugging and check for the exact error message.

    The historical data API is provided for backtesting only. For live market strategies, it is recommended to generate candles at your end using the live market data provided on Websockets.
  • hiralzala
    How to use Websotckets? is any documentation or example is at there?
  • sujith
    You can check out ticker usage here.
    Please create new threads for new queries, it might help others who are looking for the same.
This discussion has been closed.