Tick values are refreshing very slowly randomly.
-
I am using web socket client to get the ticks for some of the symbol. I am consuming tick for around 25 symbol in one ws client.
Mostly ticks are coming fine. But occasionally it coming very slow by 20 seconds delay.
I would like to know whether it is due to any load issue on the angel broker ?
can you please address this issue ? -
 Hi Thanks for the reply.
I too suspected my code and checked.
2024-12-18 - I didnt face any issue
2024-12-19 and 20 I am facing the issue.Only after verifying these cases i am raising this issue. If my code is the issue how could i verify the timestamp of the ticks. I am printing the time stamp for every one minute only to avoid any IO issue to log also 18th i didnt face any issue.
Please refer the attached images for time delay for ticks for starting of second of each minute.
I would really appreciate if i you can provide me a way to verify this ?
 As i am unable to attach image I am pasting sample log.
18th2024-12-18 10:03:05,619 - INFO - data time stamp 2024-12-18 10:03:00 arrived on 2024-12-18 10:03:05 - {'time': 1734496320000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1, 'open': 24257.25, 'high': 24284.4, 'low': 24254.7, 'close': 24269.4}
2024-12-18 10:04:01,030 - INFO - data time stamp 2024-12-18 10:04:00 arrived on 2024-12-18 10:04:01 - {'time': 1734496380000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1, 'open': 24268.65, 'high': 24274.8, 'low': 24265.95, 'close': 24266.25}
2024-12-18 10:05:01,255 - INFO - data time stamp 2024-12-18 10:05:00 arrived on 2024-12-18 10:05:01 - {'time': 1734496440000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1, 'open': 24266.2, 'high': 24269.55, 'low': 24258.25, 'close': 24259.8}
2024-12-18 10:06:00,952 - INFO - data time stamp 2024-12-18 10:06:00 arrived on 2024-12-18 10:06:00 - {'time': 1734496500000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1, 'open': 24261.95, 'high': 24261.95, 'low': 24253.45, 'close': 24255.55}
2024-12-18 10:07:00,625 - INFO - data time stamp 2024-12-18 10:07:00 arrived on 2024-12-18 10:07:00 - {'time': 1734496560000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1, 'open': 24255.7, 'high': 24267.05, 'low': 24253.3, 'close': 24262.6}20th
2024-12-20 09:16:41,287 - INFO - data time stamp 2024-12-20 09:16:00 arrived on 2024-12-20 09:16:40 {'time': 1734666300000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1,
2024-12-20 09:18:16,847 - INFO - data time stamp 2024-12-20 09:17:00 arrived on 2024-12-20 09:18:16 {'time': 1734666360000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1,
2024-12-20 09:18:31,149 - INFO - data time stamp 2024-12-20 09:18:00 arrived on 2024-12-20 09:18:31 {'time': 1734666420000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1,
2024-12-20 09:19:42,224 - INFO - data time stamp 2024-12-20 09:19:00 arrived on 2024-12-20 09:19:42 {'time': 1734666480000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1,
2024-12-20 09:21:02,055 - INFO - data time stamp 2024-12-20 09:20:00 arrived on 2024-12-20 09:21:02 {'time': 1734666540000, 'token': '99926000', 'symbol': 'NIFTY', 'exchange_type': 1, -
Hi, we tried replicating the issue. It is coming properly, the issue could be with your code.