Click or drag to resize
BondPricemat Method
Returns the price, per $100 face value, of a discount bond.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double Pricemat(
	DateTime settlement,
	DateTime maturity,
	DateTime issue,
	double rate,
	double yield,
	DayCountBasis basis
)

Parameters

settlement
Type: SystemDateTime
The DateTime settlement date of the security.
maturity
Type: SystemDateTime
The DateTime maturity date of the security.
issue
Type: SystemDateTime
The DateTime issue date of the security.
rate
Type: SystemDouble
A double which specifies the security's interest rate at issue date.
yield
Type: SystemDouble
A double which specifies the security's annual yield.
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 price per $100 face value of a security that pays interest at maturity.
Remarks

It is computed using the following:

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

See Also