public class BermudanSwaption extends AbstractLIBORMonteCarloProduct
LIBORModelMonteCarloSimulationInterface| Constructor and Description |
|---|
BermudanSwaption(boolean[] isPeriodStartDateExerciseDate,
double[] fixingDates,
double[] periodLength,
double[] paymentDates,
double[] periodNotionals,
double[] swaprates) |
| Modifier and Type | Method and Description |
|---|---|
MonteCarloConditionalExpectation |
getConditionalExpectationEstimator(double fixingDate,
LIBORModelMonteCarloSimulationInterface model)
Return the conditional expectation estimator suitable for this product.
|
RandomVariableInterface |
getValue(double evaluationTime,
LIBORModelMonteCarloSimulationInterface model)
This method returns the value random variable of the product within the specified model, evaluated at a given evalutationTime.
|
getFactorDrift, getValue, getValueForModifiedData, getValuesgetCurrency, getValue, getValue, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic BermudanSwaption(boolean[] isPeriodStartDateExerciseDate,
double[] fixingDates,
double[] periodLength,
double[] paymentDates,
double[] periodNotionals,
double[] swaprates)
isPeriodStartDateExerciseDate - If true, we may exercise at period startfixingDates - Vector of fixing datesperiodLength - Period lengths (must have same length as fixing dates)paymentDates - Vector of payment dates (must have same length as fixing dates)periodNotionals - Period notionals (must have same length as fixing dates)swaprates - Vector of strikes (must have same length as fixing dates)public RandomVariableInterface getValue(double evaluationTime, LIBORModelMonteCarloSimulationInterface model) throws CalculationException
getValue in class AbstractLIBORMonteCarloProductevaluationTime - The time on which this products value should be observed.model - The model used to price the product.CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.public MonteCarloConditionalExpectation getConditionalExpectationEstimator(double fixingDate, LIBORModelMonteCarloSimulationInterface model) throws CalculationException
fixingDate - The condition time.model - The modelCalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Copyright © 2017. All rights reserved.