Overview
functions to construct and use YieldTermStructure objects.
Function List
qlDiscountCurve ()
qlFlatForward ()
qlForwardCurve ()
qlForwardSpreadedTermStructure ()
qlImpliedTermStructure ()
qlInterpolatedYieldCurve ()
qlInterpolatedYieldCurveData ()
qlInterpolatedYieldCurveDates ()
qlInterpolatedYieldCurveJumpDates ()
qlInterpolatedYieldCurveJumpTimes ()
qlInterpolatedYieldCurveTimes ()
qlRelinkableHandleYieldTermStructure ()
qlTermStructureCalendar ()
qlTermStructureDayCounter ()
qlTermStructureMaxDate ()
qlTermStructureReferenceDate ()
qlTermStructureSettlementDays ()
qlTermStructureTimeFromReference ()
qlYieldTSDiscount ()
qlYieldTSForwardRate ()
qlYieldTSForwardRate2 ()
qlYieldTSZeroRate ()
qlZeroCurve ()
Function Documentation
- Description:
Construct an object of class DiscountCurve and return its id
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of object to be created CurveDates dates of the curve. CurveDiscounts discount factors for the above dates. DayCounter DayCounter ID. Default value = Actual/365 (Fixed). Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class FlatForward and return its id
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of object to be created NDays number of days to advance from EvaluationDate (usually zero or two): it fixes the date at which the discount factor = 1.0. Default value = 0. Calendar holiday calendar (e.g. TARGET) to advance from global EvaluationDate. Default value = NullCalendar. Rate the curve level. DayCounter DayCounter ID. Default value = Actual/365 (Fixed). Compounding Interest rate coumpounding rule (Simple:1+rt, Compounded:(1+r)^t, Continuous:e^{rt}). Default value = Continuous. Frequency frequency (e.g. Annual, Semiannual, Every4Month, Quarterly, Bimonthly, Monthly). Default value = Annual. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class ForwardCurve and return its id
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of object to be created CurveDates dates of the curve. ForwardYields forwards rates for the above dates. DayCounter DayCounter ID. Default value = Actual/365 (Fixed). Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
qlForwardSpreadedTermStructure
- Description:
Construct an object of class ForwardSpreadedTermStructure and return its id
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of object to be created BaseYieldCurve Base YieldTermStructure object ID. Spread spread. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class ImpliedTermStructure and return its id
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of object to be created BaseYieldCurve Base YieldTermStructure object ID. ReferenceDate the reference date the base YieldTermStructure should be shifted to. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class InterpolatedYieldCurve and return its id
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of object to be created Dates vector of dates, the first one being the one at which discount factor = 1.0 Data data vector. Each element should be of the type selected by TraitsID Calendar holiday calendar (e.g. TARGET) to advance from global EvaluationDate. DayCounter DayCounter ID. Default value = Actual/365 (Fixed). Jumps Jump quotes vector. JumpDates Jump dates vector. TraitsID Discount, ZeroYield, or ForwardRate. Default value = Discount. InterpolatorID BackwardFlat, ForwardFlat, Linear, LogLinear, LogParabolic, KrugerLogCubic, etc. Default value = MonotonicLogCubicNaturalSpline. MixedInterpolationBehavior ShareRanges to join two different interpolations over all the pillars, SplitRanges otherwise. Default value = ShareRanges. NRateHelper Number of pillar from which change the interpolation ID. Default value = 1. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Retrieve Data for the given InterpolatedYieldCurve.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLibAddin::InterpolatedYieldCurve object Trigger dependency tracking trigger
- Description:
Retrieve list of Dates for the given InterpolatedYieldCurve.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLibAddin::InterpolatedYieldCurve object Trigger dependency tracking trigger
qlInterpolatedYieldCurveJumpDates
- Description:
Retrieve list of jump dates for the given InterpolatedYieldCurve.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLibAddin::InterpolatedYieldCurve object Trigger dependency tracking trigger
qlInterpolatedYieldCurveJumpTimes
- Description:
Retrieve list of jump times for the given InterpolatedYieldCurve.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLibAddin::InterpolatedYieldCurve object Trigger dependency tracking trigger
- Description:
Retrieve list of Times for the given InterpolatedYieldCurve.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLibAddin::InterpolatedYieldCurve object Trigger dependency tracking trigger
qlRelinkableHandleYieldTermStructure
- Description:
Construct an object of class RelinkableHandleImpl<QuantLibAddin::YieldTermStructure, QuantLib::YieldTermStructure> and return its id
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of object to be created CurrentLink YieldTermStructure object ID. If omitted, nothing is linked by the RelinkableHandle. Default value = . Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Returns the calendar used by the given TermStructure object.
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::TermStructure object Trigger dependency tracking trigger
- Description:
Returns the DayCounter used by the given TermStructure object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::TermStructure object Trigger dependency tracking trigger
- Description:
Returns the max date for the given TermStructure object.
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of existing QuantLib::TermStructure object Trigger dependency tracking trigger
- Description:
Returns the reference date for the given TermStructure object.
- Supported Platforms:
Excel, C++, Calc
- Parameters
-
ObjectId id of existing QuantLib::TermStructure object Trigger dependency tracking trigger
- Description:
Returns the number of settlement days for the given TermStructure object.
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of existing QuantLib::TermStructure object Trigger dependency tracking trigger
qlTermStructureTimeFromReference
- Description:
Returns the time from the reference date for the given TermStructure object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::TermStructure object Date vector of dates. Trigger dependency tracking trigger
- Description:
Returns a discount factor from the given YieldTermStructure object.
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::YieldTermStructure object DfDates vector of dates. AllowExtrapolation TRUE allows extrapolation. Default value = false. Trigger dependency tracking trigger
- Description:
Returns the forward interest rate from the given YieldTermStructure object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::YieldTermStructure object D1 first date. D2 second date. ResultDayCounter result DayCounter. Compounding Interest rate compounding rule (Simple:1+rt, Compounded:(1+r)^t, Continuous:e^{rt}). Default value = Simple. Frequency frequency (e.g. Annual, Semiannual, Every4Month, Quarterly, Bimonthly, Monthly). Default value = Annual. AllowExtrapolation TRUE allows extrapolation. Default value = false. Trigger dependency tracking trigger
- Description:
Returns the forward interest rate from the given YieldTermStructure object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::YieldTermStructure object Date first date. Period Period (e.g. '7D', '3M', '1Y', etc). ResultDayCounter result DayCounter. Compounding Interest rate compounding rule (Simple:1+rt, Compounded:(1+r)^t, Continuous:e^{rt}). Default value = Simple. Frequency frequency (e.g. Annual, Semiannual, Every4Month, Quarterly, Bimonthly, Monthly). Default value = Annual. AllowExtrapolation TRUE allows extrapolation. Default value = false. Trigger dependency tracking trigger
- Description:
Returns the zero interest rate from the given YieldTermStructure object.
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::YieldTermStructure object Dates date. ResultDayCounter resultDayCounter. Compounding Interest rate coumpounding rule (Simple:1+rt, Compounded:(1+r)^t, Continuous:e^{rt}). Default value = Continuous. Frequency frequency (e.g. Annual, Semiannual, Every4Month, Quarterly, Bimonthly, Monthly). Default value = Annual. AllowExtrapolation TRUE allows extrapolation. Default value = false. Trigger dependency tracking trigger
- Description:
Construct an object of class ZeroCurve and return its id
- Supported Platforms:
Excel, Calc, C++
- Parameters
-
ObjectId id of object to be created CurveDates dates of the curve. CurveYields zero rates for the above dates. DayCounter DayCounter ID. Default value = Actual/365 (Fixed). Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag