Skip to content
Prev 6876 / 15274 Next

Barrier options

Thanks everyone for showing interest on my problem. On installing QL I feel
some problems are there for vista+2.12.0 combination. I could install
perfectly in xp+2.10.1 machine without any problem. However I used rmetrics
package for valuation of barrier option.

But in fExoticOptions package there seems to be no option to find greeks of
barrier option. BarrierOption() function of RQuantLib() has option for
sensitivity as well, however all the examples I have tried give NaN value
for sensitivity:
+              strike=100, dividendYield=0.02, riskFreeRate=0.03,
+              maturity=0.5, volatility=0.4, barrier=90)
Concise summary of valuation for BarrierOption 
 value  delta  gamma   vega  theta    rho divRho 
3.7383    NaN    NaN    NaN    NaN    NaN    NaN 


Can anyone help me to calculate greeks as well for Barrier option?

Thanks,