public class SwaptionSingleCurveAnalyticApproximation extends AbstractLIBORMonteCarloProduct
| Modifier and Type | Class and Description |
|---|---|
static class |
SwaptionSingleCurveAnalyticApproximation.ValueUnit |
| Constructor and Description |
|---|
SwaptionSingleCurveAnalyticApproximation(double swaprate,
double[] swapTenor,
SwaptionSingleCurveAnalyticApproximation.ValueUnit valueUnit)
Create an analytic swaption approximation product for
log normal forward rate model.
|
SwaptionSingleCurveAnalyticApproximation(double swaprate,
TimeDiscretizationInterface swapTenor)
Create an analytic swaption approximation product for
log normal forward rate model.
|
| Modifier and Type | Method and Description |
|---|---|
static double[][][] |
getIntegratedLIBORCovariance(LIBORMarketModel model) |
static Map<String,double[]> |
getLogSwaprateDerivative(TimeDiscretizationInterface liborPeriodDiscretization,
ForwardCurveInterface forwardCurveInterface,
double[] swapTenor)
This function calculate the partial derivative d log(S) / d log(Lk) for
a given swap rate with respect to a vector of forward rates (on a given forward rate tenor).
|
RandomVariableInterface |
getValue(double evaluationTime,
LIBORModelMonteCarloSimulationInterface model)
This method returns the value random variable of the product within the specified model, evaluated at a given evalutationTime.
|
RandomVariableInterface |
getValues(double evaluationTime,
LIBORMarketModelInterface model)
Calculates the approximated integrated instantaneous variance of the swap rate,
using the approximation d log(S(t))/d log(L(t)) = d log(S(0))/d log(L(0)).
|
getFactorDrift, getValue, getValueForModifiedData, getValuesgetCurrency, getValue, getValue, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic SwaptionSingleCurveAnalyticApproximation(double swaprate,
TimeDiscretizationInterface swapTenor)
swaprate - The strike swap rate of the swaption.swapTenor - The swap tenor in doubles.public SwaptionSingleCurveAnalyticApproximation(double swaprate,
double[] swapTenor,
SwaptionSingleCurveAnalyticApproximation.ValueUnit valueUnit)
swaprate - The strike swap rate of the swaption.swapTenor - The swap tenor in doubles.valueUnit - The unit of the quantity returned by the getValues method.public RandomVariableInterface getValue(double evaluationTime, LIBORModelMonteCarloSimulationInterface model)
AbstractLIBORMonteCarloProductgetValue in class AbstractLIBORMonteCarloProductevaluationTime - The time on which this products value should be observed.model - The model used to price the product.public RandomVariableInterface getValues(double evaluationTime, LIBORMarketModelInterface model)
evaluationTime - Time at which the product is evaluated.model - A model implementing the LIBORModelMonteCarloSimulationInterfacepublic static Map<String,double[]> getLogSwaprateDerivative(TimeDiscretizationInterface liborPeriodDiscretization, ForwardCurveInterface forwardCurveInterface, double[] swapTenor)
liborPeriodDiscretization - The libor period discretization.forwardCurveInterface - The forward curve.swapTenor - The swap tenor.public static double[][][] getIntegratedLIBORCovariance(LIBORMarketModel model)
Copyright © 2017. All rights reserved.