public class SwaptionSimple extends AbstractLIBORMonteCarloProduct implements Swaption
Swaption.ValueUnit| Constructor and Description |
|---|
SwaptionSimple(double swaprate,
double[] swapTenor,
Swaption.ValueUnit valueUnit)
Note: It is implicitly assumed that swapTenor[0] is the exercise date (no forward starting).
|
SwaptionSimple(double swaprate,
TimeDiscretization swapTenor)
Note: It is implicitly assumed that swapTenor[0] is the exercise date (no forward starting).
|
| 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.
|
String |
toString() |
getFactorDrift, getValue, getValueForModifiedData, getValuesgetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedDatapublic SwaptionSimple(double swaprate,
TimeDiscretization swapTenor)
swaprate - The strike swaprate of the swaption.swapTenor - The swap tenor in doubles.public SwaptionSimple(double swaprate,
double[] swapTenor,
Swaption.ValueUnit valueUnit)
swaprate - The strike swaprate of the swaption.swapTenor - The swap tenor in doubles.valueUnit - See getValue(AbstractLIBORMarketModel model)public 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.public String toString()
toString in class AbstractMonteCarloProductCopyright © 2019. All rights reserved.