Hello
I am currently working on a project that requires real-time market data from the National Stock Exchange (NSE) through the official NSE Python API. However; I have faced an issue where the real-time stock price data isn’t updating as expected. Initially; the connection to the API works fine; but after some time, the data seems to freeze, and I am unable to fetch the latest prices.
The API documentation suggests using the get_live_data() function, but in my case, I receive either outdated data or no data at all after a certain period of time. I have checked my API keys & they seem to be correct, and I have ensured my request is within the rate limits specified by the API. I’ve also tried different stocks, but the problem exist . I have referred https://forum.unofficed.com/c/programming/12 selenium guide but the issue remains unresolved .
Has anyone faced similar issues with the NSE Python API? If so; how did you resolve it? Any insights into proper connection handling / potential workarounds to confirm continuous data updates would be greatly appreciated.
Thanks in advance for any help!