public class BermudanOption extends AbstractAssetMonteCarloProduct
| Modifier and Type | Class and Description |
|---|---|
static class |
BermudanOption.ExerciseMethod |
| Constructor and Description |
|---|
BermudanOption(double[] exerciseDates,
double[] notionals,
double[] strikes)
Create a Bermudan option paying
N(i) * (S(T(i)) - K(i)) at T(i),
when exercised in T(i), where N(i) is the notional, S is the underlying, K(i) is the strike
and T(i) the exercise date.
|
BermudanOption(double[] exerciseDates,
double[] notionals,
double[] strikes,
BermudanOption.ExerciseMethod exerciseMethod)
Create a Bermudan option paying
N(i) * (S(T(i)) - K(i)) at T(i),
when exercised in T(i), where N(i) is the notional, S is the underlying, K(i) is the strike
and T(i) the exercise date.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getExerciseDates() |
RandomVariable |
getLastValuationExerciseTime() |
double[] |
getNotionals() |
double[] |
getStrikes() |
RandomVariable |
getValue(double evaluationTime,
AssetModelMonteCarloSimulationModel model)
This method returns the value random variable of the product within the specified model,
evaluated at a given evalutationTime.
|
getValuegetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic BermudanOption(double[] exerciseDates,
double[] notionals,
double[] strikes,
BermudanOption.ExerciseMethod exerciseMethod)
exerciseDates - The exercise dates (T(i)), given as doubles.notionals - The notionals (N(i)) for each exercise date.strikes - The strikes (K(i)) for each exercise date.exerciseMethod - The exercise method to be used for the estimation of the exercise boundary.public BermudanOption(double[] exerciseDates,
double[] notionals,
double[] strikes)
exerciseDates - The exercise dates (T(i)), given as doubles.notionals - The notionals (N(i)) for each exercise date.strikes - The strikes (K(i)) for each exercise date.public RandomVariable getValue(double evaluationTime, AssetModelMonteCarloSimulationModel model) throws CalculationException
getValue in interface AssetMonteCarloProductgetValue in class AbstractAssetMonteCarloProductevaluationTime - 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 RandomVariable getLastValuationExerciseTime()
public double[] getExerciseDates()
public double[] getNotionals()
public double[] getStrikes()
Copyright © 2019. All rights reserved.