manishkr1754/NIFTY50_Data_Analysis_NSETOOLS_NSEPY_Python ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python notebook project that pulls historical NIFTY50 daily data for roughly the last 15 years and turns it into a clear analysis of how the index has behaved over time.
I want the flow to start with data extraction, then simple but nice visualizations like line charts, candlestick charts, and Heikin Ashi charts for different time ranges. After that, add a few analysis notebooks that compare high versus low and open versus close, look at gap up and gap down days, and calculate common moving averages like 7, 14, 21, 50, and 200 day SMA and EMA.
Please also include monthly return analysis and a few investment style comparisons, like a one time lump sum, monthly SIP, buying on the first gap down day each month, and buying on all gap down days, with Sharpe ratio comparison at the end. Use interactive charts where it makes sense, and save useful outputs so the results are easy to review. If you need current library details, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit