IFinance.AccrintM

Syntax

AccrintM(Issue: DataTime; Settlement: DataTime; Rate: Double; NominalCost: Double; [Basis: Integer = 0]): Double;

Parameters

Issue. The security's issue date. Must be less than Settlement.

Settlement. The payment day on securities. Must be greater than Issue.

Rate. Annual interest rate for coupons on securities. Must be positive.

NominalCost. Face value of securities. Must be positive.

Basis. The day calculation method used. Select a value from 0 to 4:

Optional parameter.

Description

The AccrintM method returns accumulated interest for the securities, for which the interest must be paid on settlement date.

Comments

AccrintM is calculated using the following formula:

,

where:

Example

Add a link to the MathFin system assembly.

Sub UserProc;
Var
    r: Double;
Begin
    
r := Finance.AccrintM(DateTime.ComposeDay(2008,01,12), DateTime.ComposeDay(2008,06,13), 111003);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the value of accumulated percent that is equal to 461.096.

See also:

IFinance