Function SecurityCouponPreviousDate(SettlementDate, MaturityDate, Frequency, PreviousDate)

SecurityCouponPreviousDate

The function SecurityCouponPreviousDate returns the last coupon-date previous to settlement date of a security that pays interest at the end of each coupon period.

SecurityCouponPreviousDate(
    SettlementDate,           ! (input) scalar string expression
    MaturityDate,             ! (input) scalar string expression
    Frequency                 ! (input) numerical expression
    PreviousDate              ! (output) string parameter
    )

Arguments

SettlementDate

The date of settlement of the security. SettlementDate must be in date format.

MaturityDate

The date of maturity of the security. MaturityDate must also be in date format and must be a date after SettlementDate.

Frequency

The number of coupon payments in one year. Frequency must be 1 (annual), 2 (semi-annual) or 4 (quarterly).

PreviousDate

The date on which the coupon period, in which the settlement date falls, starts and on which the previous coupon period ends.

Note

The function SecurityCouponPreviousDate is similar to the Excel function COUPPCD.

See also

General equations for securities with multiple coupons.