Hi Today I got the market data delayed by 23 minutes during day, at around 2:02pm . Is there any way to get the data reliably? How can we trade if there is delay in data of this kind? I got the tick => "Tick ---- 14:02:02" and then I got next tick "Tick ---- 14:25:09". In my main program I have set the delay tolerance for 5 minutes, which is already too much, but 23 minutes is just disastrous. Please suggest how can we handle this kind of situation.
Hi @sujith , Thanks for the quick reply. I am using Python standard library(kiteconnect) for Market Data. I wrote a separate program, just to get Market Data and write in a file. I will write some more debugging statement and check it for couple of days. Will come back with findings. Thanks
We use the same websockets API on all our platforms. We didn't come across any such issue.
Please check your implementation.
PS: One of the common mistakes would be receiving ticks and doing calculation and IO operations on a single thread.
Thanks for the quick reply. I am using Python standard library(kiteconnect) for Market Data. I wrote a separate program, just to get Market Data and write in a file. I will write some more debugging statement and check it for couple of days. Will come back with findings.
Thanks
Use multithreading, keep receiving ticks on the main thread and do other stuff inside another thread.