Kite Historic API showing IN-CONSISTENT OHLC data . Raising Second time as first one disappeared

pramodb
Kite Historic API showing IN-CONSISTENT OHLC data .

Test case : Check the historical OHLC for Nifty (Future, Spot or any options) the OHLC close price is different between two consecutive 1 min candles. see data extracted from the Historical API, check the CLOSE price for the 14:54 candle between requests at 14:55 and 14:56. Its 21245.25 and then becomes 21244.55, in some cases we have seen this price difference upto 2-3. how do you trust this API which is a paid service. what is the correct price for the 14:54 candle. How or why is the price changed after the candle is closed.?? Is the data being manipulated..?



23-01-2024-14.55.13 open high low close symbol
Datetime
2024-01-23 14:53:00 21256.9 21256.9 21243.05 21248.20 NIFTY 50
2024-01-23 14:54:00 21246.3 21246.3 21235.90 21245.25 NIFTY 50


23-01-2024-14.56.01 open high low close symbol
Datetime
2024-01-23 14:54:00 21246.3 21246.3 21235.9 21244.55 NIFTY 50
2024-01-23 14:55:00 21245.6 21247.5 21237.9 21241.00 NIFTY 50


Can can someone from the Zerodhda development team shed some light on this..
  • rakeshr
    23-01-2024-14.55.13 : 2024-01-23 14:54:00 21246.3 21246.3 21235.90 21245.25 NIFTY 50
    23-01-2024-14.56.01: 2024-01-23 14:54:00 21246.3 21246.3 21235.9 21244.55 NIFTY 50
    As, explained in this thread, there is no guarantee that minute candle OHLCV will be available/updated at the end of the minute or at the beginning of the next minute. So, you should not be dependent on the historical data API for live candles. Go through the historical data FAQs.
  • pramodb
    Rakesh, thanks for the update. the question is much simpler. how can the price on an historical candle be so different for over 1 min. a couple of second is understandable.. but how do you explain the price difference between 60 second. in Techncal terms 60 secs or 60000 millisecs is massive.
  • rakeshr
    how can the price on an historical candle be so different for over 1 min. a couple of second is understandable
    As, explained above, you shouldn't expect live candles for the intraday period. This thread explains in detail for your above query.
Sign In or Register to comment.