public class DigitalCaplet extends AbstractLIBORMonteCarloProduct
LIBORModelMonteCarloSimulationModel.
The digital caplet pays periodLength if L > K and else 0.
Here L = L(Ti,Ti+1;t) is the
forward rate with period start Ti
and period end Ti+1 and fixing t.
K denotes the strike rate.| Constructor and Description |
|---|
DigitalCaplet(double optionMaturity,
double periodStart,
double periodEnd,
double strike)
Create a digital caplet with given maturity and strike.
|
| 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.
|
getFactorDrift, getValue, getValueForModifiedData, getValuesgetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedDatapublic DigitalCaplet(double optionMaturity,
double periodStart,
double periodEnd,
double strike)
optionMaturity - The option maturity.periodStart - The period start of the forward rate.periodEnd - The period end of the forward rate.strike - The strike rate.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.Copyright © 2019. All rights reserved.