Returns the price, per $100 face value, of a Treasury bill.
Namespace:
Imsl.Finance
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double Tbillprice( DateTime settlement, DateTime maturity, double rate ) |
Visual Basic (Declaration) |
---|
Public Shared Function Tbillprice ( _ settlement As DateTime, _ maturity As DateTime, _ rate As Double _ ) As Double |
Visual C++ |
---|
public: static double Tbillprice( DateTime settlement, DateTime maturity, double rate ) |
Parameters
- settlement
- Type: System..::.DateTime
The DateTime settlement date of the Treasury. bill.
- maturity
- Type: System..::.DateTime
The DateTime maturity date of the Treasury bill. The maturity cannot be more than a year after the settlement.
- rate
- Type: System..::.Double
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
A double which specifies the price per $100 face value for the Treasury bill.
Remarks
It is computed using the following:

