Implied volatility surface

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Implied volatility surface

Sebastián Miranda

Hi,

I'm implementing a service that retrieves a file from an information provider with option's strike, term and price.
On the other side, I have the yield curve and the discrete dividends paid by the asset. With all this, I need to get the implied volatility surface using Black76...

I'm new with QuantLib and I'm stuck whit documentation because a can't get examples using the libraries....
So, please,  any tip about what class to use ( DividendVanillaOption , YieldTermStructure ??? ) will be really appreciated !!!
 
Thanks a lot.
 
Sebastián Miranda


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Implied volatility surface

Luigi Ballabio

On Mon, 2007-11-05 at 13:43 +0100, Sebastián Miranda wrote:
> I'm implementing a service that retrieves a file from an information
> provider with option's strike, term and price.
> On the other side, I have the yield curve and the discrete dividends
> paid by the asset. With all this, I need to get the implied volatility
> surface using Black76...

You can use the DividendVanillaOption class and its impliedVolatility()
method. An example is in test-suite/europeanoption.cpp; it's done with
VanillaOption, i.e., without discrete dividends, but you can adapt it to
an option with dividends.

Luigi


--

There's no sense in being precise when you don't even know what you're
talking about.
-- John von Neumann



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users