Skip to main content

UVXY and SVXY Charts 24 Hours a Day

Did you know you can actually calculate and plot the values for SVXY and UVXY any time of day or night as long as VIX futures are trading? I went through a complicated explanation here so you can do it yourself and understand what goes into the calculations.

Once you understand the calculation though, a simple shortcut is to use an index ticker known as SPVIXSTER. This is available on most trading platforms as well as Google and Yahoo quotes. An even nicer trick is that you can create a ThinkorSwim Thinkscript to plot the value you for you overnight!

Basically SPVIXSTER is telling you the relative value of the 30-day weighted VIX future. The fund values of UVXY and SVXY are also available in realtime with the ticker UVXY.IV and SVXY.IV (or some variation thereof, depending on your specific broker). Now, although the fund values are not available after the 4:15 close, SPVIXSTER is reported around the clock as long as VIX futures are trading. See where I'm going with this?

By creating a script that calculates the SPVIXSTER change from yesterday and applies it against the last known values of UVXY and SVXY, you can calculate and update your own values for these tickers in realtime, even at midnight. Of course you still can't trade them overnight, but knowing where the values are based on VIX futures overnight can give you some idea on how to plan your next trade or where to open or close your next position, or keep better tabs on your margin requirements.

Below are my Thinkscripts for both UVXY and SVXY. To use these if you are not familiar with Thinkscript, follow these directions on ThinkorSwim:

1. Click on the little studies icon at the top of a chart of your choice
2. Click Edit Studies...
3. Click Create...
4. Give it a new name that makes sense to you (ex: UVXYAfterHours)
5. Cut and paste the code below into the big lower box
6. Click OK

It should now be visible on the lower part of your chart along with any other indicators you may have there.

Thinkscript for UVXY overnight chart:


## UVXY Overnight Calculator. Version 2.0
## This script is free to use.
## Created by Eric Vymyslicky
## http://vixworkshop.blogspot.com
## Unfortunately the previous version of this script

## did not pull the correct close for $SPVIXSTER
## In order to use this properly,

## you must manually input the 4:15ET close of $SPVIXSTER each day.
## Data is only available when $SPVIXSTER is available, 

## usually 7PM-3:30PM ET
declare lower;
input SPVIXSTERclose = 47.72;
def closingUVXYIV=close("UVXY.IV",period="DAY");
 

def AGG = getaggregationperiod();
def currentfuture = close("$SPVIXSTER", period = AGG, priceType = PriceType.LAST);

def yesterdayfuture = SPVIXSTERclose; 
def doublechange = (((currentfuture / yesterdayfuture) - 1) * 2) + 1;
def CurrentUVXY = doublechange * closingUVXYIV;

plot UVXYIVAH = CurrentUVXY;

UVXYIVAH.AssignValueColor(Color.GREEN);



Thinkscript for SVXY overnight chart:

## SVXY Overnight Calculator. Version 2.0
## This script is free to use.
## Created by Eric Vymyslicky
## http://vixworkshop.blogspot.com
## Unfortunately the previous version of this script

## did not pull the correct close for $SPVIXSTER
## In order to use this properly,

## you must manually input the 4:15ET close of $SPVIXSTER each day.
## Data is only available when $SPVIXSTER is available, 

## usually 7PM-3:30PM ET

declare lower;
input SPVIXSTERclose = 47.72;
def closingSVXYIV=close("SVXY.IV",period="DAY");

def AGG = getaggregationperiod();
def currentfuture = close("$SPVIXSTER", period = AGG, priceType = PriceType.LAST);
def yesterdayfuture = SPVIXSTERclose;
def inversechange = (1/currentfuture) * yesterdayfuture;
def CurrentSVXY = inversechange * closingSVXYIV;

plot CurrentCaluclatedSVXY=CurrentSVXY;
CurrentCaluclatedSVXY.AssignValueColor(Color.GREEN);



HINT: If you don't want to see yesterday's closing price on the chart just delete the second line that begins with "plot" and the last line.

You will need to change the value for $VIXSTER every day. Just identify the 4:15pm ET close and use that as the value for SPVIXTERclose.

Updated November 30, 2017 with new version of the script that more accurate calculates overnight values.

Enjoy and Happy VIX Trading!

Comments

Popular posts from this blog

The VXST:VIX Ratio – Knowing when a VIX spike is out of steam

November 9, 2017 – Today was a terrific day for trading volatility. Plenty of money could be made on both sides of the trade, and unless you got greedy, everyone left happy. Today was also a textbook example of an indicator I like to use to identify VIX tops: the VXST:VIX ratio. I mentioned it briefly in my last entry, but I'll expand on it a little today. Without going into mathematical definitions, VXST is VIX's jumpier, angrier baby brother. If you know the simple definition that VIX is the expected volatility over the upcoming 30 days, VXST is the equivalent for the upcoming 9 days. Think of it as volatility with an even shorter time horizon than VIX – kind of like zooming in on the next few days. It tends to rise faster than VIX, and drops faster than VIX. The VXST:VIX ratio is just a simple way of telling us which value is greater, and by how much – VXST or VIX. The normal state of a healthy, up-trending market is that VXST is lower than VIX, similar to the way...

Decay and SVXY/XIV: Frequent VIX Spikes Hurt!

The easiest trade in the market is in XIV and SVXY – just buy the dip, right? Wrong! In very calm markets that may be true. Gains in these funds are compounded daily as long as volatility is decreasing and futures are in contango. It really is a mindless trade when things go well. From January 1, 2017 to its all-time high on July 24, XIV rose 105%, in what was mostly a steady, daily rise with few interruptions. After late July though, the behavior on the XIV and SVXY changed. The overall term structure of the VIX futures is certainly a little higher than it was in July, but both of these funds are down 17% from their highs in the last 6 weeks, even though VIX continues to stay in the low teens. What's going on under the hood? Beginning in late July the market began to see frequent VIX spikes, on average once every 7-10 days. Although these spikes weren't high in absolute terms, on a percentage basis they were quite large: Date VIX HIGH % S...

Trading Update for January 17, 2018

Volatility is back! A very unusual day developed today as every major index opened at fresh all time highs then retreated after the first half hour. VIX also opened higher in the overnight session and continued rising all morning, peaking at 12.41 this afternoon. S&P Futures initially rose today and peaked by 10am ET. 5min bars. Usually VIX drops when SPX rises, but the first half hour of trading today saw the VIX rise despite SPX reaching new highs. This should ring alarm bells for any volatility trader. What is going on and how do we expect volatility to resolve this? VIX also rose this morning and even dropped with SPX before decoupling. 5min bars. Occasionally we can see a rising VIX together with a rising market as a technical response – traders buying insurance in the form of SPX puts as the market adjusts higher. This can be normal and is usually transient, lasting a few hours to days. VIX can also rise if there are news events triggering volatility. To...