Returns the implied interest rate of a discount bond.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Disc(
DateTime settlement,
DateTime maturity,
double price,
double redemption,
DayCountBasis basis
)
Public Shared Function Disc (
settlement As DateTime,
maturity As DateTime,
price As Double,
redemption As Double,
basis As DayCountBasis
) As Double
public:
static double Disc(
DateTime settlement,
DateTime maturity,
double price,
double redemption,
DayCountBasis^ basis
)
static member Disc :
settlement : DateTime *
maturity : DateTime *
price : float *
redemption : float *
basis : DayCountBasis -> float
Parameters
- settlement
- Type: SystemDateTime
The DateTime settlement date of the security.
- maturity
- Type: SystemDateTime
The DateTime maturity date of the security.
- price
- Type: SystemDouble
A double which specifies the security's price per $100 face
value.
- redemption
- Type: SystemDouble
A double which the security's redemption value per $100 face
value.
- basis
- Type: Imsl.FinanceDayCountBasis
A DayCountBasis object which contains the type of day count
basis to use.
Return Value
Type:
Double
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:
In the equation above,

represents the number
of days in a year based on the annual basis and

represents the number of days starting
with the settlement date and ending with the maturity date.
See Also