PerpetualPreferredCalculatorcalculateEstimatedModifiedDuration(Double, Double, Double) Method

Calculate an estimated modified duration.

Definition

Namespace: com.ftlabs.fisa.calc
Assembly: FISA.NET (in FISA.NET.dll) Version: 1.16.0.13 (1.16.0.13)
C#
public override double calculateEstimatedModifiedDuration(
	double pv1b,
	double price,
	double yield
)

Parameters

pv1b  Double
The average price value obtained by varying the yield up and down one basis point, as returned by the calculatePriceValue1BP method.
price  Double
the price.
yield  Double
the yield.

Return Value

Double
an estimated modified duration.

Implements

CalculatorcalculateEstimatedModifiedDuration(Double, Double, Double)

Remarks

This is usually faster than the actual modified duration method.

Exceptions

CalculationException CalculationException

See Also