public static final class ImmutableOvernightFutureContractSpec.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableOvernightFutureContractSpec>
ImmutableOvernightFutureContractSpec.public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ImmutableOvernightFutureContractSpec>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableOvernightFutureContractSpec>public ImmutableOvernightFutureContractSpec.Builder set(String propertyName, Object newValue)
public ImmutableOvernightFutureContractSpec.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ImmutableOvernightFutureContractSpec>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableOvernightFutureContractSpec>public ImmutableOvernightFutureContractSpec build()
public ImmutableOvernightFutureContractSpec.Builder name(String name)
name - the new value, not blankpublic ImmutableOvernightFutureContractSpec.Builder index(OvernightIndex index)
The floating rate to be paid is based on this index It will be a well known market index such as 'GBP-SONIA'.
index - the new value, not nullpublic ImmutableOvernightFutureContractSpec.Builder dateSequence(DateSequence dateSequence)
This is used to calculate the reference date of the future that is the start date of the underlying synthetic deposit.
dateSequence - the new value, not nullpublic ImmutableOvernightFutureContractSpec.Builder accrualMethod(OvernightAccrualMethod accrualMethod)
accrualMethod - the new value, not nullpublic ImmutableOvernightFutureContractSpec.Builder startDateAdjustment(BusinessDayAdjustment startDateAdjustment)
The start date is obtained by applying this adjustment to the reference date from the date sequence. The reference date is often the third Wednesday of the month or the start of the month. This defaults to accepting the date from the sequence without applying a holiday calendar.
startDateAdjustment - the new value, not nullpublic ImmutableOvernightFutureContractSpec.Builder endDateAdjustment(DaysAdjustment endDateAdjustment)
The end date is obtained by applying this adjustment to the next date in sequence from the start date. This defaults to minus one without applying a holiday calendar.
endDateAdjustment - the new valuepublic ImmutableOvernightFutureContractSpec.Builder lastTradeDateAdjustment(DaysAdjustment lastTradeDateAdjustment)
The last trade date is obtained by applying this adjustment to the next date in sequence from the start date. This defaults to the previous business day in the fixing calendar (minus one calendar day and preceding).
lastTradeDateAdjustment - the new value, not nullpublic ImmutableOvernightFutureContractSpec.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 is specified by the index.
notional - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableOvernightFutureContractSpec>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.