Web socket not getting LTP for all stocks
I have subscribed to below stocks:
'INFY', 'SBIN', 'TCS', 'RELINFRA', 'RELCAPITAL', 'TATAMOTORS', 'AXISBANK', 'YESBANK', 'IDEA', 'BHEL', 'TATASTEEL', 'ADANIPORTS', 'WIPRO', 'HDFC', 'HDFCBANK', 'KTKBANK', 'SUNPHARMA', 'CIPLA', 'MARICO', 'ITC', 'DIVISLAB'.
But I am receiving data of only 2-3 stocks. Data for INFY come continuously. data for SBIN and TCS is delayed. For the rest of the stocks, not a single tick is coming.
I also tried to fetch the list of instruments subscribed using the get_subscription method. It shows that all symbols are subscribed.
Is anyone else facing the same issue?
Can you call this api : https://upstox.com/developer/api/v2/docs/#fetch-subscribed-symbols and check if they are subscribed ?
@rishabhjain Yes, I have done that. It shows that all symbols are subscribed.
@rishi123, we have issue with symbols having '&' in name, please ignore such symbols and see if it works. If not let us know.
@Archana I have not used any symbol with '&'. I have mentioned the list of stocks above.
Another observation is that I just tried to run the program at this time (10:15:00 PM) and it receives ticks for all stocks. but during the market hours, it was receiving ticks for 2-3 stocks only. This is happening for the last 2-3 days only.
Request to help urgently.
@rishi123, we tried at our end during the market for all the mentioned symbols and we are getting data for all the symbols.
@pratima It doesn't help, please give some solution.
@rishi123 - Please post your code snippet, where you have subscribed the list of symbols and socket is open for listing to live_feeds event.