public class SwaptionATM extends AbstractLIBORMonteCarloProduct
| Constructor and Description |
|---|
SwaptionATM(double[] swapTenor,
SwaptionSimple.ValueUnit valueUnit) |
| Modifier and Type | Method and Description |
|---|---|
RandomVariableInterface |
getImpliedBachelierATMOptionVolatility(RandomVariableInterface optionValue,
double optionMaturity,
double swapAnnuity)
Calculates ATM Bachelier implied volatilities.
|
RandomVariableInterface |
getValue(double evaluationTime,
LIBORModelMonteCarloSimulationInterface model) |
getFactorDrift, getValue, getValueForModifiedData, getValuesgetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic SwaptionATM(double[] swapTenor,
SwaptionSimple.ValueUnit valueUnit)
public RandomVariableInterface getValue(double evaluationTime, LIBORModelMonteCarloSimulationInterface model) throws CalculationException
getValue in class AbstractLIBORMonteCarloProductCalculationExceptionpublic RandomVariableInterface getImpliedBachelierATMOptionVolatility(RandomVariableInterface optionValue, double optionMaturity, double swapAnnuity)
optionValue - RandomVarable representing the value of the optionoptionMaturity - Time to maturity.swapAnnuity - The swap annuity as seen on valuation time.AnalyticFormulas.bachelierOptionImpliedVolatility(double, double, double, double, double)Copyright © 2018. All rights reserved.