Yahoo Finance Nifty Historical Data Jun 2026

nifty = yf.download('^NSEI', start='2010-01-01', end='2023-12-31')

For traders, investors, and financial analysts, historical data is the bedrock of strategy. It allows for back-testing models, identifying long-term trends, and understanding market volatility. When it comes to the Indian stock market’s benchmark index, the Nifty 50, remains one of the most popular, free sources for retrieving this information. yahoo finance nifty historical data

like the "Adjusted Close" for your research. nifty = yf

nifty.to_csv('nifty_historical.csv')