I would like to know why the following code doesn\'t work ? Indeed I would like to have a rolling annualized risk mesure of the SP500. First I\'ve imported data from yahoo f