# Option Chain Implied Volatility Calculation

I have the following EOD options data for the SPY containing IV data for each strike.

Date        Symbol  Exp         Strike  P/C  ImpVol
2015-07-01, SPY,    2015-07-10, 185.5,  C,   0.272986
2015-07-01, SPY,    2015-07-10, 186,    C,   0.267097
2015-07-01, SPY,    2015-07-10, 186.5,  C,   0.261214
2015-07-01, SPY,    2015-07-10, 187,    C,   0.255573
.
.


I'd like to calculate the IV for the SPY Option Chain using this data.

I believe the Option Chain IV is related to the ATM strike IV, but I'm not 100% sure how ThinkOrSwim calculates it.

Is there a formula I can use to calculate the Option Chain IV?

• Unfortunately "option chain IV" does not seem to be a standard term AFAIK. We can try to guess, but it would be best to get a definitioon from ThinkOrSwim. – noob2 Jan 3 '16 at 22:34

## 1 Answer

Using that data the best way to compute implied volatility is tho use the methodology to approximate the variance swap rate closely following the model-free estimate proposed by Demeter et al. (1999) and Carr and Madan (1998) who show that if one owns a portfolio of options across all strikes inversely weighted by the squared strike then one gets a variance exposure that does not depend on the price. The variance swap rate or implied volatility is approximated by: $$\sigma_{i,t,\tau}^2=\int_{S_i(t)}^{\infty}\frac{2\Big(1-\log[\frac{K}{S_i(t)}]\Big)}{K^2}C_i(t,\tau,K)dK+\int_{0}^{S_i(t)}\frac{2\Big(1-\log[\frac{K}{S_i(t)}]\Big)}{K^2}P_i(t,\tau,K)dK$$

• If you wish to pursue this approach, I would suggest SpxTrader read the Vix White Paper for the details of how the CBOE implements this formula. – noob2 Jan 4 '16 at 15:21
• Thanks for the answer, although I think it would be too complicated for me to implement in code. As a rough approximation would it be valid to use the implied volatility of the at the money strike? – patrickandroid Jan 5 '16 at 5:20
• Yes. As a rough approximation. – phdstudent Jan 5 '16 at 16:40