public class DerivedZeroRate extends ZeroCurve
| Modifier and Type | Method and Description |
|---|---|
CalibratableComponent[] |
calibComp()
Retrieve the Calibration Components
|
Curve |
customTweakManifestMeasure(java.lang.String strManifestMeasure,
ManifestMeasureTweak mmtp)
Create a LatentState Instance from the Manifest Measure Tweak Parameters
|
LatentState |
customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
Create a LatentState Instance from the Quantification Metric Tweak Parameters
|
double |
df(int iDate)
Calculate the Discount Factor to the given Date
|
double |
df(JulianDate dt)
Calculate the discount factor to the given date
|
double |
df(java.lang.String strTenor)
Calculate the Discount Factor to the given Tenor
|
double |
effectiveDF(int iDate1,
int iDate2)
Compute the time-weighted discount factor between 2 dates
|
double |
effectiveDF(JulianDate dt1,
JulianDate dt2)
Compute the time-weighted discount factor between 2 dates
|
double |
effectiveDF(java.lang.String strTenor1,
java.lang.String strTenor2)
Compute the time-weighted discount factor between 2 tenors
|
static DerivedZeroRate |
FromBaseCurve(int iFreq,
java.lang.String strDayCount,
java.lang.String strCalendar,
boolean bApplyEOMAdj,
java.util.List<CompositePeriod> lsCouponPeriod,
int iWorkoutDate,
int iValueDate,
int iCashPayDate,
DiscountCurve dc,
double dblBump,
ValuationCustomizationParams vcp,
SegmentCustomBuilderControl scbc)
Construct an Instance from the Input Curve and the related Parameters
|
static DerivedZeroRate |
FromDiscountCurve(int iFreqZC,
java.lang.String strDCZC,
java.lang.String strCalendarZC,
boolean bApplyEOMAdjZC,
java.util.List<CompositePeriod> lsCouponPeriod,
int iWorkoutDate,
int iValueDate,
int iCashPayDate,
DiscountCurve dc,
double dblZCBump,
ValuationCustomizationParams vcp,
SegmentCustomBuilderControl scbc)
Construct an Instance from the Discount Curve and the related Parameters
|
static DerivedZeroRate |
FromGovvieCurve(int iFreqZC,
java.lang.String strDCZC,
java.lang.String strCalendarZC,
boolean bApplyEOMAdjZC,
java.util.List<CompositePeriod> lsCouponPeriod,
int iWorkoutDate,
int iValueDate,
int iCashPayDate,
GovvieCurve gc,
double dblZCBump,
ValuationCustomizationParams vcp,
SegmentCustomBuilderControl scbc)
Construct an Instance from the Govvie Curve and the related Parameters
|
LatentStateLabel |
label()
Get the Curve Latent State Identifier Label
|
CaseInsensitiveTreeMap<java.lang.Double> |
manifestMeasure(java.lang.String strInstr)
Retrieve the Manifest Measure Map of the given Instrument used to construct the Curve
|
Curve |
parallelShiftManifestMeasure(java.lang.String strManifestMeasure,
double dblShift)
Create a LatentState Instance from the Manifest Measure Parallel Shift
|
LatentState |
parallelShiftQuantificationMetric(double dblShift)
Create a LatentState Instance from the Quantification Metric Parallel Shift
|
boolean |
setCCIS(CurveConstructionInputSet ccis)
Set the Curve Construction Input Set Parameters
|
Curve |
shiftManifestMeasure(int iSpanIndex,
java.lang.String strManifestMeasure,
double dblShift)
Create a LatentState Instance from the Shift of the Specified Manifest Measure
|
double |
zeroRate(int iDate)
Retrieve the zero rate corresponding to the given date
|
public static final DerivedZeroRate FromDiscountCurve(int iFreqZC, java.lang.String strDCZC, java.lang.String strCalendarZC, boolean bApplyEOMAdjZC, java.util.List<CompositePeriod> lsCouponPeriod, int iWorkoutDate, int iValueDate, int iCashPayDate, DiscountCurve dc, double dblZCBump, ValuationCustomizationParams vcp, SegmentCustomBuilderControl scbc)
iFreqZC - Zero Curve FrequencystrDCZC - Zero Curve Day CountstrCalendarZC - Zero Curve CalendarbApplyEOMAdjZC - Zero Coupon EOM Adjustment FlaglsCouponPeriod - List of Bond coupon periodsiWorkoutDate - Work-out DateiValueDate - Value DateiCashPayDate - Cash-Pay Datedc - Underlying Discount CurvedblZCBump - DC Bumpvcp - Valuation Customization Parametersscbc - Segment Custom Builder Control Parameterspublic static final DerivedZeroRate FromGovvieCurve(int iFreqZC, java.lang.String strDCZC, java.lang.String strCalendarZC, boolean bApplyEOMAdjZC, java.util.List<CompositePeriod> lsCouponPeriod, int iWorkoutDate, int iValueDate, int iCashPayDate, GovvieCurve gc, double dblZCBump, ValuationCustomizationParams vcp, SegmentCustomBuilderControl scbc)
iFreqZC - Zero Curve FrequencystrDCZC - Zero Curve Day CountstrCalendarZC - Zero Curve CalendarbApplyEOMAdjZC - Zero Coupon EOM Adjustment FlaglsCouponPeriod - List of bond coupon periodsiWorkoutDate - Work-out DateiValueDate - Value DateiCashPayDate - Cash-Pay Dategc - Underlying Govvie CurvedblZCBump - DC Bumpvcp - Valuation Customization Parametersscbc - Segment Custom Builder Control Parameterspublic static final DerivedZeroRate FromBaseCurve(int iFreq, java.lang.String strDayCount, java.lang.String strCalendar, boolean bApplyEOMAdj, java.util.List<CompositePeriod> lsCouponPeriod, int iWorkoutDate, int iValueDate, int iCashPayDate, DiscountCurve dc, double dblBump, ValuationCustomizationParams vcp, SegmentCustomBuilderControl scbc)
iFreq - Zero Curve FrequencystrDayCount - Zero Curve Day CountstrCalendar - Zero Curve CalendarbApplyEOMAdj - Zero Coupon EOM Adjustment FlaglsCouponPeriod - List of bond coupon periodsiWorkoutDate - Work-out DateiValueDate - Value DateiCashPayDate - Cash-Pay Datedc - Underlying Discount CurvedblBump - DC Bumpvcp - Valuation Customization Parametersscbc - Segment Custom Builder Control Parameterspublic double df(int iDate)
throws java.lang.Exception
DiscountFactorEstimatoriDate - Datejava.lang.Exception - Thrown if the Discount Factor cannot be calculatedpublic double df(java.lang.String strTenor)
throws java.lang.Exception
DiscountFactorEstimatorstrTenor - Tenorjava.lang.Exception - Thrown if the Discount Factor cannot be calculatedpublic double zeroRate(int iDate)
throws java.lang.Exception
ZeroCurvepublic CaseInsensitiveTreeMap<java.lang.Double> manifestMeasure(java.lang.String strInstr)
CurvestrInstr - The Calibration Instrument's Code whose Manifest Measure Map is soughtpublic CalibratableComponent[] calibComp()
Curvepublic LatentStateLabel label()
Curvepublic Curve parallelShiftManifestMeasure(java.lang.String strManifestMeasure, double dblShift)
LatentStatestrManifestMeasure - The Specified Manifest MeasuredblShift - Parallel shift of the Manifest Measurepublic Curve shiftManifestMeasure(int iSpanIndex, java.lang.String strManifestMeasure, double dblShift)
LatentStateiSpanIndex - Index into the Span that identifies the InstrumentstrManifestMeasure - The Specified Manifest MeasuredblShift - Shift of the Manifest Measurepublic Curve customTweakManifestMeasure(java.lang.String strManifestMeasure, ManifestMeasureTweak mmtp)
LatentStatestrManifestMeasure - The Specified Manifest Measuremmtp - Manifest Measure Tweak Parameterspublic boolean setCCIS(CurveConstructionInputSet ccis)
Curveccis - The Curve Construction Input Set Parameterspublic LatentState parallelShiftQuantificationMetric(double dblShift)
LatentStatedblShift - Parallel shift of the Quantification Metricpublic LatentState customTweakQuantificationMetric(ManifestMeasureTweak rvtp)
LatentStatervtp - Quantification Metric Tweak Parameterspublic double df(JulianDate dt) throws java.lang.Exception
DiscountFactorEstimatordt - Datejava.lang.Exception - Thrown if the discount factor cannot be calculatedpublic double effectiveDF(int iDate1,
int iDate2)
throws java.lang.Exception
DiscountFactorEstimatoriDate1 - First DateiDate2 - Second Datejava.lang.Exception - Thrown if the discount factor cannot be calculatedpublic double effectiveDF(JulianDate dt1, JulianDate dt2) throws java.lang.Exception
DiscountFactorEstimatordt1 - First Datedt2 - Second Datejava.lang.Exception - Thrown if the discount factor cannot be calculatedpublic double effectiveDF(java.lang.String strTenor1,
java.lang.String strTenor2)
throws java.lang.Exception
DiscountFactorEstimatorstrTenor1 - First DatestrTenor2 - Second Datejava.lang.Exception - Thrown if the discount factor cannot be calculated