QuantRocket logo

Disclaimer

VIX Data Collection

The backtest revealed that this strategy was mainly profitable during the 2008 financial crisis and again in 2020 during the COVID-19 pandemic. In line with this observation, the authors of the source paper note that the predictive power of the first half hour is greater during periods of high volatility.

We will use intraday VIX data to investigate this observation further. This data comes from Interactive Brokers.

Collect CBOE index listings

First, start IB Gateway:

Then, collect all index listings from CBOE:

Monitor flightlog for a completion message:

quantrocket.master: INFO Collecting CBOE IND listings from IBKR website
quantrocket.master: INFO Requesting details for 206 CBOE listings found on IBKR website
quantrocket.master: INFO Saved 206 CBOE listings to securities master database

Lookup VIX

Next, we look up the Sid for VIX.

Collect historical data

Next, we create a database for collecting 30-min bars for VIX:

Then collect the data:

Monitor flightlog for completion:

quantrocket.history: INFO [vix-30min] Collecting history from IBKR for 1 securities in vix-30min
quantrocket.history: INFO [vix-30min] Saved 53788 total records for 1 total securities to quantrocket.v2.history.vix-30min.sqlite

Next Up

Part 4: VIX Research