: Historical prices typically go back as far as 1970 , though specific index coverage may vary.
Save the following code as nifty_data.py . yahoo nifty historical data
| Event | Drawdown (%) | Recovery time (months) | |---------------------------|--------------|------------------------| | Dot-com bust (2000–2001) | -41% | 22 | | Global Financial Crisis (2008) | -60% | 37 | | COVID crash (March 2020) | -39% | 6 | | 2022 rate-hike selloff | -15% | 4 | : Historical prices typically go back as far