public final class Dsf extends Object implements SecuritizedProduct, Resolvable<ResolvedDsf>, org.joda.beans.ImmutableBean, Serializable
A deliverable swap future is a financial instrument that physically settles an interest rate swap on a future date. The delivered swap is cleared by a central counterparty. The last future price before delivery is quoted in term of the underlying swap present value. The futures product is margined on a daily basis.
(100 + percentPv), or 0.182% in this example.
Strata uses decimal prices for DSFs in the trade model, pricers and market data. The decimal price is based on the decimal multiplier equivalent to the implied percentage. Thus the market price of 100.182 is represented in Strata by 1.00182.
| Modifier and Type | Class and Description |
|---|---|
static class |
Dsf.Builder
The bean-builder for
Dsf. |
static class |
Dsf.Meta
The meta-bean for
Dsf. |
| Modifier and Type | Method and Description |
|---|---|
static Dsf.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
Currency |
getCurrency()
Gets the currency of the underlying swap.
|
LocalDate |
getDeliveryDate()
Gets the delivery date.
|
LocalDate |
getLastTradeDate()
Gets the last date of trading.
|
double |
getNotional()
Gets the notional of the futures.
|
SecurityId |
getSecurityId()
Gets the security identifier.
|
Swap |
getUnderlyingSwap()
Gets the underlying swap.
|
int |
hashCode() |
static Dsf.Meta |
meta()
The meta-bean for
Dsf. |
Dsf.Meta |
metaBean() |
ResolvedDsf |
resolve(ReferenceData refData) |
Dsf.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitallCurrenciesallPaymentCurrencies, isCrossCurrencypublic Currency getCurrency()
The underlying swap must have a single currency.
getCurrency in interface SecuritizedProductpublic ResolvedDsf resolve(ReferenceData refData)
resolve in interface Resolvable<ResolvedDsf>public static Dsf.Meta meta()
Dsf.public static Dsf.Builder builder()
public Dsf.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic SecurityId getSecurityId()
This identifier uniquely identifies the security within the system.
getSecurityId in interface SecuritizedProductpublic double getNotional()
This is also called face value or contract value.
public LocalDate getLastTradeDate()
This date must be before the delivery date of the underlying swap.
public LocalDate getDeliveryDate()
The underlying swap is delivered on this date.
public Swap getUnderlyingSwap()
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.
public Dsf.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.