Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

Real QuantLib::blackFormulaCashItmProbability ( const boost::shared_ptr< PlainVanillaPayoff > &  payoff,
Real  forward,
Real  stdDev,
Real  displacement = 0.0 

Black 1976 probability of being in the money (in the bond martingale measure), i.e. N(d2). It is a risk-neutral probability, not the real world one.

instead of volatility it uses standard deviation, i.e. volatility*sqrt(timeToMaturity)

Definition at line 262 of file blackformula.cpp.

References blackFormulaCashItmProbability().

        return blackFormulaCashItmProbability(payoff->optionType(),
            payoff->strike(), forward, stdDev , displacement);

Generated by  Doxygen 1.6.0   Back to index