Lean icon indicating copy to clipboard operation
Lean copied to clipboard

Add Implied Volatility Rank API

Open simonsonjack opened this issue 7 years ago • 5 comments

Expected Behavior

Implied Volatility Rank is the percentile of the current option's Implied Volatility against the one-year IV minimum and maximum for rolling ATM options.

IVR = 100 * (current IV - 52-week IV low) / (52-week IV High - 52-week IV low)

Essentially, you are taking weighted averages of each OTM contract's implied volatility (symmetrical around the risk-neutral 30-day at-the-money-forward price) of the two options expiration cycles that are closest to the 30-day mark (more than 23 days and less than 37 days to expiration), then interpolating between the two in order to calculate a singular constant-maturity 30-day implied volatility. This calculation is then repeated at a minimum of once per day. Typically, this value will then be compared in a percentile rank calculation to the prior 52-weeks/252 days of values to compute IVR.

Note this process will naturally be reliant on using the relative dispersion of strikes around the ATM (i.e. using a constant OTM moneyness or delta, not a constant strike level) rather than specific contract symbols.

Actual Behavior

Not yet implemented.

Potential Solution

Reproducing the Problem

System Information

Checklist

  • [x] I have completely filled out this template
  • [ ] I have confirmed that this issue exists on the current master branch
  • [x] I have confirmed that this is not a duplicate issue by searching issues
  • [ ] I have provided detailed steps to reproduce the issue

simonsonjack avatar Jun 05 '19 00:06 simonsonjack

Closing as no demand for now. Can reopen with demand.

jaredbroad avatar Feb 17 '23 18:02 jaredbroad

As an options trader, implied volatility rank is a must to have since it defines the demand for the option in the market

nj20 avatar May 25 '23 07:05 nj20

As an options trader, implied volatility rank is a must to have since it defines the demand for the option in the market

2nd that request. Could we reopen this?

kevinostoll-dfg avatar May 08 '24 22:05 kevinostoll-dfg

Would love to see this feature please!

jaybennett89 avatar Mar 11 '25 22:03 jaybennett89

+1 need this feature as an options trader. I currently have to implement things from scratch if I want to run any options backtests.

DaakuPMT avatar May 06 '25 12:05 DaakuPMT