NSEpy not working

Hi,

NSEpy is not working. How can we get Indian stock and Indexes data referred in exercises?

You can use yfinance to get the data. For example,



import yfinance as yf

yf.download('HDFC.NS','2018-1-1','2019-1-1')



You can find more ways here:  https://blog.quantinsti.com/stock-market-data-analysis-python/