| Modifier and Type | Method and Description |
|---|---|
Dsf |
build() |
Dsf.Builder |
deliveryDate(LocalDate deliveryDate)
Sets the delivery date.
|
Object |
get(String propertyName) |
Dsf.Builder |
lastTradeDate(LocalDate lastTradeDate)
Sets the last date of trading.
|
Dsf.Builder |
notional(double notional)
Sets the notional of the futures.
|
Dsf.Builder |
securityId(SecurityId securityId)
Sets the security identifier.
|
Dsf.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
Dsf.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
Dsf.Builder |
underlyingSwap(Swap underlyingSwap)
Sets the underlying swap.
|
public Dsf.Builder set(String propertyName, Object newValue)
public Dsf.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
public Dsf build()
public Dsf.Builder securityId(SecurityId securityId)
This identifier uniquely identifies the security within the system.
securityId - the new value, not nullpublic Dsf.Builder notional(double notional)
This is also called face value or contract value.
notional - the new valuepublic Dsf.Builder lastTradeDate(LocalDate lastTradeDate)
This date must be before the delivery date of the underlying swap.
lastTradeDate - the new value, not nullpublic Dsf.Builder deliveryDate(LocalDate deliveryDate)
The underlying swap is delivered on this date.
deliveryDate - the new value, not nullpublic Dsf.Builder underlyingSwap(Swap underlyingSwap)
The delivery date of the future is typically the first accrual date of the underlying swap. The swap should be a receiver swap of notional 1.
underlyingSwap - the new value, not nullCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.