Returns the interest which has accrued on a security that pays interest at maturity.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static double Accrintm(
	DateTime issue,
	DateTime maturity,
	double rate,
	double par,
	DayCountBasis basis
)
Visual Basic (Declaration)
Public Shared Function Accrintm ( _
	issue As DateTime, _
	maturity As DateTime, _
	rate As Double, _
	par As Double, _
	basis As DayCountBasis _
) As Double
Visual C++
public:
static double Accrintm(
	DateTime issue, 
	DateTime maturity, 
	double rate, 
	double par, 
	DayCountBasis^ basis
)

Parameters

issue
Type: System..::.DateTime
Ahe DateTime issue date of the security.
maturity
Type: System..::.DateTime
The DateTime date of the security's maturity.
rate
Type: System..::.Double
A double which specifies the security's annual coupon rate.
par
Type: System..::.Double
A double which specifies the security's par value.
basis
Type: Imsl.Finance..::.DayCountBasis
A DayCountBasis object which contains the type of day count basis to use.

Return Value

A double which specifies the accrued interest.

Remarks

= {\it par} \times {\it rate} \times
            {\frac{A}{D}}

In the above equation, A represents the number of days starting at issue date to maturity date and D represents the annual basis.

See Also