Hi QL people
Have a simple problem. Could someone show me how to build a vol-matrix with the code?. Also how do I find the implied vol for a vanilla stock option?. |
For the implied vol I use something like:
EuropeanOption Europeanoptioniv(Option::Call,underlyingPrice,strike,dividend,0.03,maturity,implvol); // return the implied vol std::cout<<"OPTION IMPLIED VOL= " <<Europeanoptioniv.impliedVolatility(price)<<std::endl; "ku pao" <[hidden email]> To: [hidden email] Sent by: cc: [hidden email] Subject: [Quantlib-users] Implied volatility ?? eforge.net 13/08/2003 22:46 Please respond to karmakong Hi QL people Have a simple problem. Could someone show me how to build a vol-matrix with the code?. Also how do I find the implied vol for a vanilla stock option?. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Quantlib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users ************************************************************************* Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. La Fimat et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. ******** This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither Fimat nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ************************************************************************* |
Free forum by Nabble | Edit this page |