| BondAccrint Method |
Namespace: Imsl.Finance
public static double Accrint( DateTime issue, DateTime firstCoupon, DateTime settlement, double rate, double par, BondFrequency frequency, DayCountBasis basis )
In the equation below,
represents the number
of days which have accrued for the
th
quasi-coupon period within the odd Frequency. (The quasi-coupon
periods are periods obtained by extending the series of equal payment
periods to before or after the actual payment periods.)
represents the number of quasi-coupon
periods within the odd period, rounded to the next highest integer.
(The odd period is a period between payments that differs from the
usual equally spaced periods at which payments are made.)
represents the length of the normal
ith quasi-coupon period within the odd Frequency.
is expressed in days.
Accrint solves the following: