Back to Community
Hedge with the VIX/VXV - Need Help

This simple algorithm that trades the volatility. It calcuales the ratio between the 30 day to the 90 days volatility indexes and go long/short on SPY with some TLT hedging.
The logic of the approach: Usually in non fear periods, the 90 day volatility (VXV) is more costly than the 30 days volatility index (VIX) because we pay primium for having index for longer period. But in downtruns the 30 day may be priced with an increased primium (as investors buy short term shorts due to immidiate fear).

Read more here:


  1. The beta is low which is great
  2. In daily trade I got good results but those turned horrible in minue mode !
  3. I couldnt test it in prior to 2012 due to lack of fetcher data.
  4. Mid 2013-mid2014 weren't great and I could mitigate it and have great gains only by sensing the market sentiment using moving average of spy , but this increased my Beta to a quantopian non acceptable figures.

I am still trying to finalize the appraoch and how to trade , I may got it all wrong .... need help to continue the algo.


Clone Algorithm
Backtest from to with initial capital
Total Returns
Max Drawdown
Benchmark Returns
Returns 1 Month 3 Month 6 Month 12 Month
Alpha 1 Month 3 Month 6 Month 12 Month
Beta 1 Month 3 Month 6 Month 12 Month
Sharpe 1 Month 3 Month 6 Month 12 Month
Sortino 1 Month 3 Month 6 Month 12 Month
Volatility 1 Month 3 Month 6 Month 12 Month
Max Drawdown 1 Month 3 Month 6 Month 12 Month
# Backtest ID: 55d9f80dfb687e0d9cea77e6
There was a runtime error.
3 responses

Hi Joe,

What exactly do you need help with?

To see how if anyone has ideas how to improve / resolve items 2 and 4 above

Regarding item 2: it's no surprise that this doesn't really work at the minute level. VIX and VXV both track volatility at the daily level over the last 30/90 days. This implies movements that aren't really meaningful at the minute level, i.e. noise. To paraphrase you, the signal you're looking for is "periods of fear," which is based on investor sentiment. But does the bearish/bullishness of investors really change significantly at the minute level? I don't think it does. I think that VXV and VIX movements at the minute level are basically noise -- as such, you get bad results.

On the other hand, bearish/bullishness of investors does change significantly at the daily level.