public class TreasuryFuturesConvention
extends java.lang.Object
| Constructor and Description |
|---|
TreasuryFuturesConvention(java.lang.String strName,
java.lang.String[] astrCode,
java.lang.String strCurrency,
java.lang.String strCalendar,
java.lang.String strMaturityTenor,
double dblBasketNotional,
double dblMinimumPriceMovement,
double dblComponentNotionalMinimum,
java.lang.String[] astrExchange,
java.lang.String strUnderlierType,
java.lang.String strUnderlierSubtype,
DateInMonth dimExpiry,
TreasuryFuturesEligibility bfe,
TreasuryFuturesSettle bfs)
TreasuryFuturesConvention Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
basketNotional()
Retrieve the Treasury Futures Basket Notional
|
java.lang.String |
calendar()
Retrieve the Treasury Futures Settle Calendar
|
java.lang.String[] |
codes()
Retrieve the Treasury Futures Code Array
|
java.lang.String |
currency()
Retrieve the Treasury Futures Currency
|
DateInMonth |
dimExpiry()
Retrieve the Date In Month Expiry Settings
|
TreasuryFuturesEligibility |
eligibility()
Retrieve the Treasury Futures Eligibility Settings
|
TreasuryFuturesEventDates |
eventDates(int iYear,
int iMonth)
Retrieve the TreasuryFuturesEventDates Instance corresponding to the Futures Expiry Year/Month
|
java.lang.String[] |
exchanges()
Retrieve the Bond Futures Exchanges Array
|
boolean |
isEligible(JulianDate dtValue,
Bond bond,
double dblOutstandingNotional,
java.lang.String strIssuer)
Indicate whether the given bond is eligible to be delivered
|
java.lang.String |
maturityTenor()
Retrieve the Treasury Futures Maturity Tenor
|
double |
minimumComponentNotional()
Retrieve the Minimum Treasury Futures Component Notional
|
double |
minimumPriceMovement()
Retrieve the Minimimum Price Movement - a.k.a Tick
|
java.lang.String |
name()
Retrieve the Treasury Futures Name
|
double |
referencePrice(double dblFuturesQuotedIndex)
Compute the Reference Bond Price from the Quoted Futures Index Level
|
double |
referencePrice(JulianDate dtValue,
Bond bond,
double dblFuturesQuotedIndex)
Compute the Reference Bond Price from the Quoted Futures Index Level
|
TreasuryFuturesSettle |
settle()
Retrieve the Treasury Futures Settle Settings
|
java.lang.String |
toString() |
java.lang.String |
underlierSubtype()
Retrieve the Treasury Futures Underlier Sub-type
|
java.lang.String |
underlierType()
Retrieve the Treasury Futures Underlier Type
|
public TreasuryFuturesConvention(java.lang.String strName,
java.lang.String[] astrCode,
java.lang.String strCurrency,
java.lang.String strCalendar,
java.lang.String strMaturityTenor,
double dblBasketNotional,
double dblMinimumPriceMovement,
double dblComponentNotionalMinimum,
java.lang.String[] astrExchange,
java.lang.String strUnderlierType,
java.lang.String strUnderlierSubtype,
DateInMonth dimExpiry,
TreasuryFuturesEligibility bfe,
TreasuryFuturesSettle bfs)
throws java.lang.Exception
strName - The Futures NameastrCode - The Array of the Futures CodesstrCurrency - The Futures CurrencystrCalendar - The Futures Settle CalendarstrMaturityTenor - The Maturity TenordblBasketNotional - Basket NotionaldblMinimumPriceMovement - The Minimum Price MovementdblComponentNotionalMinimum - The Minimum Component NotionalastrExchange - Exchange ArraystrUnderlierType - Underlier TypestrUnderlierSubtype - Underlier Sub-TypedimExpiry - The Expiry Date-In-Month Settingbfe - Eligibility Settingsbfs - Settlement Settingsjava.lang.Exception - Thrown if the Inputs are Invalidpublic java.lang.String name()
public java.lang.String calendar()
public java.lang.String[] codes()
public java.lang.String currency()
public java.lang.String maturityTenor()
public double basketNotional()
public double minimumPriceMovement()
public double minimumComponentNotional()
public java.lang.String[] exchanges()
public java.lang.String underlierType()
public java.lang.String underlierSubtype()
public DateInMonth dimExpiry()
public TreasuryFuturesEligibility eligibility()
public TreasuryFuturesSettle settle()
public TreasuryFuturesEventDates eventDates(int iYear, int iMonth)
iYear - Futures YeariMonth - Futures Monthpublic double referencePrice(double dblFuturesQuotedIndex)
throws java.lang.Exception
dblFuturesQuotedIndex - The Quoted Futures Index Leveljava.lang.Exception - Thrown if the Inputs are invalidpublic double referencePrice(JulianDate dtValue, Bond bond, double dblFuturesQuotedIndex) throws java.lang.Exception
dtValue - The Valuation Datebond - The Bond InstancedblFuturesQuotedIndex - The Quoted Futures Index Leveljava.lang.Exception - Thrown if the Treasury Futures Price Generic cannot be computedpublic boolean isEligible(JulianDate dtValue, Bond bond, double dblOutstandingNotional, java.lang.String strIssuer)
dtValue - The Value Datebond - The Bond whose Eligibility is to be evaluateddblOutstandingNotional - The Outstanding NotionalstrIssuer - The Issuerpublic java.lang.String toString()
toString in class java.lang.Object