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

Building a Core Volatility Short Using UVXY Options

Several volatility trading strategies advocate using a “core” short volatility position to benefit from the drag of contango and beta slippage on these products. Holding a permanent short position in UVXY would allow a trader to benefit from the average 60-90% yearly loss these funds suffer from. However, establishing or maintaining this permanent short position may be undesirable due to short borrowing fees, margin requirements, or even impossible if the shares are unavailable either due to market conditions or choice of broker. But just because you can't short UVXY or TVIX directly doesn't mean you need to miss out on these downward moves year after year. Consider building your core with options. This trade involves selling short calls. The premium collected on the trade approximates how much one would earn from the average natural decay of holding the underlying ETF in that period of time. This trade has the advantage of being much less volatile than a pure UVXY sh

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