Historical data

vijoeyz
Historical data for "NIFTY ALPHA 50" for one-day period is always for the last day. However, historical data for shorter periods exist. Why so? Even on TVC or CIQ charts, 1D chart is shown for only one day. Whereas, tradingview.com shows 1D correctly.
  • sujith
    Can you elaborate?
  • vijoeyz
    Hi @sujith ,

    Please check https://kite.zerodha.com/chart/ext/tvc/INDICES/NIFTY ALPHA 50/265993

    For 1D/1W/1M periods, there's only one candle; whereas, for lower periods candles are shown from past (6 months and more).

    Similarly, historical_data() retrieves only for one day for 1D period, but able to retrieve past data for periods less than 1D.
  • vijoeyz
    @sujith Please answer.
  • rakeshr
    @vijoeyz
    Yeah, historical day candle seems to be missing. We are looking at this.
  • vijoeyz
    @rakeshr , do you have an update on this? I need this 1D data of this index.
  • rakeshr
    @vijoeyz
    Data team is working on this. We will update here, once added.
  • tusharhk
    Hi All, I am getting below error for historical data.. do I need to get any specific access for historical data ?

    - File "c:/Users/Tushar/Desktop/temp/python/test.py", line 30, in get_historical_data
    return kite.historical_data(instrument_token, from_date, to_date, interval)
    File "C:\Users\Tushar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\kiteconnect\connect.py", line 624, in historical_data
    data = self._get("market.historical", {
    File "C:\Users\Tushar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\kiteconnect\connect.py", line 817, in _get
    return self._request(route, "GET", params)
    File "C:\Users\Tushar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\kiteconnect\connect.py", line 886, in _request
    raise exp(data["message"], code=r.status_code)
    kiteconnect.exceptions.PermissionException: Insufficient permission for that call.
  • sujith
    @tusharhk,
    You can check out FAQs here.
  • tusharhk
    Hi Sujith, Thanks for confirmation. do I need to get historical data app just for yesterday nifty data for current expiry. Thanks
  • rakeshr
    @tusharhk
    You can go through this thread.
  • vijoeyz
    @rakeshr , is there a response from the data team on the original question?
  • vijoeyz
    Can I please have an update?
  • rakeshr
    @vijoeyz
    It's in progress. Once done, we will update it here.
  • vijoeyz
    vijoeyz edited August 2020
    @sujith , @rakeshr

    May I get a response on the current state?
  • sujith
    This should be fixed now.
  • vijoeyz
    Verified in charts. But I think charts also uses historical_data() to fetch past data. Thank you.
Sign In or Register to comment.