Rolling VIX Options Monthly

The code below takes the data already cleaned up by the code in the previous post and strings separate expirations together in a time series suitable for back testing, using the code found here and here.  Options are rolled monthly.

You can view the code in the window below or directly on Gist.

I am sure there are better and more efficient ways of completing the task but this is how I chose to do it. Using Python and various of its libraries including the truly fabulous Pandas.


Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s