Hello everyone,
I am trying to implement a strategy from the following working paper: Does historical volatility term structure contain valuable information for predicting volatility index futures?
As a first step I am trying to put together the historical data of VIX and divide them into quartiles. It may be simple, but I personally am not able to write the code in the backtest.
Can someone please help me ?
Thank you!!