public class TreasuryFuturesMarketSnap extends PositionMarketSnap
Constructor and Description |
---|
TreasuryFuturesMarketSnap(JulianDate dtSnap,
double dblMarketValue)
TreasuryFuturesMarketSnap Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
conversionFactor()
Retrieve the CTD Conversion Factor at Expiry
|
java.lang.String |
ctdName()
Retrieve the CTD Name
|
double |
expiryCleanPrice()
Retrieve the Clean Price at Expiry
|
JulianDate |
expiryDate()
Retrieve the Expiry Date
|
boolean |
setCleanExpiryPrice(double dblExpiryCleanPrice)
Set the Clean Expiry Price
|
boolean |
setConversionFactor(double dblConversionFactor)
Set the CTD Conversion Factor at Expiry
|
boolean |
setCTDName(java.lang.String strCTDName)
Set the CTD Bond Name
|
boolean |
setExpiryDate(JulianDate dtExpiry)
Set the Expiry Date
|
boolean |
setYieldMarketFactor(double dblYield,
double dblYieldSensitivity,
double dblYieldRollDown)
Set the Yield Level and Position Sensitivity
|
addManifestMeasureSnap, c1, content, cumulativeCouponAmount, date, header, manifestMeasures, manifestMeasureSnap, marketMeasureName, marketMeasureValue, marketValue, r1, setC1, setCumulativeCouponAmount, setDate, setMarketMeasureName, setMarketMeasureValue, setR1, setR1, snapDate
public TreasuryFuturesMarketSnap(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 setYieldMarketFactor(double dblYield, double dblYieldSensitivity, double dblYieldRollDown)
dblYield
- The Yield LeveldblYieldSensitivity
- The Position Yield SensitivitydblYieldRollDown
- The Position Yield Roll Downpublic boolean setExpiryDate(JulianDate dtExpiry)
dtExpiry
- The Expiry Datepublic JulianDate expiryDate()
public boolean setCTDName(java.lang.String strCTDName)
strCTDName
- Name of the CTD Bondpublic java.lang.String ctdName()
public boolean setCleanExpiryPrice(double dblExpiryCleanPrice)
dblExpiryCleanPrice
- The Clean Price of the CTD at Expirypublic double expiryCleanPrice() throws java.lang.Exception
java.lang.Exception
- Thrown if the Clean Price at Expiry cannot be obtainedpublic boolean setConversionFactor(double dblConversionFactor)
dblConversionFactor
- The Conversion Factor at Expirypublic double conversionFactor() throws java.lang.Exception
java.lang.Exception
- Thrown if the CTD Conversion Factor cannot be obtained