☰
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.2K
All Categories
0
Incidents
126
Node JS client
36
Go client
765
.Net API client
360
Kite Publisher
532
.Net / VBA / Excel (3rd party)
433
Algorithms and Strategies
964
Java client
1K
API clients
400
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.1K
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