Black Vega
Posted by
Peter Caspers-4 on
Nov 12, 2012; 10:49am
URL: http://quantlib.414.s1.nabble.com/Black-Vega-tp9359.html
Hi,
in blackformula.cpp , blackFormulaStdDevDerivative(...) the limit case stdDev == 0.0 seems to be treated false, lines 307ff
if (stdDev==0.0) {
if (forward>strike)
return discount * forward;
else
return 0.0;
}
should be
if (stdDev==0.0) return 0.0;
because \phi(x) -> 0 whenever |x| -> \infty, right ?
Thanks
Peter
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev