Returns the implied interest rate of a discount bond.

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

Syntax

C#
public static double Disc(
	DateTime settlement,
	DateTime maturity,
	double price,
	double redemption,
	DayCountBasis basis
)
Visual Basic (Declaration)
Public Shared Function Disc ( _
	settlement As DateTime, _
	maturity As DateTime, _
	price As Double, _
	redemption As Double, _
	basis As DayCountBasis _
) As Double
Visual C++
public:
static double Disc(
	DateTime settlement, 
	DateTime maturity, 
	double price, 
	double redemption, 
	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.
price
Type: System..::.Double
A double which specifies the security's price per $100 face value.
redemption
Type: System..::.Double
A double which the security's redemption value per $100 face 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 discount rate for a security.

Remarks

The discount rate is the interest rate implied when a security is sold for less than its value at maturity in lieu of interest payments. It is computed using the following:

{{{{\it redemption} - {\it price}} \over
            {\it price}}} \times {{B \over {\it DSM}}}
In the equation above, B represents the number of days in a year based on the annual basis and {\it DSM} represents the number of days starting with the settlement date and ending with the maturity date.

See Also