QuantLib_DateGeneration man page

DateGeneration — Date-generation rule.  

Synopsis

#include <ql/time/dategenerationrule.hpp>

Public Types

enum Rule { Backward, Forward, Zero, ThirdWednesday, Twentieth, TwentiethIMM, OldCDS, CDS, CDS2015 }

Detailed Description

Date-generation rule.

These conventions specify the rule used to generate dates in a Schedule.

Member Enumeration Documentation

enum Rule

Enumerator

Backward

Backward from termination date to effective date.

Forward

Forward from effective date to termination date.

Zero

No intermediate dates between effective date and termination date.

ThirdWednesday

All dates but effective date and termination date are taken to be on the third wednesday of their month (with forward calculation.)

Twentieth

All dates but the effective date are taken to be the twentieth of their month (used for CDS schedules in emerging markets.) The termination date is also modified.

TwentiethIMM

All dates but the effective date are taken to be the twentieth of an IMM month (used for CDS schedules.) The termination date is also modified.

OldCDS

Same as TwentiethIMM with unrestricted date ends and log/short stub coupon period (old CDS convention).

CDS

Credit derivatives standard rule since 'Big Bang' changes in 2009.

CDS2015

Credit derivatives standard rule since December 20th, 2015.

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

The man pages Backward(3), CDS(3), CDS2015(3), Forward(3), OldCDS(3), Rule(3), ThirdWednesday(3), Twentieth(3), TwentiethIMM(3) and Zero(3) are aliases of QuantLib_DateGeneration(3).

Wed Aug 2 2017 Version 1.10 QuantLib