public class ProductIndex extends AbstractIndex
| Constructor and Description |
|---|
ProductIndex(AbstractIndex index1,
AbstractIndex index2)
Create a performance index being numeratorIndex(t) / denominatorIndex(t)
|
| 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.
|
Set<String> |
queryUnderlyings()
Returns a set of underlying names referenced by this product component (i.e., required for valuation) or null if none.
|
getNamegetExecutor, getValuesgetFactorDrift, getValue, getValueForModifiedDatagetCurrency, 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 ProductIndex(AbstractIndex index1, AbstractIndex index2)
index1 - First index.index2 - Second index.public RandomVariable getValue(double evaluationTime, LIBORModelMonteCarloSimulationModel model) throws CalculationException
TermStructureMonteCarloProductgetValue in interface TermStructureMonteCarloProductgetValue in class AbstractIndexevaluationTime - 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 Set<String> queryUnderlyings()
AbstractProductComponentqueryUnderlyings in class AbstractProductComponentCopyright © 2019. All rights reserved.