public static final class ResolvedBondFuture.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBondFuture>
ResolvedBondFuture.| Modifier and Type | Method and Description |
|---|---|
ResolvedBondFuture |
build() |
ResolvedBondFuture.Builder |
conversionFactors(Double... conversionFactors)
Sets the
conversionFactors property in the builder
from an array of objects. |
ResolvedBondFuture.Builder |
conversionFactors(List<Double> conversionFactors)
Sets the conversion factor for each bond in the basket.
|
ResolvedBondFuture.Builder |
deliveryBasket(List<ResolvedFixedCouponBond> deliveryBasket)
Sets the basket of deliverable bonds.
|
ResolvedBondFuture.Builder |
deliveryBasket(ResolvedFixedCouponBond... deliveryBasket)
Sets the
deliveryBasket property in the builder
from an array of objects. |
ResolvedBondFuture.Builder |
firstDeliveryDate(LocalDate firstDeliveryDate)
Sets the first delivery date.
|
ResolvedBondFuture.Builder |
firstNoticeDate(LocalDate firstNoticeDate)
Sets the first notice date.
|
Object |
get(String propertyName) |
ResolvedBondFuture.Builder |
lastDeliveryDate(LocalDate lastDeliveryDate)
Sets the last delivery date.
|
ResolvedBondFuture.Builder |
lastNoticeDate(LocalDate lastNoticeDate)
Sets the last notice date.
|
ResolvedBondFuture.Builder |
lastTradeDate(LocalDate lastTradeDate)
Sets the last trading date.
|
ResolvedBondFuture.Builder |
rounding(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
|
ResolvedBondFuture.Builder |
securityId(SecurityId securityId)
Sets the security identifier.
|
ResolvedBondFuture.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ResolvedBondFuture.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResolvedBondFuture>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBondFuture>public ResolvedBondFuture.Builder set(String propertyName, Object newValue)
public ResolvedBondFuture.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResolvedBondFuture>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBondFuture>public ResolvedBondFuture build()
public ResolvedBondFuture.Builder securityId(SecurityId securityId)
This identifier uniquely identifies the security within the system.
securityId - the new value, not nullpublic ResolvedBondFuture.Builder deliveryBasket(List<ResolvedFixedCouponBond> deliveryBasket)
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.
deliveryBasket - the new value, not emptypublic ResolvedBondFuture.Builder deliveryBasket(ResolvedFixedCouponBond... deliveryBasket)
deliveryBasket property in the builder
from an array of objects.deliveryBasket - the new value, not emptypublic ResolvedBondFuture.Builder conversionFactors(List<Double> conversionFactors)
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.
conversionFactors - the new value, not emptypublic ResolvedBondFuture.Builder conversionFactors(Double... conversionFactors)
conversionFactors property in the builder
from an array of objects.conversionFactors - the new value, not emptypublic ResolvedBondFuture.Builder lastTradeDate(LocalDate lastTradeDate)
The future security is traded until this date.
lastTradeDate - the new value, not nullpublic ResolvedBondFuture.Builder firstNoticeDate(LocalDate firstNoticeDate)
The first date on which the delivery of the underlying is authorized.
firstNoticeDate - the new value, not nullpublic ResolvedBondFuture.Builder lastNoticeDate(LocalDate lastNoticeDate)
The last date on which the delivery of the underlying is authorized.
lastNoticeDate - the new value, not nullpublic ResolvedBondFuture.Builder firstDeliveryDate(LocalDate firstDeliveryDate)
The first date on which the underlying is delivered.
firstDeliveryDate - the new value, not nullpublic ResolvedBondFuture.Builder lastDeliveryDate(LocalDate lastDeliveryDate)
The last date on which the underlying is delivered.
lastDeliveryDate - the new value, not nullpublic ResolvedBondFuture.Builder rounding(Rounding rounding)
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.
rounding - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedBondFuture>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.