public abstract class AbstractLIBORMonteCarloProduct extends AbstractMonteCarloProduct
| Constructor and Description |
|---|
AbstractLIBORMonteCarloProduct() |
AbstractLIBORMonteCarloProduct(String currency) |
| Modifier and Type | Method and Description |
|---|---|
FactorDriftInterface |
getFactorDrift(LIBORModelMonteCarloSimulationInterface referenceScheme,
LIBORModelMonteCarloSimulationInterface targetScheme)
Overwrite this method if the product supplies a custom FactorDriftInterface to be used in proxy simulation.
|
abstract 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.
|
RandomVariableInterface |
getValue(double evaluationTime,
MonteCarloSimulationInterface model)
This method returns the value random variable of the product within the specified model, evaluated at a given evalutationTime.
|
RandomVariableInterface |
getValueForModifiedData(double evaluationTime,
MonteCarloSimulationInterface monteCarloSimulationInterface,
Map<String,Object> dataModified) |
Map<String,Object> |
getValues(double evaluationTime,
LIBORModelMonteCarloSimulationInterface model)
This method returns the valuation of the product within the specified model, evaluated at a given evalutationTime.
|
getCurrency, getValue, getValue, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic AbstractLIBORMonteCarloProduct(String currency)
currency - The currency of this product (may be null for "any currency").public AbstractLIBORMonteCarloProduct()
public abstract RandomVariableInterface getValue(double evaluationTime, LIBORModelMonteCarloSimulationInterface model) throws CalculationException
evaluationTime - 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 RandomVariableInterface getValueForModifiedData(double evaluationTime, MonteCarloSimulationInterface monteCarloSimulationInterface, Map<String,Object> dataModified) throws CalculationException
CalculationExceptionpublic Map<String,Object> getValues(double evaluationTime, LIBORModelMonteCarloSimulationInterface model) throws CalculationException
evaluationTime - 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 RandomVariableInterface getValue(double evaluationTime, MonteCarloSimulationInterface model) throws CalculationException
AbstractMonteCarloProductgetValue in class AbstractMonteCarloProductevaluationTime - 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 FactorDriftInterface getFactorDrift(LIBORModelMonteCarloSimulationInterface referenceScheme, LIBORModelMonteCarloSimulationInterface targetScheme)
referenceScheme - The reference schemetargetScheme - The target schemeCopyright © 2017. All rights reserved.