NSEpy Library

Hi Rakesh,
yfinance works for most of the applications discussed in the courses and supports most Indian stocks. However, you need to append .NS for NSE-listed stocks or .BO for BSE-listed stocks, depending on the exchange. Since most of these libraries are essentially wrappers, they may not always function as expected. If you’re looking for more reliable historical data, you might want to explore the paid data services provided by NSE.
Let me know if this answers your question or if you need any further clarification. Feel free to check out this free course on getting market data—it covers retrieving data across different domains, including stocks, crypto, news, and fundamentals.