QLXL - Swaption Greeks

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

QLXL - Swaption Greeks

Circo Giuseppe (DAM)
Hi all,

I would like to compute greeks of a given swaption with
qlInstrumentResults

The only value a can extract is vega. Others (theta, gamma, delta) are
not provided. Could someone enumerate what is result type is available
and if needed how to find other greeks?

Thank you for your help,

Ciao,

-------------------------------------------------------------------------
Dexia disclaimer:

http://www.dexia.com/maildisclaimer.htm
-------------------------------------------------------------------------


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: QLXL - Swaption Greeks

Luigi Ballabio
On Thu, 2010-07-15 at 12:07 +0200, Circo Giuseppe (DAM) wrote:
> I would like to compute greeks of a given swaption with
> qlInstrumentResults
>
> The only value a can extract is vega. Others (theta, gamma, delta) are
> not provided. Could someone enumerate what is result type is available
> and if needed how to find other greeks?

For most swaption engines, all you get is the value.
For the Black engine, you can see what results are available in
<ql/pricingengines/swaption/blackswaptionengine.cpp> (look for anything
that is stored in the results_ structure and its additionalResults data
member.  If you don't have the library sources, you can look at
<http://quantlib.svn.sourceforge.net/viewvc/quantlib/trunk/QuantLib/ql/pricingengines/swaption/blackswaptionengine.cpp?revision=HEAD&view=markup>.

Luigi


--

Skinner's Constant (or Flannagan's Finagling Factor):
That quantity which, when multiplied by, divided by, added to,
or subtracted from the answer you got, gives you the answer you
should have gotten.



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users