Returns the interest rate of a fully invested security.
Namespace:
Imsl.Finance
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double Intrate( DateTime settlement, DateTime maturity, double investment, double redemption, DayCountBasis basis ) |
Visual Basic (Declaration) |
---|
Public Shared Function Intrate ( _ settlement As DateTime, _ maturity As DateTime, _ investment As Double, _ redemption As Double, _ basis As DayCountBasis _ ) As Double |
Visual C++ |
---|
public: static double Intrate( DateTime settlement, DateTime maturity, double investment, double redemption, DayCountBasis^ basis ) |
Parameters
- settlement
- Type: System..::.DateTime
The DateTime settlement date of the security.
- maturity
- Type: System..::.DateTime
The DateTime maturity date of the security.
- investment
- Type: System..::.Double
A double which specifies the amount invested.
- redemption
- Type: System..::.Double
A double which specifies the amount to be received at maturity.
- basis
- Type: Imsl.Finance..::.DayCountBasis
A DayCountBasis object which contains the type of day count basis to use.
Return Value
A double which specifies the interest rate for a fully invested security.
Remarks
It is computed using the following:


