PerpetualPreferredCalculatorcalculateModifiedDuration(Double, Double) Method
Calculate the actual modified duration using an already calculated
Macaulay Duration.
Namespace: com.ftlabs.fisa.calcAssembly: FISA.NET (in FISA.NET.dll) Version: 1.16.0.13 (1.16.0.13)
public override double calculateModifiedDuration(
double macaulayDuration,
double periodicYield
)
Public Overrides Function calculateModifiedDuration (
macaulayDuration As Double,
periodicYield As Double
) As Double
- macaulayDuration Double
-
The Macaulay Duration as calculated by the calculateMacaulayDuration method.
- periodicYield Double
-
The periodicYield as returned from the calculatePeriodicYield method.
Doublethe modified duration.
CalculatorcalculateModifiedDuration(Double, Double)