coupdays
Days in the coupon period containing the settlement date.
Syntax
Section titled “Syntax”v = coupdays(settlement, maturity, frequency, basis)Description
Section titled “Description”Returns the total length (in days) of the coupon period that contains the settlement date.
Example
Section titled “Example”coupdays('2011-01-25', '2011-11-15', 2)See also
Section titled “See also”coupdaybs— Days from beginning of coupon period to settlement.coupdaysnc— Days from settlement to next coupon date.