CalculatorcalculateModifiedDuration(Double) Method
Calculate the actual modified duration. If Macaulay Duration has already
been or will be calculated, then it is more efficient to use the overloaded
calculateModifiedDuration method that accepts the Macaulay Duration.
Namespace: com.ftlabs.fisa.calcAssembly: FISA.NET (in FISA.NET.dll) Version: 1.16.0.13 (1.16.0.13)
double calculateModifiedDuration(
double periodicYield
)
Function calculateModifiedDuration (
periodicYield As Double
) As Double
- periodicYield Double
-
The periodicYield as returned from the calculatePeriodicYield method.
Doublethe modified duration.