public final class ResolvedBondFuture extends Object implements ResolvedProduct, org.joda.beans.ImmutableBean, Serializable
This is the resolved form of BondFuture and is an input to the pricers.
Applications will typically create a ResolvedBondFuture from a BondFuture
using BondFuture.resolve(ReferenceData).
A ResolvedBondFuture 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.
FixedCouponBond. The bond futures delivery is a bond
for an amount computed from the bond future price, a conversion factor and the accrued interest.| Modifier and Type | Class and Description |
|---|---|
static class |
ResolvedBondFuture.Builder
The bean-builder for
ResolvedBondFuture. |
static class |
ResolvedBondFuture.Meta
The meta-bean for
ResolvedBondFuture. |
| Modifier and Type | Method and Description |
|---|---|
static ResolvedBondFuture.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
ImmutableList<Double> |
getConversionFactors()
Gets the conversion factor for each bond in the basket.
|
Currency |
getCurrency()
Obtains the currency of the underlying fixed coupon bonds.
|
ImmutableList<ResolvedFixedCouponBond> |
getDeliveryBasket()
Gets the basket of deliverable bonds.
|
LocalDate |
getFirstDeliveryDate()
Gets the first delivery date.
|
LocalDate |
getFirstNoticeDate()
Gets the first notice date.
|
LocalDate |
getLastDeliveryDate()
Gets the last delivery date.
|
LocalDate |
getLastNoticeDate()
Gets the last notice date.
|
LocalDate |
getLastTradeDate()
Gets the last trading date.
|
double |
getNotional()
Obtains the notional of underlying fixed coupon bonds.
|
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 ResolvedBondFuture.Meta |
meta()
The meta-bean for
ResolvedBondFuture. |
ResolvedBondFuture.Meta |
metaBean() |
ResolvedBondFuture.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public Currency getCurrency()
All of the bonds in the delivery basket have the same currency.
public double getNotional()
All of the bonds in the delivery basket have the same notional.
The currency of the notional is specified by getCurrency().
public static ResolvedBondFuture.Meta meta()
ResolvedBondFuture.public static ResolvedBondFuture.Builder builder()
public ResolvedBondFuture.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic SecurityId getSecurityId()
This identifier uniquely identifies the security within the system.
public ImmutableList<ResolvedFixedCouponBond> getDeliveryBasket()
The underling which will be delivered in the future time is chosen from a basket of underling securities. This must not be empty.
All of the underlying bonds must have the same notional and currency.
public ImmutableList<Double> getConversionFactors()
The price of each underlying security in the basket is rescaled by the conversion factor.
This must not be empty, and its size must be the same as the size of deliveryBasket.
All of the underlying bonds must have the same notional and currency.
public LocalDate getLastTradeDate()
The future security is traded until this date.
public LocalDate getFirstNoticeDate()
The first date on which the delivery of the underlying is authorized.
public LocalDate getLastNoticeDate()
The last date on which the delivery of the underlying is authorized.
public LocalDate getFirstDeliveryDate()
The first date on which the underlying is delivered.
public LocalDate getLastDeliveryDate()
The last date on which the underlying is delivered.
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 ResolvedBondFuture.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.