Package org.drip.state.creator
Class ScenarioForwardCurveBuilder
java.lang.Object
org.drip.state.creator.ScenarioForwardCurveBuilder
public class ScenarioForwardCurveBuilder
extends java.lang.Object
ScenarioForwardCurveBuilder implements the the construction of the scenario Forward curve using the
input discount curve instruments, and a wide variety of custom builds. It implements the following
functionality:
- Build the Shape Preserving Forward Curve using the Custom Parameters
- Construct an instance of the Shape Preserver of the desired basis type, using the specified basis set builder parameters
- Construct an Instance of the Flat Forward Rate 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 ScenarioForwardCurveBuilder()
-
Method Summary
Modifier and Type Method Description static ForwardCurve
FlatForwardForwardCurve(JulianDate startDate, ForwardLabel forwardLabel, double flatForwardRate)
Construct an Instance of the Flat Forward Rate Forward Curvestatic ForwardCurve
ShapePreservingForwardCurve(java.lang.String name, ForwardLabel friForwardLabel, ValuationParams valuationParams, CreditPricerParams creditPricerParams, CurveSurfaceQuoteContainer curveSurfaceQuoteContainer, ValuationCustomizationParams valuationCustomizationParams, java.lang.String basisType, FunctionSetBuilderParams functionSetBuilderParams, CalibratableComponent[] calibrationComponentArray, java.lang.String manifestMeasure, double[] quoteArray, double epochResponse)
Construct an instance of the Shape Preserver of the desired basis type, using the specified basis set builder parameters.static ForwardCurve
ShapePreservingForwardCurve(LinearLatentStateCalibrator linearLatentStateCalibrator, LatentStateStretchSpec[] latentStateStretchSpecArray, ForwardLabel forwardLabel, ValuationParams valuationParams, CreditPricerParams creditPricerParams, CurveSurfaceQuoteContainer curveSurfaceQuoteContainer, ValuationCustomizationParams valuationCustomizationParams, double epochResponse)
Build the Shape Preserving Forward Curve using the Custom ParametersMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScenarioForwardCurveBuilder
public ScenarioForwardCurveBuilder()
-
-
Method Details
-
ShapePreservingForwardCurve
public static final ForwardCurve ShapePreservingForwardCurve(LinearLatentStateCalibrator linearLatentStateCalibrator, LatentStateStretchSpec[] latentStateStretchSpecArray, ForwardLabel forwardLabel, ValuationParams valuationParams, CreditPricerParams creditPricerParams, CurveSurfaceQuoteContainer curveSurfaceQuoteContainer, ValuationCustomizationParams valuationCustomizationParams, double epochResponse)Build the Shape Preserving Forward Curve using the Custom Parameters- Parameters:
linearLatentStateCalibrator
- The Linear Latent State Calibrator InstancelatentStateStretchSpecArray
- Array of the Latent State StretchesforwardLabel
- The Floating Rate Index Forward LabelvaluationParams
- Valuation ParameterscreditPricerParams
- Pricer ParameterscurveSurfaceQuoteContainer
- Market ParametersvaluationCustomizationParams
- Quoting ParametersepochResponse
- The Starting Response Value- Returns:
- Instance of the Shape Preserving Discount Curve
-
ShapePreservingForwardCurve
public static final ForwardCurve ShapePreservingForwardCurve(java.lang.String name, ForwardLabel friForwardLabel, ValuationParams valuationParams, CreditPricerParams creditPricerParams, CurveSurfaceQuoteContainer curveSurfaceQuoteContainer, ValuationCustomizationParams valuationCustomizationParams, java.lang.String basisType, FunctionSetBuilderParams functionSetBuilderParams, CalibratableComponent[] calibrationComponentArray, java.lang.String manifestMeasure, double[] quoteArray, double epochResponse)Construct an instance of the Shape Preserver of the desired basis type, using the specified basis set builder parameters.- Parameters:
name
- Curve NamefriForwardLabel
- The Floating Rate Index Forward LabelvaluationParams
- Valuation ParameterscreditPricerParams
- Pricer ParameterscurveSurfaceQuoteContainer
- Market ParametersvaluationCustomizationParams
- Quoting ParametersbasisType
- The Basis TypefunctionSetBuilderParams
- The Function Set Basis ParameterscalibrationComponentArray
- Array of Calibration ComponentsmanifestMeasure
- The Calibration Manifest MeasurequoteArray
- Array of Calibration QuotesepochResponse
- The Starting Response Value- Returns:
- Instance of the Shape Preserver of the desired basis type
-
FlatForwardForwardCurve
public static final ForwardCurve FlatForwardForwardCurve(JulianDate startDate, ForwardLabel forwardLabel, double flatForwardRate)Construct an Instance of the Flat Forward Rate Forward Curve- Parameters:
startDate
- The Forward Curve Start DateforwardLabel
- The Floating Rate IndexflatForwardRate
- The Flat Forward Rate- Returns:
- Instance of the Flat Forward Rate Forward Curve
-