☰
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
14.1K
All Categories
0
Incidents
158
Node JS client
43
Go client
801
.Net API client
386
Kite Publisher
538
.Net / VBA / Excel (3rd party)
466
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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