public class CDSMarketSnap extends PositionMarketSnap
Constructor and Description |
---|
CDSMarketSnap(JulianDate dtSnap,
double dblMarketValue)
CDSMarketSnap Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
accrued()
Retrieve the Accrued
|
double |
cleanDV01()
Retrieve the Clean DV01
|
double |
couponPV()
Retrieve the Coupon PV
|
java.lang.String |
creditLabel()
Retrieve the Credit Label
|
double |
cumulativeCouponAmount()
Retrieve the Cumulative Coupon Amount
|
double |
currentFairPremium()
Retrieve the Current Fair Premium
|
JulianDate |
effectiveDate()
Retrieve the Effective Date
|
double |
fixedCoupon()
Retrieve the Fixed Coupon
|
double |
initialFairPremium()
Retrieve the Initial Fair Premium
|
double |
lossPV()
Retrieve the Loss PV
|
JulianDate |
maturityDate()
Retrieve the Maturity Date
|
double |
recoveryRate()
Retrieve the Recovery Rate
|
double |
rollDownFairPremium()
Retrieve the Roll Down Fair Premium
|
boolean |
setAccrued(double dblAccrued)
Set the Accrued
|
boolean |
setCleanDV01(double dblCleanDV01)
Set the Clean DV01
|
boolean |
setCouponPV(double dblCouponPV)
Set the Coupon PV
|
boolean |
setCreditLabel(java.lang.String strCreditLabel)
Set the Credit Label
|
boolean |
setCumulativeCouponAmount(double dblCumulativeCouponAmount)
Set the Cumulative Coupon Amount
|
boolean |
setCurrentFairPremium(double dblCurrentFairPremium)
Set the Current Fair Premium
|
boolean |
setEffectiveDate(JulianDate dtEffective)
Set the Effective Date
|
boolean |
setFairPremiumMarketFactor(double dblFairPremium,
double dblFairPremiumSensitivity,
double dblFairPremiumRollDown)
Set the Fair Premium and Position Sensitivity
|
boolean |
setFixedCoupon(double dblFixedCoupon)
Set the Fixed Coupon
|
boolean |
setInitialFairPremium(double dblInitialFairPremium)
Set the Initial Fair Premium
|
boolean |
setLossPV(double dblLossPV)
Set the Loss PV
|
boolean |
setMaturityDate(JulianDate dtMaturity)
Set the Maturity Date
|
boolean |
setRecoveryRate(double dblRecoveryRate)
Set the Recovery Rate
|
boolean |
setRollDownFairPremium(double dblRollDownFairPremium)
Set the Roll Down Fair Premium
|
addManifestMeasureSnap, c1, content, date, header, manifestMeasures, manifestMeasureSnap, marketMeasureName, marketMeasureValue, marketValue, r1, setC1, setDate, setMarketMeasureName, setMarketMeasureValue, setR1, setR1, snapDate
public CDSMarketSnap(JulianDate dtSnap, double dblMarketValue) throws java.lang.Exception
dtSnap
- The Snapshot DatedblMarketValue
- The Snapshot Market Valuejava.lang.Exception
- Thrown if the Inputs are Invalidpublic boolean setFairPremiumMarketFactor(double dblFairPremium, double dblFairPremiumSensitivity, double dblFairPremiumRollDown)
dblFairPremium
- The Fair PremiumdblFairPremiumSensitivity
- The Position Fair Premium SensitivitydblFairPremiumRollDown
- The Position Fair Premium Roll Downpublic boolean setEffectiveDate(JulianDate dtEffective)
dtEffective
- The Effective Datepublic JulianDate effectiveDate()
public boolean setMaturityDate(JulianDate dtMaturity)
dtMaturity
- The Maturity Datepublic JulianDate maturityDate()
public boolean setInitialFairPremium(double dblInitialFairPremium)
dblInitialFairPremium
- The Initial Fair Premiumpublic double initialFairPremium() throws java.lang.Exception
java.lang.Exception
- Thrown if the Initial Fair Premium cannot be obtainedpublic boolean setCurrentFairPremium(double dblCurrentFairPremium)
dblCurrentFairPremium
- The Current Fair Premiumpublic double currentFairPremium() throws java.lang.Exception
java.lang.Exception
- Thrown if the Current Fair Premium cannot be obtainedpublic boolean setFixedCoupon(double dblFixedCoupon)
dblFixedCoupon
- The Fixed Couponpublic double fixedCoupon() throws java.lang.Exception
java.lang.Exception
- Thrown if the Fixed Coupon cannot be obtainedpublic boolean setCleanDV01(double dblCleanDV01)
dblCleanDV01
- The Clean DV01public double cleanDV01() throws java.lang.Exception
java.lang.Exception
- Thrown if the Clean DV01 cannot be obtainedpublic boolean setRollDownFairPremium(double dblRollDownFairPremium)
dblRollDownFairPremium
- The Roll Down Fair Premiumpublic double rollDownFairPremium() throws java.lang.Exception
java.lang.Exception
- Thrown if the Roll Down Fair Premium cannot be obtainedpublic boolean setAccrued(double dblAccrued)
dblAccrued
- The Accruedpublic double accrued() throws java.lang.Exception
java.lang.Exception
- Thrown if the Accrued cannot be obtainedpublic boolean setCumulativeCouponAmount(double dblCumulativeCouponAmount)
setCumulativeCouponAmount
in class PositionMarketSnap
dblCumulativeCouponAmount
- The Cumulative Coupon Amountpublic double cumulativeCouponAmount() throws java.lang.Exception
cumulativeCouponAmount
in class PositionMarketSnap
java.lang.Exception
- Thrown if the Cumulative Coupon Amount cannot be obtainedpublic boolean setCreditLabel(java.lang.String strCreditLabel)
strCreditLabel
- Credit Labelpublic java.lang.String creditLabel()
public boolean setRecoveryRate(double dblRecoveryRate)
dblRecoveryRate
- The Recovery Ratepublic double recoveryRate() throws java.lang.Exception
java.lang.Exception
- Thrown if the Recovery Rate cannot be obtainedpublic boolean setCouponPV(double dblCouponPV)
dblCouponPV
- The Coupon PVpublic double couponPV() throws java.lang.Exception
java.lang.Exception
- Thrown if the Coupon PV cannot be obtainedpublic boolean setLossPV(double dblLossPV)
dblLossPV
- The Loss PVpublic double lossPV() throws java.lang.Exception
java.lang.Exception
- Thrown if the Loss PV cannot be obtained