public RandomVariable getImpliedBachelierATMOptionVolatility ( RandomVariable optionValue , double optionMaturity , double swapAnnuity ) { return optionValue . average ( ) . mult ( Math . sqrt ( 2.0 * Math . PI / optionMaturity ) / swapAnnuity ) ; }
Calculates ATM Bachelier implied volatilities .