Hello all,
I recently started using quantlib and I’m trying to calculate values for a quanto vanilla option (price, delta, vegas w.r.t to volatilities of asset and of fx rate, etc) – I could not find much information about quantlib
quanto classes online.
I’m using a SWIG compilation of quantlib with C#. I instantiated a
QuantoVanillaOption
class together with a
QuantoEuropeanEngine on a
GeneralizedBlackScholesProcess. It yields the correct price with the .NPV() method, however I cannot get it to
calculate the normal greeks (.vega(), .delta(), .gamma(), .dividendrho()) – it throws an exception; only q-greeks – namely qrho, qvega, qlambda – calculate without exception, although I confess I don’t know exactly that they are (are they rho and vega with
respect to the foreign rate and foreign vol?).
What am I doing wrong? How can I calculate the normal greeks for a quanto vanilla option with quantlib?
Many thanks,
Pedro Milet
Free forum by Nabble | Disable Popup Ads | Edit this page |