public class IndexedValue extends AbstractProductComponent
| 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 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.
|
Set<String> |
queryUnderlyings()
Returns a set of underlying names referenced by this product component (i.e., required for valuation) or null if none.
|
getExecutor, getValuesgetFactorDrift, getValue, getValueForModifiedDatagetValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedDatapublic 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()
MonteCarloProductgetCurrency in interface MonteCarloProductgetCurrency in class AbstractMonteCarloProductpublic Set<String> queryUnderlyings()
AbstractProductComponentqueryUnderlyings in class AbstractProductComponentpublic 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 if the valuation fails, specific cause may be available via the cause() method.Copyright © 2019. All rights reserved.