Package cdm.observable.asset
Class TransactedPrice.TransactedPriceImpl
java.lang.Object
cdm.observable.asset.TransactedPrice.TransactedPriceImpl
- All Implemented Interfaces:
TransactedPrice,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
TransactedPrice
Immutable Implementation of TransactedPrice
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.TransactedPrice
TransactedPrice.TransactedPriceBuilder, TransactedPrice.TransactedPriceBuilderImpl, TransactedPrice.TransactedPriceImpl -
Field Summary
Fields inherited from interface cdm.observable.asset.TransactedPrice
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanAn optional element that contains the up-front points expressed as a percentage of the notional.An optional element that only has meaning in a credit index trade.An optional element that only has meaning in a credit index trade.An optional element that contains the up-front points expressed as a percentage of the notional.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface cdm.observable.asset.TransactedPrice
getType, metaData, process
-
Constructor Details
-
TransactedPriceImpl
-
-
Method Details
-
getMarketFixedRate
@RosettaAttribute("marketFixedRate") @RuneAttribute("marketFixedRate") public BigDecimal getMarketFixedRate()Description copied from interface:TransactedPriceAn optional element that only has meaning in a credit index trade. This element contains the credit spread ('fair value') at which the trade was executed. Unlike the fixedRate of an index, the marketFixedRate varies over the life of the index depending on market conditions. The marketFixedRate is the price of the index as quoted by trading desks.- Specified by:
getMarketFixedRatein interfaceTransactedPrice
-
getInitialPoints
@RosettaAttribute("initialPoints") @RuneAttribute("initialPoints") public BigDecimal getInitialPoints()Description copied from interface:TransactedPriceAn optional element that contains the up-front points expressed as a percentage of the notional. An initialPoints value of 5% would be represented as 0.05. The initialPoints element is an alternative to marketFixedRate in quoting the traded level of a trade. When initialPoints is used, the traded level is the sum of fixedRate and initialPoints. The initialPoints is one of the items that are factored into the initialPayment calculation and is payable by the Buyer to the Seller. Note that initialPoints and marketFixedRate may both be present in the same document when both implied values are desired.- Specified by:
getInitialPointsin interfaceTransactedPrice
-
getMarketPrice
Description copied from interface:TransactedPriceAn optional element that only has meaning in a credit index trade. This element contains the price at which the trade was executed and is used instead of marketFixedRate on credit trades on certain indicies which are quoted using a price rather than a spread.- Specified by:
getMarketPricein interfaceTransactedPrice
-
getQuotationStyle
@RosettaAttribute("quotationStyle") @RuneAttribute("quotationStyle") public QuotationStyleEnum getQuotationStyle()Description copied from interface:TransactedPriceAn optional element that contains the up-front points expressed as a percentage of the notional. An initialPoints value of 5% would be represented as 0.05. The initialPoints element is an alternative to marketFixedRate in quoting the traded level of a trade. When initialPoints is used, the traded level is the sum of fixedRate and initialPoints. The initialPoints is one of the items that are factored into the initialPayment calculation and is payable by the Buyer to the Seller. Note that initialPoints and marketFixedRate may both be present in the same document when both implied values are desired.- Specified by:
getQuotationStylein interfaceTransactedPrice
-
build
Description copied from interface:TransactedPriceBuild Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
buildin interfaceTransactedPrice
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
toBuilderin interfaceTransactedPrice
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-