public class Bullet
extends java.lang.Object
Constructor and Description |
---|
Bullet(int iTerminalDate,
int iPayDate,
int iFXFixingDate,
double dblBaseNotional,
Array2D notlSchedule,
java.lang.String strPayCurrency,
java.lang.String strCouponCurrency,
CreditLabel creditLabel)
Construct a Bullet instance from the specified parameters
|
Modifier and Type | Method and Description |
---|---|
double |
baseNotional()
Get the Base Notional
|
CollateralLabel |
collateralLabel()
Return the Collateral Label
|
java.lang.String |
couponCurrency()
Retrieve the Coupon Currency
|
CreditLabel |
creditLabel()
Return the Credit Label
|
FundingLabel |
fundingLabel()
Return the Funding Label
|
PredictorResponseWeightConstraint |
fundingPRWC(int iValueDate,
CurveSurfaceQuoteContainer csqs,
ProductQuoteSet pqs)
Generate the Funding Predictor/Response Constraint
|
double |
fx(CurveSurfaceQuoteContainer csqs)
Coupon Period FX
|
int |
fxFixingDate()
Return the period FX Fixing Date
|
FXLabel |
fxLabel()
Return the FX Label
|
boolean |
isFXMTM()
Is this Cash Flow FX MTM'ed?
|
BulletMetrics |
metrics(int iValueDate,
CurveSurfaceQuoteContainer csqs)
Compute the Metrics at the Specified Valuation Date
|
double |
notional(int iDate)
Notional Corresponding to the specified Date
|
double |
notional(int iDate1,
int iDate2)
Notional Aggregated over the specified Dates
|
Array2D |
notionalSchedule()
Get the Notional Schedule
|
java.lang.String |
payCurrency()
Retrieve the Pay Currency
|
int |
payDate()
Return the period Pay Date
|
int |
terminalDate()
Return the Terminal Date
|
public Bullet(int iTerminalDate, int iPayDate, int iFXFixingDate, double dblBaseNotional, Array2D notlSchedule, java.lang.String strPayCurrency, java.lang.String strCouponCurrency, CreditLabel creditLabel) throws java.lang.Exception
iTerminalDate
- Period End DateiPayDate
- Period Pay DateiFXFixingDate
- The FX Fixing Date for non-MTM'ed Cash-flowdblBaseNotional
- Coupon Period Base NotionalnotlSchedule
- Coupon Period Notional SchedulestrPayCurrency
- Pay CurrencystrCouponCurrency
- Coupon CurrencycreditLabel
- The Credit Labeljava.lang.Exception
- Thrown if the inputs are invalidpublic int terminalDate()
public int payDate()
public int fxFixingDate()
public double fx(CurveSurfaceQuoteContainer csqs) throws java.lang.Exception
csqs
- Market Parametersjava.lang.Exception
- Thrown if the Inputs are Invalidpublic boolean isFXMTM()
public java.lang.String payCurrency()
public java.lang.String couponCurrency()
public double baseNotional()
public Array2D notionalSchedule()
public double notional(int iDate) throws java.lang.Exception
iDate
- The Specified Datejava.lang.Exception
- Thrown if the Inputs are Invalidpublic double notional(int iDate1, int iDate2) throws java.lang.Exception
iDate1
- The Date #1iDate2
- The Date #2java.lang.Exception
- Thrown if the Inputs are Invalidpublic CollateralLabel collateralLabel()
public CreditLabel creditLabel()
public FundingLabel fundingLabel()
public FXLabel fxLabel()
public BulletMetrics metrics(int iValueDate, CurveSurfaceQuoteContainer csqs)
iValueDate
- Valuation Datecsqs
- The Market Curve Surface/Quote Setpublic PredictorResponseWeightConstraint fundingPRWC(int iValueDate, CurveSurfaceQuoteContainer csqs, ProductQuoteSet pqs)
iValueDate
- The Valuation Datecsqs
- The Market Curve Surface/Quote Setpqs
- Product Quote Set