public static final class ResolvedOvernightFutureOption.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedOvernightFutureOption>
ResolvedOvernightFutureOption.public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResolvedOvernightFutureOption>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedOvernightFutureOption>public ResolvedOvernightFutureOption.Builder set(String propertyName, Object newValue)
public ResolvedOvernightFutureOption.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResolvedOvernightFutureOption>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedOvernightFutureOption>public ResolvedOvernightFutureOption build()
public ResolvedOvernightFutureOption.Builder securityId(SecurityId securityId)
This identifier uniquely identifies the security within the system.
securityId - the new value, not nullpublic ResolvedOvernightFutureOption.Builder putCall(PutCall putCall)
A call gives the owner the right, but not obligation, to buy the underlying at an agreed price in the future. A put gives a similar option to sell.
putCall - the new valuepublic ResolvedOvernightFutureOption.Builder strikePrice(double strikePrice)
This is the price at which the option applies and refers to the price of the underlying future. The rate implied by the strike can take negative values.
Strata uses decimal prices for Overnight futures in the trade model, pricers and market data. The decimal price is based on the decimal rate equivalent to the percentage. For example, a price of 99.32 implies an interest rate of 0.68% which is represented in Strata by 0.9932.
strikePrice - the new valuepublic ResolvedOvernightFutureOption.Builder expiry(ZonedDateTime expiry)
The date must not be after last trade date of the underlying future.
expiry - the new value, not nullpublic ResolvedOvernightFutureOption.Builder premiumStyle(FutureOptionPremiumStyle premiumStyle)
The two options are daily margining and upfront premium.
premiumStyle - the new value, not nullpublic ResolvedOvernightFutureOption.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.
rounding - the new value, not nullpublic ResolvedOvernightFutureOption.Builder underlyingFuture(ResolvedOvernightFuture underlyingFuture)
underlyingFuture - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedOvernightFutureOption>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.