public class SwaptionWithComponents extends AbstractLIBORMonteCarloProduct
| Constructor and Description |
|---|
SwaptionWithComponents(double exerciseDate,
double[] fixingDates,
double[] paymentDates,
double[] swaprates) |
| Modifier and Type | Method and Description |
|---|---|
RandomVariable |
getValue(double evaluationTime,
LIBORModelMonteCarloSimulationModel 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, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedDatapublic SwaptionWithComponents(double exerciseDate,
double[] fixingDates,
double[] paymentDates,
double[] swaprates)
exerciseDate - The exercise datefixingDates - Vector of fixing datespaymentDates - Vector of payment dates (must have same length as fixing dates)swaprates - Vector of strikes (must have same length as fixing dates)public RandomVariable getValue(double evaluationTime, LIBORModelMonteCarloSimulationModel model) throws CalculationException
getValue in interface TermStructureMonteCarloProductgetValue in class AbstractLIBORMonteCarloProductevaluationTime - The time on which this products value should be observed.model - The model used to price the product.CalculationException - Thrown when valuation fails from valuation model.Copyright © 2019. All rights reserved.