ORATS has a data point that measures the implied volatility divided by the historical or realized volatility. This ratio can be used in the backtester, for example, to only trade when the IV/HV ratio is in a certain range or above or below a certain level.

We label the ratio ivHvXernRatio because it is the implied volatility at 30 days taking out the earnings effect, divided by the historical volatility for 20 observations (20 observations is about one month so it matches the IV). The ex earnings HV takes out the days around earnings announcement.

Normally, the IV/HV is > 1 since the market normally prices in a risk premium into the implied volatility over historical volatility. Currently, with the market so volatile, the IV is < 1 for the average of all symbols, at 0.9722. The one month ratio is 1.0801 and the year average for all symbols is 1.172.

null

 

For AAPL, currently here are the levels:

null
 

Below is a graph of the ivHV indicator and below that is the HV20day graph. It looks like the ivHV is low when the HV20day is high, which makes sense.

null

 

You can run a backtest to buy a straddle every time the ivHV ratio is below 0.85, for example. Here's what the input looks like:

 

null

 

Try it yourself with a free trial here.

Further reading: https://blog.orats.com/our-special-historical-volatility-calculation-at-orats

 

 

 

related posts

How To Backtest A Covered Call With A 75 Delta Exposure
Sep
19
Backtesting, covered call, buywrite, delta neutral

How To Backtest A Covered Call With A 75 Delta Exposure

We were asked, "Can I backtest a covered call strategy on the SPY where the equity exposure is...

Read Post
Finding The At-The-Money Strike Given Ticker and Trade Date
Sep
17
Data, options quotes, data api, straddle

Finding The At-The-Money Strike Given Ticker and Trade Date

We had a question today, "Can I get the nearest ATM strike for a given ticker and tradeDate?"

Read Post

We're here, if you need us.

Still curious how we can help you?




LET'S CHAT