QuantRocket logo

Disclaimer

VIX Research

To quantify the effect of volatility on our trading strategy, we will subdivide the backtest returns based on whether the VIX was above or below 20 at the time of the trading signal.

To begin, load the backtest results from earlier and extract the returns:

Next, we query the VIX values as of 3:30 PM each day NY time. Since the VIX is provided by CBOE which is located in Chicago, we need the close of the 14:00:00 bar:

Next, we subdivide the returns based on the VIX:

Then we plot the cumulative returns to compare:

Limiting to times when the VIX was above 20, the strategy has continued to move higher over time. When the VIX is under 20, the strategy loses money.


Next Up

Part 5: Moonshot Backtest With VIX Filter