|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ftlabs.fisa.calc.QuoteAnalytics
public class QuoteAnalytics
Contains Analytics to all redemptions for the Security from which it was created.
| Constructor Summary | |
|---|---|
QuoteAnalytics(double price,
Calculator[] calculators)
|
|
| Method Summary | |
|---|---|
double |
getAccruedInterest()
Get the accrued interest. |
Analytics |
getAnalytics(Redemption redemption)
|
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. |
Analytics |
getLowestYieldAnalytics()
|
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. |
Redemption |
getRedemption(int index)
|
int |
getRedemptionCount()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuoteAnalytics(double price,
Calculator[] calculators)
| Method Detail |
|---|
public Analytics getLowestYieldAnalytics()
throws CalculationException
CalculationException
public Analytics getAnalytics(Redemption redemption)
throws CalculationException
CalculationExceptionpublic Redemption getRedemption()
AnalyticsRedemption object to which this Analytics object was
calculated.
getRedemption in interface AnalyticsRedemption object to which this Analytics object
is calculated.public Calculator getCalculator()
Analytics
getCalculator in interface Analyticspublic int getRedemptionCount()
public Redemption getRedemption(int index)
public double getPrice()
throws CalculationException
Analytics
getPrice in interface AnalyticsCalculationException
public double getYield()
throws CalculationException
Analytics
getYield in interface AnalyticsCalculationException
public double getMacaulayDuration()
throws CalculationException
Analytics
getMacaulayDuration in interface AnalyticsCalculationException
public double getModifiedDuration()
throws CalculationException
Analytics
getModifiedDuration in interface AnalyticsCalculationException
public double getConvexity()
throws CalculationException
Analytics
getConvexity in interface AnalyticsCalculationException
public double getPriceValue1BP()
throws CalculationException
Analytics
getPriceValue1BP in interface AnalyticsCalculationException
public double getYieldValue1_32()
throws CalculationException
Analytics
getYieldValue1_32 in interface AnalyticsCalculationException
public double getEstimatedMacaulayDuration()
throws CalculationException
Analytics
getEstimatedMacaulayDuration in interface AnalyticsCalculationException
public double getEstimatedModifiedDuration()
throws CalculationException
Analytics
getEstimatedModifiedDuration in interface AnalyticsCalculationException
public double getEstimatedConvexity()
throws CalculationException
Analytics
getEstimatedConvexity in interface AnalyticsCalculationException
public double getAccruedInterest()
throws CalculationException
Analytics
getAccruedInterest in interface AnalyticsCalculationException
public double getTotalInterestFlows()
throws CalculationException
Analytics
getTotalInterestFlows in interface AnalyticsCalculationException
public double getInterestOnInterest()
throws CalculationException
Analytics
getInterestOnInterest in interface AnalyticsCalculationException
public double getInterestOnInterest(double reinvestmentYield)
throws CalculationException
Analytics
getInterestOnInterest in interface AnalyticsCalculationException
public double getAnalyticValue(AnalyticValueType type)
throws CalculationException
AnalyticsAnalyticValueType.
getAnalyticValue in interface Analyticstype - the type of analytic value to get
CalculationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||