public interface MonteCarloProduct extends Product
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrency()
Returns the currency string of this product.
|
Object |
getValue(double evaluationTime,
Model model)
Return the valuation of the product using the given model.
|
RandomVariable |
getValue(double evaluationTime,
MonteCarloSimulationModel model)
This method returns the value random variable of the product within the specified model, evaluated at a given evalutationTime.
|
double |
getValue(MonteCarloSimulationModel model)
This method returns the value of the product under the specified model.
|
Map<String,Object> |
getValues(double evaluationTime,
Model model)
Return the valuation of the product using the given model.
|
Map<String,Object> |
getValues(double evaluationTime,
MonteCarloSimulationModel model)
This method returns the value of the product under the specified model and other information in a key-value map.
|
Map<String,Object> |
getValues(MonteCarloSimulationModel model)
This method returns the value of the product under the specified model and other information in a key-value map.
|
Map<String,Object> |
getValuesForModifiedData(double evaluationTime,
MonteCarloSimulationModel model,
Map<String,Object> dataModified)
This method returns the value under shifted market data (or model parameters).
|
Map<String,Object> |
getValuesForModifiedData(double evaluationTime,
MonteCarloSimulationModel model,
String entityKey,
Object dataModified)
This method returns the value under shifted market data (or model parameters).
|
Map<String,Object> |
getValuesForModifiedData(MonteCarloSimulationModel model,
Map<String,Object> dataModified)
This method returns the value under shifted market data (or model parameters).
|
Map<String,Object> |
getValuesForModifiedData(MonteCarloSimulationModel model,
String entityKey,
Object dataModified)
This method returns the value under shifted market data (or model parameters).
|
String getCurrency()
Object getValue(double evaluationTime, Model model)
ProductMap<String,Object> getValues(double evaluationTime, Model model)
ProductRandomVariable getValue(double evaluationTime, MonteCarloSimulationModel 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.double getValue(MonteCarloSimulationModel model) throws CalculationException
model - A model used to evaluate the product.CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Map<String,Object> getValues(double evaluationTime, MonteCarloSimulationModel model) throws CalculationException
evaluationTime - The time on which this products value should be observed.model - A model used to evaluate the product.CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Map<String,Object> getValuesForModifiedData(double evaluationTime, MonteCarloSimulationModel model, Map<String,Object> dataModified) throws CalculationException
evaluationTime - The time on which this products value should be observed.model - The model used to price the product, except for the market data to modifydataModified - The new market data object to use (could be of different types)CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Map<String,Object> getValuesForModifiedData(double evaluationTime, MonteCarloSimulationModel model, String entityKey, Object dataModified) throws CalculationException
evaluationTime - The time on which this products value should be observed.model - The model used to price the product, except for the market data to modifyentityKey - The entity to change, it depends on the model if the model reacts to this key.dataModified - The new market data object to use (could be of different types)CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Map<String,Object> getValues(MonteCarloSimulationModel model) throws CalculationException
model - A model used to evaluate the product.CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Map<String,Object> getValuesForModifiedData(MonteCarloSimulationModel model, Map<String,Object> dataModified) throws CalculationException
model - The model used to price the product, except for the market data to modifydataModified - The new market data object to use (could be of different types)CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Map<String,Object> getValuesForModifiedData(MonteCarloSimulationModel model, String entityKey, Object dataModified) throws CalculationException
model - The model used to price the product, except for the market data to modifyentityKey - The entity to change, it depends on the model if the model reacts to this key.dataModified - The new market data object to use (could be of different types)CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Copyright © 2019. All rights reserved.