Error while running the Risk Management code under Momentum Trading Strategies module


The error is coming from this part:
month_groups = spy_prices['Adjusted Close'].groupby([spy_prices.index.year,spy_prices.index.month])

 
1 Like

Hello Sugat,



It seems that the notebook is working fine on the portal. Can you help me what the error is, so we can check and resolve the issue.



Thanks.