public final class ResolvedIborFuture extends Object implements ResolvedProduct, org.joda.beans.ImmutableBean, Serializable
This is the resolved form of IborFuture and is an input to the pricers.
Applications will typically create a ResolvedIborFuture from a IborFuture
using IborFuture.resolve(ReferenceData).
A ResolvedIborFuture is bound to data that changes over time, such as holiday calendars.
If the data changes, such as the addition of a new holiday, the resolved form will not be updated.
Care must be taken when placing the resolved form in a cache or persistence layer.
(100 - percentRate).
Strata uses decimal prices for Ibor futures in the trade model, pricers and market data. The decimal price is based on the decimal rate equivalent to the percentage. For example, a price of 99.32 implies an interest rate of 0.68% which is represented in Strata by 0.9932.
| Modifier and Type | Class and Description |
|---|---|
static class |
ResolvedIborFuture.Builder
The bean-builder for
ResolvedIborFuture. |
static class |
ResolvedIborFuture.Meta
The meta-bean for
ResolvedIborFuture. |
| Modifier and Type | Method and Description |
|---|---|
static ResolvedIborFuture.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
double |
getAccrualFactor()
Gets the accrual factor, defaulted from the index if not set.
|
Currency |
getCurrency()
Gets the currency that the future is traded in.
|
IborRateComputation |
getIborRate()
Gets the Ibor rate observation.
|
IborIndex |
getIndex()
Gets the Ibor index that the future is based on.
|
LocalDate |
getLastTradeDate()
Gets the last date of trading, which is the same as the fixing date.
|
double |
getNotional()
Gets the notional amount.
|
Rounding |
getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
|
SecurityId |
getSecurityId()
Gets the security identifier.
|
int |
hashCode() |
static ResolvedIborFuture.Meta |
meta()
The meta-bean for
ResolvedIborFuture. |
ResolvedIborFuture.Meta |
metaBean() |
ResolvedIborFuture.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public IborIndex getIndex()
public LocalDate getLastTradeDate()
This is typically 2 business days before the IMM date (3rd Wednesday of the month). By including this method, it allows for the possibility of a future where the fixing date and last trade date differ.
public static ResolvedIborFuture.Meta meta()
ResolvedIborFuture.public static ResolvedIborFuture.Builder builder()
public ResolvedIborFuture.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic SecurityId getSecurityId()
This identifier uniquely identifies the security within the system.
public Currency getCurrency()
public double getNotional()
This is the full notional of the deposit, such as 1 million dollars.
The notional expressed here must be positive.
The currency of the notional is specified by currency.
public double getAccrualFactor()
This is the year fraction of the contract, typically 0.25 for a 3 month deposit.
When building, this will default to the number of months in the index divided by 12 if not specified. However, if the index is not month-based, no defaulting will occur.
public IborRateComputation getIborRate()
The future is based on this index. It will be a well known market index such as 'USD-LIBOR-3M'.
public Rounding getRounding()
The price is represented in decimal form, not percentage form. As such, the decimal places expressed by the rounding refers to this decimal form. For example, the common market price of 99.7125 for a 0.2875% rate is represented as 0.997125 which has 6 decimal places.
public ResolvedIborFuture.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.