Calculates fair rate of variance swap for given input implied vol curve
Based on paper
More Than You Ever Wanted To Know About Volatility Swaps by Derman et al
Note : This file requires the function
BlackScholesPriceUploaded a new version of the file as the previous version code was not matching the values reproduced in Table 1. Thanks to Taras and Caye for their valued suggestion in pointing out the problem!
Results are now matching the table 1 values , and final value of 20.467 is compared to the value mentioned on page 22
Note: there is no change in calcualtion procedure. The changes made are:
1. T is set to 90/365 instead of 0.25 earlier. (it is mentioned to be 3 months in the paper, and their calc. procedure assumed it to be 90/365 I suppose. )
2.Border strike values (50 put and 135 call) are also now considered for calculation of total
3.A new display matrix is added to verify results are reproduced