public class IndexedValue extends AbstractProductComponent
executor| Constructor and Description |
|---|
IndexedValue(double exerciseDate,
AbstractProductComponent index,
AbstractProductComponent underlying)
Creates the function J(t) V(t), where J(t) = E(I(t)|F_t) for the given I(t).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrency()
Returns the currency string of this notional.
|
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.
|
Set<String> |
queryUnderlyings()
Returns a set of underlying names referenced by this product component (i.e., required for valuation) or null if none.
|
getValuesgetFactorDrift, getValue, getValueForModifiedDatagetValue, getValue, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic IndexedValue(double exerciseDate,
AbstractProductComponent index,
AbstractProductComponent underlying)
exerciseDate - The time t at which the index I is requested (and to which it is conditioned if necessary).index - The index I.underlying - The value V.public String getCurrency()
AbstractMonteCarloProductgetCurrency in class AbstractMonteCarloProductpublic Set<String> queryUnderlyings()
AbstractProductComponentqueryUnderlyings in class AbstractProductComponentpublic 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.Copyright © 2017. All rights reserved.