Package org.drip.state.creator
Class ScenarioRepoCurveBuilder
java.lang.Object
org.drip.state.creator.ScenarioRepoCurveBuilder
public class ScenarioRepoCurveBuilder
extends java.lang.Object
ScenarioRepoCurveBuilder implements the Construction of the Scenario Repo Curve using the Input
Instruments and their Quotes. It implements the following Functions:
- Create an Instance of the Custom Splined Repo Curve
- Create an Instance of the Cubic Polynomial Splined Repo Curve
- Create an Instance of the Quartic Polynomial Splined Repo Curve
- Create an Instance of the Kaklis-Pandelis Splined Repo Curve
- Create an Instance of the KLK Hyperbolic Splined Repo Curve
- Create an Instance of the KLK Rational Linear Splined Repo Curve
- Create an Instance of the KLK Rational Quadratic Splined Repo Curve
- Construct a Repo Curve using the Flat Repo Rate
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 ScenarioRepoCurveBuilder()
-
Method Summary
Modifier and Type Method Description static RepoCurve
CubicPolynomialRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray)
Create an Instance of the Cubic Polynomial Splined Repo Curvestatic RepoCurve
CustomSplineRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray, SegmentCustomBuilderControl segmentCustomBuilderControl)
Create an Instance of the Custom Splined Repo Curvestatic RepoCurve
FlatRateRepoCurve(JulianDate spotDate, Component component, double repoRate)
Construct a Repo Curve using the Flat Repo Ratestatic RepoCurve
KaklisPandelisRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray)
Create an Instance of the Kaklis-Pandelis Splined Repo Curvestatic RepoCurve
KLKHyperbolicRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray, double tension)
Create an Instance of the KLK Hyperbolic Splined Repo Curvestatic RepoCurve
KLKRationalLinearRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray, double tension)
Create an Instance of the KLK Rational Linear Splined Repo Curvestatic RepoCurve
KLKRationalQuadraticRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray, double tension)
Create an Instance of the KLK Rational Quadratic Splined Repo Curvestatic RepoCurve
QuarticPolynomialRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray)
Create an Instance of the Quartic Polynomial Splined Repo CurveMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScenarioRepoCurveBuilder
public ScenarioRepoCurveBuilder()
-
-
Method Details
-
CustomSplineRepoCurve
public static final RepoCurve CustomSplineRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray, SegmentCustomBuilderControl segmentCustomBuilderControl)Create an Instance of the Custom Splined Repo Curve- Parameters:
name
- Curve NamespotDate
- The Spot Datecomponent
- The Underlying Repo ComponentdateArray
- Array of the DatesrepoRateArray
- Array of the Repo RatessegmentCustomBuilderControl
- The Segment Custom Builder Control- Returns:
- The Instance of the Custom Splined Repo Curve
-
CubicPolynomialRepoCurve
public static final RepoCurve CubicPolynomialRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray)Create an Instance of the Cubic Polynomial Splined Repo Curve- Parameters:
name
- Curve NamespotDate
- The Spot Datecomponent
- The Underlying Repo ComponentdateArray
- Array of the DatesrepoRateArray
- Array of the Repo Rates- Returns:
- The Instance of the Basis Curve
-
QuarticPolynomialRepoCurve
public static final RepoCurve QuarticPolynomialRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray)Create an Instance of the Quartic Polynomial Splined Repo Curve- Parameters:
name
- Curve NamespotDate
- The Spot Datecomponent
- The Underlying Repo ComponentdateArray
- Array of the DatesrepoRateArray
- Array of the Repo Rates- Returns:
- The Instance of the Splined Repo Curve
-
KaklisPandelisRepoCurve
public static final RepoCurve KaklisPandelisRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray)Create an Instance of the Kaklis-Pandelis Splined Repo Curve- Parameters:
name
- Curve NamespotDate
- The Spot Datecomponent
- The Underlying Repo ComponentdateArray
- Array of the DatesrepoRateArray
- Array of the Repo Rates- Returns:
- The Instance of the Splined Repo Curve
-
KLKHyperbolicRepoCurve
public static final RepoCurve KLKHyperbolicRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray, double tension)Create an Instance of the KLK Hyperbolic Splined Repo Curve- Parameters:
name
- Curve NamespotDate
- The Spot Datecomponent
- The Underlying Repo ComponentdateArray
- Array of the DatesrepoRateArray
- Array of the Repo Ratestension
- The Tension Parameter- Returns:
- The Instance of the Splined Repo Curve
-
KLKRationalLinearRepoCurve
public static final RepoCurve KLKRationalLinearRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray, double tension)Create an Instance of the KLK Rational Linear Splined Repo Curve- Parameters:
name
- Curve NamespotDate
- The Spot Datecomponent
- The Underlying Repo ComponentdateArray
- Array of the DatesrepoRateArray
- Array of the Repo Ratestension
- The Tension Parameter- Returns:
- The Instance of the Repo Curve
-
KLKRationalQuadraticRepoCurve
public static final RepoCurve KLKRationalQuadraticRepoCurve(java.lang.String name, JulianDate spotDate, Component component, int[] dateArray, double[] repoRateArray, double tension)Create an Instance of the KLK Rational Quadratic Splined Repo Curve- Parameters:
name
- Curve NamespotDate
- The Spot Datecomponent
- The Underlying Repo ComponentdateArray
- Array of the DatesrepoRateArray
- Array of the Repo Ratestension
- The Tension Parameter- Returns:
- The Instance of the Repo Curve
-
FlatRateRepoCurve
public static final RepoCurve FlatRateRepoCurve(JulianDate spotDate, Component component, double repoRate)Construct a Repo Curve using the Flat Repo Rate- Parameters:
spotDate
- Spot Datecomponent
- Repo ComponentrepoRate
- The Flat Repo Rate- Returns:
- The Flat Repo Rate Curve
-