public static class InterestRateMonteCarloProductFactory.SwaptionPhysicalMonteCarlo extends AbstractLIBORMonteCarloProduct implements DescribedProduct<InterestRateSwaptionProductDescriptor>
| Constructor and Description |
|---|
SwaptionPhysicalMonteCarlo(InterestRateSwaptionProductDescriptor descriptor,
LocalDate referenceDate)
Create product from descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
InterestRateSwaptionProductDescriptor |
getDescriptor()
Return a product descriptor representing this product.
|
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 SwaptionPhysicalMonteCarlo(InterestRateSwaptionProductDescriptor descriptor, LocalDate referenceDate)
descriptor - The descriptor of the product.referenceDate - The reference date of the data for the valuation, used to convert absolute date to relative dates in double representation.public InterestRateSwaptionProductDescriptor getDescriptor()
DescribedProductgetDescriptor in interface DescribedProduct<InterestRateSwaptionProductDescriptor>public RandomVariable getValue(double evaluationTime, LIBORModelMonteCarloSimulationModel model) throws CalculationException
TermStructureMonteCarloProductgetValue 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 if the valuation fails, specific cause may be available via the cause() method.Copyright © 2019. All rights reserved.