Returns the price, per $100 face value, of a Treasury bill.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Tbillprice(
DateTime settlement,
DateTime maturity,
double rate
)
Public Shared Function Tbillprice (
settlement As DateTime,
maturity As DateTime,
rate As Double
) As Double
public:
static double Tbillprice(
DateTime settlement,
DateTime maturity,
double rate
)
static member Tbillprice :
settlement : DateTime *
maturity : DateTime *
rate : float -> float
Parameters
- settlement
- Type: SystemDateTime
The DateTime settlement date of the Treasury.
bill.
- maturity
- Type: SystemDateTime
The DateTime maturity date of the Treasury bill. The maturity
cannot be more than a year after the settlement.
- rate
- Type: SystemDouble
A double which specifies the Treasury bill's discount rate at
issue date. The discount rate is an annualized rate of return based
on the par value of the bills. The discount rate is calculated on a
360-day basis (twelve 30-day months).
Return Value
Type:
Double
A
double which specifies the price per $100 face value for the
Treasury bill.
Remarks
It is computed using the following:
In the equation above,

represents the
number of days in the period starting with the settlement date and
ending with the maturity date (any maturity date that is more than
one calendar year after the settlement date is excluded).
See Also