public static final class IborFutureSecurity.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFutureSecurity>
IborFutureSecurity.| Modifier and Type | Method and Description |
|---|---|
IborFutureSecurity |
build() |
Object |
get(String propertyName) |
IborFutureSecurity.Builder |
index(IborIndex index)
Sets the underlying Ibor index.
|
IborFutureSecurity.Builder |
info(SecurityInfo info)
Sets the standard security information.
|
IborFutureSecurity.Builder |
lastTradeDate(LocalDate lastTradeDate)
Sets the last date of trading.
|
IborFutureSecurity.Builder |
notional(double notional)
Sets the notional amount.
|
IborFutureSecurity.Builder |
rounding(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
|
IborFutureSecurity.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
IborFutureSecurity.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<IborFutureSecurity>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFutureSecurity>public IborFutureSecurity.Builder set(String propertyName, Object newValue)
public IborFutureSecurity.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<IborFutureSecurity>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFutureSecurity>public IborFutureSecurity build()
public IborFutureSecurity.Builder info(SecurityInfo info)
This includes the security identifier.
info - the new value, not nullpublic IborFutureSecurity.Builder notional(double notional)
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 the same as the currency of the index.
notional - the new valuepublic IborFutureSecurity.Builder lastTradeDate(LocalDate lastTradeDate)
lastTradeDate - the new value, not nullpublic IborFutureSecurity.Builder index(IborIndex index)
The future is based on this index. It will be a well known market index such as 'USD-LIBOR-3M'.
index - the new value, not nullpublic IborFutureSecurity.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<IborFutureSecurity>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.