public final class IborFixingDeposit extends Object implements Product, Resolvable<ResolvedIborFixingDeposit>, org.joda.beans.ImmutableBean, Serializable
An Ibor fixing deposit is a fictitious financial instrument that provides a floating rate of interest on notional amount for a specific term, which is effectively an exchange of a fixed rate and a floating rate based on an Ibor index on the term end date.
For example, an Ibor fixing deposit involves the exchange of the difference between the fixed rate of 1% and the 'GBP-LIBOR-3M' rate for the principal in 3 months time.
| Modifier and Type | Class and Description |
|---|---|
static class |
IborFixingDeposit.Builder
The bean-builder for
IborFixingDeposit. |
static class |
IborFixingDeposit.Meta
The meta-bean for
IborFixingDeposit. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<Currency> |
allCurrencies()
Returns the set of currencies the product refers to.
|
static IborFixingDeposit.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
Optional<BusinessDayAdjustment> |
getBusinessDayAdjustment()
Gets the business day adjustment to apply to the start and end date, optional.
|
BuySell |
getBuySell()
Gets whether the Ibor fixing deposit is 'Buy' or 'Sell'.
|
Currency |
getCurrency()
Gets the primary currency, defaulted to the currency of the index.
|
DayCount |
getDayCount()
Gets the day count convention applicable, defaulted to the day count of the index.
|
LocalDate |
getEndDate()
Gets the end date of the deposit.
|
double |
getFixedRate()
Gets the fixed interest rate to be paid.
|
DaysAdjustment |
getFixingDateOffset()
Gets the offset of the fixing date from the start date.
|
IborIndex |
getIndex()
Gets the Ibor index.
|
double |
getNotional()
Gets the notional amount.
|
LocalDate |
getStartDate()
Gets the start date of the deposit.
|
int |
hashCode() |
static IborFixingDeposit.Meta |
meta()
The meta-bean for
IborFixingDeposit. |
IborFixingDeposit.Meta |
metaBean() |
ResolvedIborFixingDeposit |
resolve(ReferenceData refData) |
IborFixingDeposit.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitallPaymentCurrencies, isCrossCurrencypublic ImmutableSet<Currency> allCurrencies()
ProductThis returns the complete set of currencies, not just the payment currencies. For example, the sets will differ when one of the currencies is non-deliverable.
allCurrencies in interface Productpublic ResolvedIborFixingDeposit resolve(ReferenceData refData)
resolve in interface Resolvable<ResolvedIborFixingDeposit>public static IborFixingDeposit.Meta meta()
IborFixingDeposit.public static IborFixingDeposit.Builder builder()
public IborFixingDeposit.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic BuySell getBuySell()
A value of 'Buy' implies that the floating rate is paid to the counterparty, with the fixed rate being received. A value of 'Sell' implies that the floating rate is received from the counterparty, with the fixed rate being paid.
public Currency getCurrency()
This is the currency of the deposit and the currency that payment is made in. The data model permits this currency to differ from that of the index, however the two are typically the same.
When building, this will default to the currency of the index if not specified.
public double getNotional()
The notional expressed here must be non-negative.
The currency of the notional is specified by currency.
public LocalDate getStartDate()
Interest accrues from this date.
This date is typically set to be a valid business day.
Optionally, the businessDayAdjustment property may be set to provide a rule for adjustment.
public LocalDate getEndDate()
Interest accrues until this date.
This date is typically set to be a valid business day.
Optionally, the businessDayAdjustment property may be set to provide a rule for adjustment.
This date must be after the start date.
public Optional<BusinessDayAdjustment> getBusinessDayAdjustment()
The start and end date are typically defined as valid business days and thus do not need to be adjusted. If this optional property is present, then the start and end date will be adjusted as defined here.
public IborIndex getIndex()
The floating rate to be paid or received is based on this index It will be a well known market index such as 'GBP-LIBOR-3M'.
See buySell to determine whether this rate is paid or received.
public DaysAdjustment getFixingDateOffset()
The offset is applied to the start date and is typically minus 2 business days. The data model permits the offset to differ from that of the index, however the two are typically the same.
When building, this will default to the fixing date offset of the index if not specified.
public DayCount getDayCount()
This is used to convert dates to a numerical value. The data model permits the day count to differ from that of the index, however the two are typically the same.
When building, this will default to the day count of the index if not specified.
public double getFixedRate()
public IborFixingDeposit.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.