Package org.drip.state.creator
Class ScenarioDeterministicVolatilityBuilder
java.lang.Object
org.drip.state.creator.ScenarioDeterministicVolatilityBuilder
public class ScenarioDeterministicVolatilityBuilder
extends java.lang.Object
ScenarioDeterministicVolatilityBuilder implements the construction of the basis spline
deterministic volatility term structure using the input instruments and their quotes. It exposes the
following Functions:
- Construct the Deterministic Volatility Term Structure Instance using the specified Custom Spline
- Construct the Deterministic Volatility Term Structure Instance based off of a Cubic Polynomial Spline
- Construct the Deterministic Volatility Term Structure Instance based off of a Quartic Polynomial Spline
- Construct the Deterministic Volatility Term Structure Instance based off of a Kaklis-Pandelis Polynomial Tension Spline
- Construct the Deterministic Volatility Term Structure Instance based off of a KLK Hyperbolic Tension Spline
- Construct the Deterministic Volatility Term Structure Instance based off of a KLK Rational Linear Tension Spline
- Construct the Deterministic Volatility Term Structure Instance based off of a KLK Rational Quadratic Tension Spline
- Construct the Flat Constant Forward Volatility Forward Curve
Module | Product Core Module |
Library | Fixed Income Analytics |
Project | Latent State Inference and Creation Utilities |
Package | Scenario State Curve/Surface Builders |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ScenarioDeterministicVolatilityBuilder()
-
Method Summary
Modifier and Type Method Description static VolatilityCurve
CubicPolynomialTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray)
Construct the Deterministic Volatility Term Structure Instance based off of a Cubic Polynomial Splinestatic VolatilityCurve
CustomSplineTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, int[] dateArray, double[] impliedVolatilityArray, SegmentCustomBuilderControl segmentCustomBuilderControl)
Construct the Deterministic Volatility Term Structure Instance using the specified Custom Splinestatic VolatilityCurve
FlatForward(int epochDate, VolatilityLabel volatilityLabel, java.lang.String currency, double flatVolatility)
Construct the Flat Constant Forward Volatility Forward Curvestatic VolatilityCurve
KaklisPandelisTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray)
Construct the Deterministic Volatility Term Structure Instance based off of a Kaklis-Pandelis Polynomial Tension Splinestatic VolatilityCurve
KLKHyperbolicTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray, double tension)
Construct the Deterministic Volatility Term Structure Instance based off of a KLK Hyperbolic Tension Splinestatic VolatilityCurve
KLKRationalLinearTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray, double tension)
Construct the Deterministic Volatility Term Structure Instance based off of a KLK Rational Linear Tension Splinestatic VolatilityCurve
KLKRationalQuadraticTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray, double tension)
Construct the Deterministic Volatility Term Structure Instance based off of a KLK Rational Quadratic Tension Splinestatic VolatilityCurve
QuarticPolynomialTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray)
Construct the Deterministic Volatility Term Structure Instance based off of a Quartic Polynomial SplineMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScenarioDeterministicVolatilityBuilder
public ScenarioDeterministicVolatilityBuilder()
-
-
Method Details
-
CustomSplineTermStructure
public static final VolatilityCurve CustomSplineTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, int[] dateArray, double[] impliedVolatilityArray, SegmentCustomBuilderControl segmentCustomBuilderControl)Construct the Deterministic Volatility Term Structure Instance using the specified Custom Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencydateArray
- Array of DatesimpliedVolatilityArray
- Array of Implied Volatility NodessegmentCustomBuilderControl
- Segment Custom Builder Parameters- Returns:
- Instance of the Term Structure
-
CubicPolynomialTermStructure
public static final VolatilityCurve CubicPolynomialTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray)Construct the Deterministic Volatility Term Structure Instance based off of a Cubic Polynomial Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsimpliedVolatilityArray
- Array of Implied Volatility Nodes- Returns:
- The Deterministic Volatility Term Structure Instance based off of a Cubic Polynomial Spline
-
QuarticPolynomialTermStructure
public static final VolatilityCurve QuarticPolynomialTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray)Construct the Deterministic Volatility Term Structure Instance based off of a Quartic Polynomial Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsimpliedVolatilityArray
- Array of Implied Volatility Nodes- Returns:
- The Deterministic Volatility Term Structure Instance based off of a Quartic Polynomial Spline
-
KaklisPandelisTermStructure
public static final VolatilityCurve KaklisPandelisTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray)Construct the Deterministic Volatility Term Structure Instance based off of a Kaklis-Pandelis Polynomial Tension Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsimpliedVolatilityArray
- Array of Implied Volatility Nodes- Returns:
- The Deterministic Volatility Term Structure Instance based off of a Kaklis-Pandelis Polynomial Tension Spline
-
KLKHyperbolicTermStructure
public static final VolatilityCurve KLKHyperbolicTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray, double tension)Construct the Deterministic Volatility Term Structure Instance based off of a KLK Hyperbolic Tension Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsimpliedVolatilityArray
- Array of Implied Volatility Nodestension
- Tension- Returns:
- The Deterministic Volatility Term Structure Instance based off of a KLK Hyperbolic Tension Spline
-
KLKRationalLinearTermStructure
public static final VolatilityCurve KLKRationalLinearTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray, double tension)Construct the Deterministic Volatility Term Structure Instance based off of a KLK Rational Linear Tension Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsimpliedVolatilityArray
- Array of Implied Volatility Nodestension
- Tension- Returns:
- The Deterministic Volatility Term Structure Instance based off of a KLK Rational Linear Tension Spline
-
KLKRationalQuadraticTermStructure
public static final VolatilityCurve KLKRationalQuadraticTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] impliedVolatilityArray, double tension)Construct the Deterministic Volatility Term Structure Instance based off of a KLK Rational Quadratic Tension Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsimpliedVolatilityArray
- Array of Implied Volatility Nodestension
- Tension- Returns:
- The Deterministic Volatility Term Structure Instance based off of a KLK Rational Quadratic Tension Spline
-
FlatForward
public static final VolatilityCurve FlatForward(int epochDate, VolatilityLabel volatilityLabel, java.lang.String currency, double flatVolatility)Construct the Flat Constant Forward Volatility Forward Curve- Parameters:
epochDate
- Epoch DatevolatilityLabel
- Forward Volatility Labelcurrency
- CurrencyflatVolatility
- Flat Volatility- Returns:
- The Volatility Curve Instance
-