impl. vol for vanilla option

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

impl. vol for vanilla option

financial engineer
hi,

to solve for the implied volatility of an equity vanilla option (European/American), is my best bet to use the i m p l i e d V o l P r o b l e m ().

thanks!


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: impl. vol for vanilla option

Luigi Ballabio
On Thu, 2011-08-18 at 16:51 -0400, financial engineer wrote:
> to solve for the implied volatility of an equity vanilla option
> (European/American), is my best bet to use the i m p l i e d V o l P r
> o b l e m ().

You can use the impliedVolatility() model of the VanillaOption class.
See test-suite/europeanoption.cpp for an example.

Luigi



--

I've finally learned what `upward compatible' means. It means we
get to keep all our old mistakes.
-- Dennie van Tassel



------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users