@Deprecated public final class ImmutableIborFutureConvention extends Object implements IborFutureConvention, org.joda.beans.ImmutableBean, Serializable
This defines the market convention for a future against a particular index. In most cases, the index contains sufficient information to fully define the convention.
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableIborFutureConvention.Builder
Deprecated.
The bean-builder for
ImmutableIborFutureConvention. |
static class |
ImmutableIborFutureConvention.Meta
Deprecated.
The meta-bean for
ImmutableIborFutureConvention. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableIborFutureConvention.Builder |
builder()
Deprecated.
Returns a builder used to create an instance of the bean.
|
LocalDate |
calculateReferenceDateFromTradeDate(LocalDate tradeDate,
Period minimumPeriod,
int sequenceNumber,
ReferenceData refData)
Deprecated.
Calculates the reference date from the trade date.
|
LocalDate |
calculateReferenceDateFromTradeDate(LocalDate tradeDate,
YearMonth yearMonth,
ReferenceData refData)
Deprecated.
Calculates the reference date from the trade date.
|
IborFutureTrade |
createTrade(LocalDate tradeDate,
SecurityId securityId,
Period minimumPeriod,
int sequenceNumber,
double quantity,
double notional,
double price,
ReferenceData refData)
Deprecated.
Creates a trade based on this convention.
|
IborFutureTrade |
createTrade(LocalDate tradeDate,
SecurityId securityId,
YearMonth yearMonth,
double quantity,
double notional,
double price,
ReferenceData refData)
Deprecated.
Creates a trade based on this convention.
|
boolean |
equals(Object obj)
Deprecated.
|
BusinessDayAdjustment |
getBusinessDayAdjustment()
Deprecated.
Gets the business day adjustment to apply to the reference date.
|
DateSequence |
getDateSequence()
Deprecated.
Gets the sequence of dates that the future is based on.
|
IborIndex |
getIndex()
Deprecated.
Gets the Ibor index.
|
String |
getName()
Deprecated.
Gets the convention name, such as 'USD-LIBOR-3M-Quarterly-IMM'.
|
int |
hashCode()
Deprecated.
|
static ImmutableIborFutureConvention.Meta |
meta()
Deprecated.
The meta-bean for
ImmutableIborFutureConvention. |
ImmutableIborFutureConvention.Meta |
metaBean()
Deprecated.
|
static ImmutableIborFutureConvention |
of(IborIndex index,
DateSequence dateSequence)
Deprecated.
Creates a convention based on the specified index and the sequence of dates.
|
ImmutableIborFutureConvention.Builder |
toBuilder()
Deprecated.
Returns a builder that allows this bean to be mutated.
|
String |
toString()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitextendedEnum, ofpublic static ImmutableIborFutureConvention of(IborIndex index, DateSequence dateSequence)
The standard market convention is based on the index. The business day adjustment is set to be 'Following' using the effective date calendar from the index. The convention name will default to the name of the index suffixed by the name of the date sequence.
index - the index, the calendar for the adjustment is extracted from the indexdateSequence - the sequence of datespublic IborFutureTrade createTrade(LocalDate tradeDate, SecurityId securityId, Period minimumPeriod, int sequenceNumber, double quantity, double notional, double price, ReferenceData refData)
IborFutureConventionThis returns a trade based on the specified minimum period and sequence number.
createTrade in interface IborFutureConventiontradeDate - the trade datesecurityId - the identifier of the securityminimumPeriod - minimum period between the value date and the first futuresequenceNumber - the 1-based sequence number of the futuresquantity - the number of contracts traded, positive if buying, negative if sellingnotional - the notional amount of one future contractprice - the trade price of the futurerefData - the reference data, used to resolve the trade datespublic IborFutureTrade createTrade(LocalDate tradeDate, SecurityId securityId, YearMonth yearMonth, double quantity, double notional, double price, ReferenceData refData)
IborFutureConventionThis returns a trade based on the specified year-month.
createTrade in interface IborFutureConventiontradeDate - the trade datesecurityId - the identifier of the securityyearMonth - the year-month that the future is defined to be forquantity - the number of contracts traded, positive if buying, negative if sellingnotional - the notional amount of one future contractprice - the trade price of the futurerefData - the reference data, used to resolve the trade datespublic LocalDate calculateReferenceDateFromTradeDate(LocalDate tradeDate, Period minimumPeriod, int sequenceNumber, ReferenceData refData)
IborFutureConventionThis determines the date from the specified minimum period and sequence number.
calculateReferenceDateFromTradeDate in interface IborFutureConventiontradeDate - the trade dateminimumPeriod - minimum period between the trade date and the first futuresequenceNumber - the 1-based sequence number of the futuresrefData - the reference data, used to resolve the datepublic LocalDate calculateReferenceDateFromTradeDate(LocalDate tradeDate, YearMonth yearMonth, ReferenceData refData)
IborFutureConventionThis determines the date from the specified year-month.
calculateReferenceDateFromTradeDate in interface IborFutureConventiontradeDate - the trade dateyearMonth - the year-month that the future is defined to be forrefData - the reference data, used to resolve the datepublic static ImmutableIborFutureConvention.Meta meta()
ImmutableIborFutureConvention.public static ImmutableIborFutureConvention.Builder builder()
public ImmutableIborFutureConvention.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic IborIndex getIndex()
The floating rate to be paid is based on this index It will be a well known market index such as 'GBP-LIBOR-3M'.
getIndex in interface IborFutureConventionpublic String getName()
This will default to the name of the index suffixed by the name of the date sequence if not specified.
getName in interface NamedgetName in interface IborFutureConventionpublic DateSequence getDateSequence()
This is used to calculate the reference date of the future that is the start date of the underlying synthetic deposit.
public BusinessDayAdjustment getBusinessDayAdjustment()
The reference date, which is often the third Wednesday of the month, will be adjusted as defined here.
public ImmutableIborFutureConvention.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.