public class OptionHelper
extends java.lang.Object
Constructor and Description |
---|
OptionHelper() |
Modifier and Type | Method and Description |
---|---|
static double |
IntegratedCrossVolQuanto(CurveSurfaceQuoteContainer csqs,
java.lang.String strCustomMetricLabel1,
java.lang.String strCustomMetricLabel2,
int iStartDate,
int iEndDate)
Compute the Integrated Cross Volatility Quanto Product given the corresponding volatility and the
correlation Curves and the date spans
|
static double |
IntegratedCrossVolQuanto(VolatilityCurve vc1,
VolatilityCurve vc2,
R1ToR1 r1r1Correlation,
int iStartDate,
int iEndDate)
Compute the Integrated Cross Volatility Quanto Product given the corresponding volatility and the
correlation curves, and the date spans
|
static double |
IntegratedFRACrossVolConvexityAdjuster(CurveSurfaceQuoteContainer csqs,
ForwardLabel forwardLabel,
FundingLabel fundingLabel,
double dblForwardShiftedLogNormalScaler,
double dblFundingShiftedLogNormalScaler,
int iStartDate,
int iEndDate)
Compute the Integrated FRA Cross Volatility Convexity Adjuster given the corresponding volatility and
the correlation Curves and the date spans
|
static double |
IntegratedFRACrossVolConvexityExponent(VolatilityCurve vcForward,
VolatilityCurve vcFunding,
R1ToR1 r1r1ForwardFundingCorrelation,
double dblForwardShiftedLogNormalScaler,
double dblFundingShiftedLogNormalScaler,
int iStartDate,
int iEndDate)
Compute the Integrated FRA Cross Volatility Convexity Exponent given the corresponding volatility and
the correlation Curves, and the date spans
|
static double |
IntegratedSurfaceVariance(CurveSurfaceQuoteContainer csqs,
java.lang.String strCustomMetricLabel,
int iStartDate,
int iEndDate)
Compute the Integrated Surface Variance given the corresponding volatility and the date spans
|
static double |
IntegratedSurfaceVariance(VolatilityCurve vc,
int iStartDate,
int iEndDate)
Compute the Integrated Surface Variance given the corresponding volatility and the date spans
|
static double |
MultiplicativeCrossVolQuanto(CurveSurfaceQuoteContainer csqs,
java.lang.String strCustomMetricLabel1,
java.lang.String strCustomMetricLabel2,
int iStartDate,
int iEndDate)
Compute the Multiplicative Cross Volatility Quanto Product given the corresponding volatility and the
correlation Curves, and the date spans
|
public static final double IntegratedSurfaceVariance(CurveSurfaceQuoteContainer csqs, java.lang.String strCustomMetricLabel, int iStartDate, int iEndDate) throws java.lang.Exception
csqs
- Market ParametersstrCustomMetricLabel
- Custom Metric LabeliStartDate
- Evolution Start DateiEndDate
- Evolution End Datejava.lang.Exception
- Thrown if inputs are invalidpublic static final double IntegratedSurfaceVariance(VolatilityCurve vc, int iStartDate, int iEndDate) throws java.lang.Exception
vc
- The Volatility CurveiStartDate
- Evolution Start DateiEndDate
- Evolution End Datejava.lang.Exception
- Thrown if inputs are invalidpublic static final double IntegratedCrossVolQuanto(VolatilityCurve vc1, VolatilityCurve vc2, R1ToR1 r1r1Correlation, int iStartDate, int iEndDate) throws java.lang.Exception
vc1
- Volatility Curve #1vc2
- Volatility Curve #2r1r1Correlation
- Correlation CurveiStartDate
- Evolution Start DateiEndDate
- Evolution End Datejava.lang.Exception
- Thrown if inputs are invalidpublic static final double IntegratedFRACrossVolConvexityExponent(VolatilityCurve vcForward, VolatilityCurve vcFunding, R1ToR1 r1r1ForwardFundingCorrelation, double dblForwardShiftedLogNormalScaler, double dblFundingShiftedLogNormalScaler, int iStartDate, int iEndDate) throws java.lang.Exception
vcForward
- Volatility Term Structure of the Funding RatevcFunding
- Volatility Term Structure of the Forward Rater1r1ForwardFundingCorrelation
- Correlation Term Structure between the Forward and the Funding
StatesdblForwardShiftedLogNormalScaler
- Scaling for the Forward Log Normal VolatilitydblFundingShiftedLogNormalScaler
- Scaling for the Funding Log Normal VolatilityiStartDate
- Evolution Start DateiEndDate
- Evolution End Datejava.lang.Exception
- Thrown if inputs are invalidpublic static final double IntegratedCrossVolQuanto(CurveSurfaceQuoteContainer csqs, java.lang.String strCustomMetricLabel1, java.lang.String strCustomMetricLabel2, int iStartDate, int iEndDate) throws java.lang.Exception
csqs
- Market ParametersstrCustomMetricLabel1
- Custom Metric Label #1strCustomMetricLabel2
- Custom Metric Label #2iStartDate
- Evolution Start DateiEndDate
- Evolution End Datejava.lang.Exception
- Thrown if inputs are invalidpublic static final double MultiplicativeCrossVolQuanto(CurveSurfaceQuoteContainer csqs, java.lang.String strCustomMetricLabel1, java.lang.String strCustomMetricLabel2, int iStartDate, int iEndDate) throws java.lang.Exception
csqs
- Market ParametersstrCustomMetricLabel1
- Custom Metric Label #1strCustomMetricLabel2
- Custom Metric Label #2iStartDate
- Evolution Start DateiEndDate
- Evolution End Datejava.lang.Exception
- Thrown if inputs are invalidpublic static final double IntegratedFRACrossVolConvexityAdjuster(CurveSurfaceQuoteContainer csqs, ForwardLabel forwardLabel, FundingLabel fundingLabel, double dblForwardShiftedLogNormalScaler, double dblFundingShiftedLogNormalScaler, int iStartDate, int iEndDate) throws java.lang.Exception
csqs
- Market ParametersforwardLabel
- Forward Latent State LabelfundingLabel
- Funding Latent State LabeldblForwardShiftedLogNormalScaler
- Scaling for the Forward Log Normal VolatilitydblFundingShiftedLogNormalScaler
- Scaling for the Funding Log Normal VolatilityiStartDate
- Evolution Start DateiEndDate
- Evolution End Datejava.lang.Exception
- Thrown if inputs are invalid