Class AbstractForwardCurve

All Implemented Interfaces:
Serializable, Cloneable, ParameterObject, Curve, ForwardCurveInterface
Direct Known Subclasses:
ForwardCurveFromDiscountCurve, ForwardCurveInterpolation

public abstract class AbstractForwardCurve
extends CurveInterpolation
implements ForwardCurveInterface
Abstract base class for a forward curve, extending a curve object It stores the maturity of the underlying index (paymentOffset) and the associated discount curve.
Version:
1.0
Author:
Christian Fries
See Also:
Serialized Form
  • Constructor Details

    • AbstractForwardCurve

      public AbstractForwardCurve​(String name, LocalDate referenceDate, String paymentOffsetCode, BusinessdayCalendar paymentBusinessdayCalendar, BusinessdayCalendar.DateRollConvention paymentDateRollConvention, CurveInterpolation.InterpolationMethod interpolationMethod, CurveInterpolation.ExtrapolationMethod extrapolationMethod, CurveInterpolation.InterpolationEntity interpolationEntity, String discountCurveName)
      Construct a base forward curve with a reference date and a payment offset.
      Parameters:
      name - The name of this curve.
      referenceDate - The reference date for this curve, i.e., the date which defined t=0.
      paymentOffsetCode - The maturity of the index modeled by this curve.
      paymentBusinessdayCalendar - The business day calendar used for adjusting the payment date.
      paymentDateRollConvention - The date roll convention used for adjusting the payment date.
      interpolationMethod - The interpolation method used for the curve.
      extrapolationMethod - The extrapolation method used for the curve.
      interpolationEntity - The entity interpolated/extrapolated.
      discountCurveName - The name of the discount curve associated with this forward curve (e.g. OIS for collateralized forwards).
    • AbstractForwardCurve

      public AbstractForwardCurve​(String name, LocalDate referenceDate, String paymentOffsetCode, BusinessdayCalendar paymentBusinessdayCalendar, BusinessdayCalendar.DateRollConvention paymentDateRollConvention, String discountCurveName)
      Construct a base forward curve with a reference date and a payment offset.
      Parameters:
      name - The name of this curve.
      referenceDate - The reference date for this curve, i.e., the date which defined t=0.
      paymentOffsetCode - The maturity of the index modeled by this curve.
      paymentBusinessdayCalendar - The business day calendar used for adjusting the payment date.
      paymentDateRollConvention - The date roll convention used for adjusting the payment date.
      discountCurveName - The name of the discount curve associated with this forward curve (e.g. OIS for collateralized forwards).
    • AbstractForwardCurve

      public AbstractForwardCurve​(String name, LocalDate referenceDate, double paymentOffset, String discountCurveName)
      Construct a base forward curve with a reference date and a payment offset.
      Parameters:
      name - The name of this curve.
      referenceDate - The reference date for this curve, i.e., the date which defined t=0.
      paymentOffset - The maturity of the index modeled by this curve.
      discountCurveName - The name of the discount curve associated with this forward curve (e.g. OIS for collateralized forwards).
  • Method Details