Historical data only available for last 3-4 years?

vibhore
I am not able to get historical data for years before 2015, I tried for couple of instruments. Is that all that is available via historical API?
  • sujith
    We have intraday candle data till 2015, beyond that we only have the day candle data.
  • vibhore
    I am not getting any data before 2015 whatsoever and that's for Nifty 50 for any other stocks I am not able to get data before 2016. Any help will be appreciated.
  • sujith
    Can you mention the request params you are passing?
    It is better to always mention the version of Kite Connect client you are using and steps to reproduce the issue.
  • vibhore
    Here is a sample,

    DEBUG: GET https://api.kite.trade/instruments/historical/136320004/minute?from=2010-01-01+00:00:00&to=2010-01-31+00:00:00&continuous=0
    DEBUG: User-Agent: KiteConnect.Net/1.0.0.0
    DEBUG: X-Kite-Version: 3
    DEBUG: Authorization: token icgbzpgqrkyhjfq2:KLGSbmkFo9f9tMoN3E2KEEMqz2Fyj0kE
    DEBUG: 200 {"status": "success", "data": {"candles": []}}

    There are no specific steps just specify any date before 2015 and it comes back blank.
  • sujith
    You are looking at BSE instrument token. We have data for this from mid march 2016. You can check the equivalent NSE instrument token(2815745), we have data for that from FEB 2015.

    If you see empty candles then it means we don't have that data.
  • vibhore
    For what interval can I get data before 2015? Is it available at all?
  • sujith
    You can get day candles before 2015.
  • m7010621123
    Can we have 5 Mins Data or 10 Mins data of all the scripts, at live hours...
  • sujith
    Historical data API is meant for backtesting purpose only. You can generate candles using the live market data provided on Websocket.
Sign In or Register to comment.