Package cdm.observable.asset
Interface CrossRate
- All Superinterfaces:
QuotedCurrencyPair,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
CrossRate.CrossRateBuilder
- All Known Implementing Classes:
CrossRate.CrossRateBuilderImpl,CrossRate.CrossRateImpl
@RosettaDataType(value="CrossRate",
builder=CrossRateBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="CrossRate",
model="cdm",
builder=CrossRateBuilderImpl.class,
version="5.30.0")
public interface CrossRate
extends QuotedCurrencyPair
A class that is used for including the currency exchange rates used to cross between the traded currencies for non-base currency FX contracts.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of CrossRatestatic classImmutable Implementation of CrossRateNested classes/interfaces inherited from interface cdm.observable.asset.QuotedCurrencyPair
QuotedCurrencyPair.QuotedCurrencyPairBuilder, QuotedCurrencyPair.QuotedCurrencyPairBuilderImpl, QuotedCurrencyPair.QuotedCurrencyPairImpl -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic CrossRate.CrossRateBuilderbuilder()An optional element used for deals consummated in the FX Forwards market.getRate()The exchange rate used to cross between the traded currencies.An optional element used for FX forwards and certain types of FX OTC options.getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends CrossRate> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface cdm.observable.asset.QuotedCurrencyPair
getCurrency1, getCurrency2, getQuoteBasisMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getRate
BigDecimal getRate()The exchange rate used to cross between the traded currencies. -
getSpotRate
BigDecimal getSpotRate()An optional element used for FX forwards and certain types of FX OTC options. For deals consummated in the FX Forwards Market, this represents the current market rate for a particular currency pair. -
getForwardPoints
BigDecimal getForwardPoints()An optional element used for deals consummated in the FX Forwards market. Forward points represent the interest rate differential between the two currencies traded and are quoted as a premium or a discount. Forward points are added to, or subtracted from, the spot rate to create the rate of the forward trade. -
build
CrossRate build()Build Methods- Specified by:
buildin interfaceQuotedCurrencyPair- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
CrossRate.CrossRateBuilder toBuilder()- Specified by:
toBuilderin interfaceQuotedCurrencyPair- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfaceQuotedCurrencyPair- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfaceQuotedCurrencyPair- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfaceQuotedCurrencyPair- Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-