On Oct 3, 2008, at 7:04 PM, nabbleuser2008 wrote:
> I'm looking at BlackVarianceSurface class in order to construct an
> implied
> volatility surface from the exchange listed options.
>
> Problem I'm having is that the option strikes across multiple
> maturities
> are not the same, i.e., for different maturities, not only the
> listed strike
> ranges are different, but the difference between the strikes also
> different.
>
> BlackVarianceSurface does not seem to handle that. Any suggestions
> how I
> can do that ..
If the strikes follow some kind of regular grid (say, -20%, -10%, 0%,
10%, 20% around the price) you can write a class similar to
BlackVarianceSurface and interpolate over that grid (of course, you'll
also have to convert between strike and grid coordinate.)
If there's no regular grid, that's more of a showstopper--I'm afraid
we have no facility to interpolate between a set of irregular points...
Luigi
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users