public class BulletMetrics
extends java.lang.Object
Constructor and Description |
---|
BulletMetrics(int iTerminalDate,
int iPayDate,
double dblNotional,
double dblSurvival,
double dblDF,
double dblFX,
ConvexityAdjustment convAdj,
CreditLabel creditLabel,
FundingLabel fundingLabel,
FXLabel fxLabel)
BulletMetrics Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
annuity()
Retrieve the Terminal Annuity in the Pay Currency
|
ConvexityAdjustment |
convexityAdjustment()
Retrieve the Terminal Convexity Adjustment
|
CreditLabel |
creditLabel()
Retrieve the Credit Label
|
double |
df()
Retrieve the Terminal DF
|
java.util.Map<java.lang.Integer,java.lang.Double> |
discountFactorFundingLoading(FundingLabel fundingLabel)
Retrieve the Discount Factor Loading Coefficient for the specified Funding Latent State
|
FundingLabel |
fundingLabel()
Retrieve the Funding Label
|
double |
fx()
Retrieve the Terminal FX Rate
|
java.util.Map<java.lang.Integer,java.lang.Double> |
fxFXLoading(FXLabel fxLabel)
Retrieve the FX Loading Coefficient for the specified FX Latent State
|
FXLabel |
fxLabel()
Retrieve the FX Label
|
double |
notional()
Retrieve the Terminal Notional
|
int |
payDate()
Retrieve the Pay Date
|
double |
survival()
Retrieve the Terminal Survival Probability
|
java.util.Map<java.lang.Integer,java.lang.Double> |
survivalProbabilityCreditLoading(CreditLabel creditLabel)
Retrieve the Terminal Survival Probability Loading Coefficient for the specified Credit Latent State
|
int |
terminalDate()
Retrieve the Terminal Date
|
public BulletMetrics(int iTerminalDate, int iPayDate, double dblNotional, double dblSurvival, double dblDF, double dblFX, ConvexityAdjustment convAdj, CreditLabel creditLabel, FundingLabel fundingLabel, FXLabel fxLabel) throws java.lang.Exception
iTerminalDate
- Terminal DateiPayDate
- Pay DatedblNotional
- NotionaldblSurvival
- Terminal SurvivaldblDF
- Terminal Discount FactordblFX
- Terminal FX RateconvAdj
- Terminal Convexity AdjustmentcreditLabel
- The Credit LabelfundingLabel
- The Funding LabelfxLabel
- The FX Labeljava.lang.Exception
- Thrown if Inputs are invalidpublic int terminalDate()
public int payDate()
public double notional()
public double survival()
public double df()
public double fx()
public double annuity()
public ConvexityAdjustment convexityAdjustment()
public java.util.Map<java.lang.Integer,java.lang.Double> survivalProbabilityCreditLoading(CreditLabel creditLabel)
creditLabel
- The Credit Labelpublic java.util.Map<java.lang.Integer,java.lang.Double> discountFactorFundingLoading(FundingLabel fundingLabel)
fundingLabel
- The Funding Labelpublic java.util.Map<java.lang.Integer,java.lang.Double> fxFXLoading(FXLabel fxLabel)
fxLabel
- The FX Labelpublic CreditLabel creditLabel()
public FundingLabel fundingLabel()
public FXLabel fxLabel()