public final class CdsIndexCalibrationTrade extends Object implements Trade, org.joda.beans.ImmutableBean, Serializable
The CDS index trade and market quote are stored in this class.
CdsIndexTrade and ResolvedCdsIndexTrade should be used for pricing.
| Modifier and Type | Class and Description |
|---|---|
static class |
CdsIndexCalibrationTrade.Meta
The meta-bean for
CdsIndexCalibrationTrade. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TradeInfo |
getInfo()
Gets the standard trade information.
|
CdsQuote |
getQuote()
Gets the CDS index quote.
|
CdsIndexTrade |
getUnderlyingTrade()
Gets the underlying CDS index trade.
|
int |
hashCode() |
static CdsIndexCalibrationTrade.Meta |
meta()
The meta-bean for
CdsIndexCalibrationTrade. |
CdsIndexCalibrationTrade.Meta |
metaBean() |
static CdsIndexCalibrationTrade |
of(CdsIndexTrade trade,
CdsQuote quote)
Creates an instance.
|
PortfolioItemSummary |
summarize()
Summarizes the portfolio item.
|
String |
toString() |
CdsIndexCalibrationTrade |
withInfo(PortfolioItemInfo info)
Returns an instance with the specified info.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdpublic static CdsIndexCalibrationTrade of(CdsIndexTrade trade, CdsQuote quote)
trade - the tradequote - the quotepublic TradeInfo getInfo()
TradeAll trades contain this standard set of information.
getInfo in interface PortfolioItemgetInfo in interface Tradepublic CdsIndexCalibrationTrade withInfo(PortfolioItemInfo info)
TradewithInfo in interface PortfolioItemwithInfo in interface Tradeinfo - the new infopublic PortfolioItemSummary summarize()
PortfolioItemThis provides a summary, including a human readable description.
summarize in interface PortfolioItemsummarize in interface Tradepublic static CdsIndexCalibrationTrade.Meta meta()
CdsIndexCalibrationTrade.public CdsIndexCalibrationTrade.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic CdsIndexTrade getUnderlyingTrade()
public CdsQuote getQuote()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.