[R-SIG-Finance] RQuantLib - Options value at maturity

Kris kk2250 at optonline.net
Fri Apr 18 22:30:13 CEST 2014


A workaround is instead of maturity =0, pass something very close to zero e.g.  maturity=1e-14 

Cheers
Krishna



> On Apr 17, 2014, at 8:54 AM, Pedro Baltazar <pedrobtz at gmail.com> wrote:
> 
> Hello,
> 
> why this package gives the value zero, and not (underlying - strike) =
> 50, at maturity?
> 
>> EuropeanOption("call", underlying=150, strike=100, dividendYield=0.00, riskFreeRate=0.03, maturity=0.0,volatility=0.2)
> Concise summary of valuation for EuropeanOption
> value  delta  gamma   vega  theta    rho divRho
>     0      0      0      0      0      0      0
> 
> Thanks
> 
> -- 
> Pedro Baltazar
> 
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list