☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
May 2022
ATH
May 2022
SRIJAN
Historical Candle data is missing in live market
ATH
May 2022
in
Python client
In Live market Historical data candle is missing(refer screenshot)
Script : IOC
Timeframe: 2minute
At 15:05:06
Got data till 15:05:00
At 15:05:07
Got data till 15:03:00
1) why this is happening
2) How to handle it
Hist_data_error from zerodha.png
92.5K
SRIJAN
May 2022
edited May 2022
In the 1st dataset,you have all the completed candles, and the running live candle of 15:05. So, nothing is missing.
About 2nd,did you use different 'to' parameter than the previous one??
ATH
May 2022
No Srijan,
1) I'm fetching Historical data in While loop
2) Historical function parameters are same for 1st and 2nd dataframe
SRIJAN
May 2022
Weird , how can the candle disappear after it has started??
However,historical data is provided only for backtesting purposes .
To generate live candles, websocket is recommended.
You can know more here:
https://kite.trade/forum/discussion/2604/convert-ticks-to-candle#latest
Sign In
or
Register
to comment.
About 2nd,did you use different 'to' parameter than the previous one??
1) I'm fetching Historical data in While loop
2) Historical function parameters are same for 1st and 2nd dataframe
However,historical data is provided only for backtesting purposes .
To generate live candles, websocket is recommended.
You can know more here:
https://kite.trade/forum/discussion/2604/convert-ticks-to-candle#latest