Returns the amount one receives when a fully invested security reaches the maturity date.

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

Syntax

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

Parameters

settlement
Type: System..::.DateTime
The DateTime settlement date of the security.
maturity
Type: System..::.DateTime
The DateTime maturity date of the security.
investment
Type: System..::.Double
A double which specifies the amount invested in the security.
rate
Type: System..::.Double
A double which specifies the security's rate at issue date.
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 amount received at maturity for a fully invested security.

Remarks

It is computed using the following:

{{\it investment} \over {1 - \left(
            {{\it rate} \times {{\it DIM} \over B}} \right)}}
In the equation above, B represents the number of days in a year based on the annual basis, and {\it DIM} represents the number of days in the period starting with the issue date and ending with the maturity date.

See Also