Returns the interest rate for a fully invested security.
The security’s settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.
The security’s maturity date. The maturity date is the date when the security expires.
The amount invested in the security.
The amount to be received at maturity.
The type of day count basis to use.
Contributors: Alberto Ferrari, Marco Russo