kite.historical_data (256265, datetime.datetime(2025, 7,16), datetime.datetime(2025, 7,16), 'day') - returns 25198.55 as the close price. Now this value when checked tomorrow will have a different value which will match the value returned by kite.qu…
Thanks for the update. But I see NIFTY and SENSEX too are having different values.
After market hours say at 4PM,
kite.quote - gives the previous day close price
kite.historical_data (291849, datetime.datetime(2025, 7,15), datetime.datetime(2025, 7…
There is a discrepancy in kite.quote and kite.historical_data apis
kite.quote(['NSEIX:GIFT NIFTY'])['NSEIX:GIFT NIFTY']['ohlc']['close'] - When I run this now gives a value 25174 which is previous day close price.
kite.historical_data(291849, date…
kite.quote(['NSEIX:GIFT NIFTY'])['NSEIX:GIFT NIFTY']['ohlc']['close'] - When I run this now gives a value 25158 which is previous day close price.
kite.historical_data(291849, datetime.datetime(2025, 6, 6, 9, 15), datetime.datetime(2025, 6, 7, 2, …
Hi,
kite.historical_data(291849, stTime, edTime, 'day') data does not match with that of kite.quote
date open high low close volume
0 2025-05-29 00:00:00+05:30 24762.5 24990.5 24658 24…
I see kite.quote giving the previous day close price.
kite.quote(['NSEIX:GIFT NIFTY'])['NSEIX:GIFT NIFTY']['ohlc']['close']
But why is kite.historical api (interval='day') data doesn't match with that of kite.quote
Rakesh, can you please suggest how to use the above steps.
I am using web socket callback events which uses calculations in on_ticks method. As mentioned in one of your response I have moved the calculation part into a separate thread(deamon thread …
@Sujith, @rakeshr
Can you provide any inputs in getting this supertrend signals? I just want to know if there is issue with my code or in general there is a discrepancy with the signals.
Thanks Sujith. Right now I am not using websocket programming. I am facing "ReactorNotRestartable" errors with websockets, so end up restarting kernel every time. Are we supposed to use web sockets?