public class ScenarioRepoCurveBuilder
extends java.lang.Object
Constructor and Description |
---|
ScenarioRepoCurveBuilder() |
Modifier and Type | Method and Description |
---|---|
static RepoCurve |
CubicPolynomialRepoCurve(java.lang.String strName,
JulianDate dtSpot,
Component comp,
int[] aiDate,
double[] adblRepo)
Create an Instance of the Cubic Polynomial Splined Repo Curve
|
static RepoCurve |
CustomSplineRepoCurve(java.lang.String strName,
JulianDate dtSpot,
Component comp,
int[] aiDate,
double[] adblRepo,
SegmentCustomBuilderControl scbc)
Create an Instance of the Custom Splined Repo Curve
|
static RepoCurve |
FlatRateRepoCurve(JulianDate dtSpot,
Component comp,
double dblRepoRate)
Construct a Repo Curve using the Flat Repo Rate
|
static RepoCurve |
KaklisPandelisRepoCurve(java.lang.String strName,
JulianDate dtSpot,
Component comp,
int[] aiDate,
double[] adblRepo)
Create an Instance of the Kaklis-Pandelis Splined Repo Curve
|
static RepoCurve |
KLKHyperbolicRepoCurve(java.lang.String strName,
JulianDate dtSpot,
Component comp,
int[] aiDate,
double[] adblRepo,
double dblTension)
Create an Instance of the KLK Hyperbolic Splined Repo Curve
|
static RepoCurve |
KLKRationalLinearRepoCurve(java.lang.String strName,
JulianDate dtSpot,
Component comp,
int[] aiDate,
double[] adblRepo,
double dblTension)
Create an Instance of the KLK Rational Linear Splined Repo Curve
|
static RepoCurve |
KLKRationalQuadraticRepoCurve(java.lang.String strName,
JulianDate dtSpot,
Component comp,
int[] aiDate,
double[] adblRepo,
double dblTension)
Create an Instance of the KLK Rational Quadratic Splined Repo Curve
|
static RepoCurve |
QuarticPolynomialRepoCurve(java.lang.String strName,
JulianDate dtSpot,
Component comp,
int[] aiDate,
double[] adblRepo)
Create an Instance of the Quartic Polynomial Splined Repo Curve
|
public static final RepoCurve CustomSplineRepoCurve(java.lang.String strName, JulianDate dtSpot, Component comp, int[] aiDate, double[] adblRepo, SegmentCustomBuilderControl scbc)
strName
- Curve NamedtSpot
- The Spot Datecomp
- The Underlying Repo ComponentaiDate
- Array of the DatesadblRepo
- Array of the Repo Ratesscbc
- The Segment Custom Builder Controlpublic static final RepoCurve CubicPolynomialRepoCurve(java.lang.String strName, JulianDate dtSpot, Component comp, int[] aiDate, double[] adblRepo)
strName
- Curve NamedtSpot
- The Spot Datecomp
- The Underlying Repo ComponentaiDate
- Array of the DatesadblRepo
- Array of the Repo Ratespublic static final RepoCurve QuarticPolynomialRepoCurve(java.lang.String strName, JulianDate dtSpot, Component comp, int[] aiDate, double[] adblRepo)
strName
- Curve NamedtSpot
- The Spot Datecomp
- The Underlying Repo ComponentaiDate
- Array of the DatesadblRepo
- Array of the Repo Ratespublic static final RepoCurve KaklisPandelisRepoCurve(java.lang.String strName, JulianDate dtSpot, Component comp, int[] aiDate, double[] adblRepo)
strName
- Curve NamedtSpot
- The Spot Datecomp
- The Underlying Repo ComponentaiDate
- Array of the DatesadblRepo
- Array of the Repo Ratespublic static final RepoCurve KLKHyperbolicRepoCurve(java.lang.String strName, JulianDate dtSpot, Component comp, int[] aiDate, double[] adblRepo, double dblTension)
strName
- Curve NamedtSpot
- The Spot Datecomp
- The Underlying Repo ComponentaiDate
- Array of the DatesadblRepo
- Array of the Repo RatesdblTension
- The Tension Parameterpublic static final RepoCurve KLKRationalLinearRepoCurve(java.lang.String strName, JulianDate dtSpot, Component comp, int[] aiDate, double[] adblRepo, double dblTension)
strName
- Curve NamedtSpot
- The Spot Datecomp
- The Underlying Repo ComponentaiDate
- Array of the DatesadblRepo
- Array of the Repo RatesdblTension
- The Tension Parameterpublic static final RepoCurve KLKRationalQuadraticRepoCurve(java.lang.String strName, JulianDate dtSpot, Component comp, int[] aiDate, double[] adblRepo, double dblTension)
strName
- Curve NamedtSpot
- The Spot Datecomp
- The Underlying Repo ComponentaiDate
- Array of the DatesadblRepo
- Array of the Repo RatesdblTension
- The Tension Parameterpublic static final RepoCurve FlatRateRepoCurve(JulianDate dtSpot, Component comp, double dblRepoRate)
dtSpot
- Spot Datecomp
- Repo ComponentdblRepoRate
- The Flat Repo Rate