[QuantLibXL] Swaption greeks

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

[QuantLibXL] Swaption greeks

Matteo Castagna
How can I get greeks from a qlSwaption() object? I tried qlDelta,
qlGamma etc. etc. but an error is returned:
 
ERROR - qlDelta - [BlackVolaFlat.xls]Sheet1!$I$20 - Error retrieving
object with id 'TESTSwpt#0001' - unable to convert reference to type
'class QuantLibAddin::OneAssetOption'
 
qlNPV looks fine so I guess I defined the object correctly.
 
Thanks. Matteo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sourceforge.net/mailarchive/forum.php?forum=quantlib-users/attachments/20061228/1bc32a5b/attachment.html 

Reply | Threaded
Open this post in threaded view
|

Re: [QuantLibXL] Swaption greeks

eric ehlers
Hi Matteo,

Those greek functions qlDelta(), qlVega() et al are implemented for
options only.

regards,
Eric

On 12/28/06, Matteo Castagna <[hidden email]> wrote:

> How can I get greeks from a qlSwaption() object? I tried qlDelta,
> qlGamma etc. etc. but an error is returned:
>
> ERROR - qlDelta - [BlackVolaFlat.xls]Sheet1!$I$20 - Error retrieving
> object with id 'TESTSwpt#0001' - unable to convert reference to type
> 'class QuantLibAddin::OneAssetOption'
>
> qlNPV looks fine so I guess I defined the object correctly.
>
> Thanks. Matteo
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://sourceforge.net/mailarchive/forum.php?forum=quantlib-users/attachments/20061228/1bc32a5b/attachment.html
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>