|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Analytics
An interface that represents all available analytics as calculated for a particular Price/Yield.
| Method Summary | |
|---|---|
double |
getAccruedInterest()
Get the accrued interest. |
double |
getAnalyticValue(AnalyticValueType type)
Get an analytic value of the provided AnalyticValueType. |
Calculator |
getCalculator()
Get the calculator that was used to create this Analytics object. |
double |
getConvexity()
Get the convexity. |
double |
getEstimatedConvexity()
Get the estimated convexity. |
double |
getEstimatedMacaulayDuration()
Get the estimated Macaulay duration. |
double |
getEstimatedModifiedDuration()
Get the estimated modified duration. |
double |
getInterestOnInterest()
Get interest on interest using an assumed reinvestment yield that is equal to yield. |
double |
getInterestOnInterest(double reinvestmentYield)
Get interest on interest. |
double |
getMacaulayDuration()
Get the Macaulay duration |
double |
getModifiedDuration()
Get the modified duration |
double |
getPrice()
Get the price. |
double |
getPriceValue1BP()
Get the average price value obtained by varying the yield up and down by one basis point. |
Redemption |
getRedemption()
Get the Redemption object to which this Analytics object was
calculated. |
double |
getTotalInterestFlows()
Get the total interest flows. |
double |
getYield()
Get the yield. |
double |
getYieldValue1_32()
Get the average yield value obtained by varying the price up and down by 1/32. |
| Method Detail |
|---|
Redemption getRedemption()
Redemption object to which this Analytics object was
calculated.
Redemption object to which this Analytics object
is calculated.Calculator getCalculator()
double getPrice()
throws CalculationException
CalculationException
double getYield()
throws CalculationException
CalculationException
double getAnalyticValue(AnalyticValueType type)
throws CalculationException
AnalyticValueType.
type - the type of analytic value to get
CalculationException
double getMacaulayDuration()
throws CalculationException
CalculationException
double getModifiedDuration()
throws CalculationException
CalculationException
double getConvexity()
throws CalculationException
CalculationException
double getPriceValue1BP()
throws CalculationException
CalculationException
double getYieldValue1_32()
throws CalculationException
CalculationException
double getEstimatedMacaulayDuration()
throws CalculationException
CalculationException
double getEstimatedModifiedDuration()
throws CalculationException
CalculationException
double getEstimatedConvexity()
throws CalculationException
CalculationException
double getTotalInterestFlows()
throws CalculationException
CalculationException
double getInterestOnInterest()
throws CalculationException
CalculationException
double getInterestOnInterest(double reinvestmentYield)
throws CalculationException
reinvestmentYield -
CalculationException
double getAccruedInterest()
throws CalculationException
CalculationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||