Package org.drip.analytics.output
Class BondEOSMetrics
java.lang.Object
org.drip.analytics.output.BondEOSMetrics
public class BondEOSMetrics
extends java.lang.Object
BondEOSMetrics carries the Option Adjusted Metrics for a Bond with Embedded Options.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Date, Cash Flow, and Cash Flow Period Measure Generation Utilities
- Package = Period Product Targeted Valuation Measures
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description BondEOSMetrics(double dblOASTM, double[] adblOptimalExercisePrice, double[] adblOptimalExerciseValue, double[] adblOptimalExerciseOAS, double[] adblOptimalExerciseOASGap, double[] adblOptimalExerciseDuration, double[] adblOptimalExerciseConvexity, double[][] aadblForwardPrice, boolean[][] aabExerciseIndicator)
BondEOSMetrics Constructor -
Method Summary
Modifier and Type Method Description boolean[][]
exerciseIndicator()
Retrieve the Path/Vertex Exercise Indicator Double Arraydouble[][]
forwardPrice()
Retrieve the Path/Vertex Forward Price Double Arraydouble
oas()
Retrieve the Bond Option Adjusted Spreaddouble
oasConvexity()
Retrieve the Bond Option Adjusted Spread Convexitydouble
oasDuration()
Retrieve the Bond Option Adjusted Spread Durationdouble
oasTM()
Retrieve the Bond Option Adjusted Spread To MaturityUnivariateDiscreteThin
optimalExerciseConvexity()
Retrieve the Optimal Exercise Convexity UDTUnivariateDiscreteThin
optimalExerciseDuration()
Retrieve the Optimal Exercise Duration UDTUnivariateDiscreteThin
optimalExerciseOAS()
Retrieve the Optimal Exercise OAS UDTUnivariateDiscreteThin
optimalExerciseOASGap()
Retrieve the Optimal Exercise OAS Gap UDTUnivariateDiscreteThin
optimalExercisePrice()
Retrieve the Optimal Exercise Price UDTUnivariateDiscreteThin
optimalExerciseValue()
Retrieve the Optimal Exercise Value UDTMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BondEOSMetrics
public BondEOSMetrics(double dblOASTM, double[] adblOptimalExercisePrice, double[] adblOptimalExerciseValue, double[] adblOptimalExerciseOAS, double[] adblOptimalExerciseOASGap, double[] adblOptimalExerciseDuration, double[] adblOptimalExerciseConvexity, double[][] aadblForwardPrice, boolean[][] aabExerciseIndicator) throws java.lang.ExceptionBondEOSMetrics Constructor- Parameters:
dblOASTM
- The OAS To MaturityadblOptimalExercisePrice
- Array of Optimal Exercise PriceadblOptimalExerciseValue
- Array of Optimal Exercise ValueadblOptimalExerciseOAS
- Array of Optimal Exercise OASadblOptimalExerciseOASGap
- Array of Optimal Exercise OAS GapadblOptimalExerciseDuration
- Array of Optimal Exercise DurationadblOptimalExerciseConvexity
- Array of Optimal Exercise ConvexityaadblForwardPrice
- Double Array of Path/Vertex Forward PricesaabExerciseIndicator
- Double Array of Path/Vertex Exercise Indicators- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
optimalExercisePrice
Retrieve the Optimal Exercise Price UDT- Returns:
- The Optimal Exercise Price UDT
-
optimalExerciseValue
Retrieve the Optimal Exercise Value UDT- Returns:
- The Optimal Exercise Value UDT
-
optimalExerciseOAS
Retrieve the Optimal Exercise OAS UDT- Returns:
- The Optimal Exercise OAS UDT
-
optimalExerciseOASGap
Retrieve the Optimal Exercise OAS Gap UDT- Returns:
- The Optimal Exercise OAS Gap UDT
-
optimalExerciseDuration
Retrieve the Optimal Exercise Duration UDT- Returns:
- The Optimal Exercise Duration UDT
-
optimalExerciseConvexity
Retrieve the Optimal Exercise Convexity UDT- Returns:
- The Optimal Exercise Convexity UDT
-
oas
public double oas()Retrieve the Bond Option Adjusted Spread- Returns:
- The Bond Option Adjusted Spread
-
oasTM
public double oasTM()Retrieve the Bond Option Adjusted Spread To Maturity- Returns:
- The Bond Option Adjusted Spread To Maturity
-
oasDuration
public double oasDuration()Retrieve the Bond Option Adjusted Spread Duration- Returns:
- The Bond Option Adjusted Spread Duration
-
oasConvexity
public double oasConvexity()Retrieve the Bond Option Adjusted Spread Convexity- Returns:
- The Bond Option Adjusted Spread Convexity
-
forwardPrice
public double[][] forwardPrice()Retrieve the Path/Vertex Forward Price Double Array- Returns:
- The Path/Vertex Forward Price Double Array
-
exerciseIndicator
public boolean[][] exerciseIndicator()Retrieve the Path/Vertex Exercise Indicator Double Array- Returns:
- The Path/Vertex Exercise Indicator Double Array
-