public class ExchangeInstrumentBuilder
extends java.lang.Object
Constructor and Description |
---|
ExchangeInstrumentBuilder() |
Modifier and Type | Method and Description |
---|---|
static SingleStreamComponent |
ForwardRateFutures(JulianDate dtSpot,
java.lang.String strCurrency)
Generate a Forward Rate Futures Contract corresponding to the Spot Date
|
static SingleStreamComponent[] |
ForwardRateFuturesPack(JulianDate dtSpot,
int iNumContract,
java.lang.String strCurrency)
Generate a Forward Rate Futures Pack corresponding to the Spot Date and the Specified Number of
Contracts
|
static TreasuryFutures |
TreasuryFutures(JulianDate dtSpot,
java.lang.String strFuturesCode,
int[] aiFuturesComponentTreasuryEffectiveDate,
int[] aiFuturesComponentTreasuryMaturityDate,
double[] adblFuturesComponentTreasuryCoupon,
double[] adblFuturesComponentConversionFactor)
Generate the Treasury Futures Instance
|
static TreasuryFutures |
TreasuryFutures(JulianDate dtSpot,
java.lang.String strFuturesCode,
int[] aiFuturesComponentTreasuryEffectiveDate,
int[] aiFuturesComponentTreasuryMaturityDate,
double[] adblFuturesComponentTreasuryCoupon,
double[] adblFuturesComponentConversionFactor,
java.lang.String strFuturesComponentUnderlierSubtype,
java.lang.String strFuturesReferenceMaturityTenor)
Generate the Treasury Futures Instance
|
static TreasuryFutures |
TreasuryFutures(JulianDate dtSpot,
java.lang.String strCode,
JulianDate[] adtEffective,
JulianDate[] adtMaturity,
double[] adblCoupon,
double[] adblConversionFactor,
java.lang.String strUnderlierType,
java.lang.String strUnderlierSubtype,
java.lang.String strMaturityTenor)
Generate an Instance of Treasury Futures given the Inputs
|
public static SingleStreamComponent ForwardRateFutures(JulianDate dtSpot, java.lang.String strCurrency)
dtSpot
- Spot date specifying the contract issuestrCurrency
- Contract Currencypublic static SingleStreamComponent[] ForwardRateFuturesPack(JulianDate dtSpot, int iNumContract, java.lang.String strCurrency)
dtSpot
- Spot date specifying the contract issueiNumContract
- Number of contractsstrCurrency
- Contract currencypublic static TreasuryFutures TreasuryFutures(JulianDate dtSpot, java.lang.String strCode, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblConversionFactor, java.lang.String strUnderlierType, java.lang.String strUnderlierSubtype, java.lang.String strMaturityTenor)
dtSpot
- The Futures Spot DatestrCode
- The Treasury CodeadtEffective
- Array of Effective DatesadtMaturity
- Array of Maturity DatesadblCoupon
- Array of CouponsadblConversionFactor
- The Bond Conversion FactorstrUnderlierType
- The Underlier Type, e.g., TREASURYstrUnderlierSubtype
- The Futures Underlier Sub-type, i.e., BONDSstrMaturityTenor
- The Futures Maturity Tenorpublic static final TreasuryFutures TreasuryFutures(JulianDate dtSpot, java.lang.String strFuturesCode, int[] aiFuturesComponentTreasuryEffectiveDate, int[] aiFuturesComponentTreasuryMaturityDate, double[] adblFuturesComponentTreasuryCoupon, double[] adblFuturesComponentConversionFactor, java.lang.String strFuturesComponentUnderlierSubtype, java.lang.String strFuturesReferenceMaturityTenor)
dtSpot
- The Spot Date InstancestrFuturesCode
- The Treasury Futures CodeaiFuturesComponentTreasuryEffectiveDate
- Array of the Treasury Futures Component Effective DateaiFuturesComponentTreasuryMaturityDate
- Array of the Treasury Futures Component Maturity DateadblFuturesComponentTreasuryCoupon
- Array of the Treasury Futures Component CouponadblFuturesComponentConversionFactor
- Array of the Treasury Futures Component Conversion FactorstrFuturesComponentUnderlierSubtype
- Treasury Futures Component Underlier SubType (BILL/BOND)strFuturesReferenceMaturityTenor
- Treasury Futures Component Reference Maturity Tenorpublic static final TreasuryFutures TreasuryFutures(JulianDate dtSpot, java.lang.String strFuturesCode, int[] aiFuturesComponentTreasuryEffectiveDate, int[] aiFuturesComponentTreasuryMaturityDate, double[] adblFuturesComponentTreasuryCoupon, double[] adblFuturesComponentConversionFactor)
dtSpot
- The Spot Date InstancestrFuturesCode
- The Treasury Futures CodeaiFuturesComponentTreasuryEffectiveDate
- Array of the Treasury Futures Component Effective DateaiFuturesComponentTreasuryMaturityDate
- Array of the Treasury Futures Component Maturity DateadblFuturesComponentTreasuryCoupon
- Array of the Treasury Futures Component CouponadblFuturesComponentConversionFactor
- Array of the Treasury Futures Component Conversion Factor