Returns the bond-equivalent yield of a Treasury bill.
Namespace:
Imsl.Finance
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double Tbilleq( DateTime settlement, DateTime maturity, double rate ) |
Visual Basic (Declaration) |
---|
Public Shared Function Tbilleq ( _ settlement As DateTime, _ maturity As DateTime, _ rate As Double _ ) As Double |
Visual C++ |
---|
public: static double Tbilleq( 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 bond-equivalent yield for the Treasury bill. This is an annualized rate based on the purchase price of the bills and reflects the actual yield to maturity.
Remarks
It is computed using the following:
If


