public final class ResolvedFixedCouponBondOption extends Object implements ResolvedProduct, org.joda.beans.ImmutableBean, Serializable
FixedCouponBond resolved for pricing.
The option strike is expressed as "Clean price". The "clean" price excludes any accrued interest.
The call/put is provided by the quantity's sign. If positive, it indicates the right to buy the bond (call), if negative it indicates the right to sell the bond (put).
| Modifier and Type | Class and Description |
|---|---|
static class |
ResolvedFixedCouponBondOption.Builder
The bean-builder for
ResolvedFixedCouponBondOption. |
static class |
ResolvedFixedCouponBondOption.Meta
The meta-bean for
ResolvedFixedCouponBondOption. |
| Modifier and Type | Method and Description |
|---|---|
static ResolvedFixedCouponBondOption.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
Currency |
getCurrency()
Returns the bond option currency.
|
ZonedDateTime |
getExpiry()
Gets the expiry date-time of the option.
|
LongShort |
getLongShort()
Gets whether the option is long or short.
|
double |
getQuantity()
Gets the quantity that was traded.
|
ResolvedFixedCouponBondSettlement |
getSettlement()
Gets the bond's settlement details.
|
ResolvedFixedCouponBond |
getUnderlying()
Gets the bond underlying the option.
|
int |
hashCode() |
static ResolvedFixedCouponBondOption.Meta |
meta()
The meta-bean for
ResolvedFixedCouponBondOption. |
ResolvedFixedCouponBondOption.Meta |
metaBean() |
ResolvedFixedCouponBondOption.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public Currency getCurrency()
public static ResolvedFixedCouponBondOption.Meta meta()
ResolvedFixedCouponBondOption.public static ResolvedFixedCouponBondOption.Builder builder()
public ResolvedFixedCouponBondOption.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic LongShort getLongShort()
Long indicates that the owner has the right to exercise the option at expiry.
public ResolvedFixedCouponBond getUnderlying()
public ZonedDateTime getExpiry()
The option is European, and can only be exercised on the expiry date.
public double getQuantity()
This will be positive if buying (call) and negative if selling (put).
public ResolvedFixedCouponBondSettlement getSettlement()
public ResolvedFixedCouponBondOption.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.