public final class IborFixingDepositTrade extends Object implements ProductTrade, ResolvableTrade<ResolvedIborFixingDepositTrade>, org.joda.beans.ImmutableBean, Serializable
An Over-The-Counter (OTC) trade in a IborFixingDeposit.
An Ibor fixing deposit is a fictitious financial instrument that represents the fixing based on an Ibor index.
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 |
IborFixingDepositTrade.Builder
The bean-builder for
IborFixingDepositTrade. |
static class |
IborFixingDepositTrade.Meta
The meta-bean for
IborFixingDepositTrade. |
| Modifier and Type | Method and Description |
|---|---|
static IborFixingDepositTrade.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
TradeInfo |
getInfo()
Gets the additional trade information, defaulted to an empty instance.
|
IborFixingDeposit |
getProduct()
Gets the Ibor fixing deposit product that was agreed when the trade occurred.
|
int |
hashCode() |
static IborFixingDepositTrade.Meta |
meta()
The meta-bean for
IborFixingDepositTrade. |
IborFixingDepositTrade.Meta |
metaBean() |
static IborFixingDepositTrade |
of(TradeInfo info,
IborFixingDeposit product)
Obtains an instance of an Ibor Fixing Deposit trade.
|
ResolvedIborFixingDepositTrade |
resolve(ReferenceData refData)
Resolves this trade using the specified reference data.
|
PortfolioItemSummary |
summarize()
Summarizes the portfolio item.
|
IborFixingDepositTrade.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
IborFixingDepositTrade |
withInfo(PortfolioItemInfo info)
Returns an instance with the specified info.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdpublic static IborFixingDepositTrade of(TradeInfo info, IborFixingDeposit product)
info - the trade infoproduct - the productpublic IborFixingDepositTrade withInfo(PortfolioItemInfo info)
ProductTradewithInfo in interface PortfolioItemwithInfo in interface ProductTradewithInfo in interface ResolvableTrade<ResolvedIborFixingDepositTrade>withInfo in interface Tradeinfo - the new infopublic PortfolioItemSummary summarize()
PortfolioItemThis provides a summary, including a human readable description.
summarize in interface PortfolioItemsummarize in interface Tradepublic ResolvedIborFixingDepositTrade resolve(ReferenceData refData)
ResolvableTrade
This converts this trade to the equivalent resolved form.
All ReferenceDataId identifiers in this instance will be resolved.
The resulting ResolvedTrade is optimized for pricing.
Resolved objects may be bound to data that changes over time, such as holiday calendars. If the data changes, such as the addition of a new holiday, the resolved form will not be updated. Care must be taken when placing the resolved form in a cache or persistence layer.
resolve in interface Resolvable<ResolvedIborFixingDepositTrade>resolve in interface ResolvableTrade<ResolvedIborFixingDepositTrade>refData - the reference data to use when resolvingpublic static IborFixingDepositTrade.Meta meta()
IborFixingDepositTrade.public static IborFixingDepositTrade.Builder builder()
public IborFixingDepositTrade.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic TradeInfo getInfo()
This allows additional information to be attached to the trade.
getInfo in interface PortfolioItemgetInfo in interface Tradepublic IborFixingDeposit getProduct()
The product captures the contracted financial details of the trade.
getProduct in interface ProductTradepublic IborFixingDepositTrade.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.