Skip to content

Class: FxRate

A class describing the rate of a currency conversion: pair of currency, quotation mode and exchange rate.

URI: common_domain_model:FxRate

 classDiagram
    class FxRate
    click FxRate href "../FxRate/"
      FxRate : quotedCurrencyPair





        FxRate --> "1" QuotedCurrencyPair : quotedCurrencyPair
        click QuotedCurrencyPair href "../QuotedCurrencyPair/"



      FxRate : rate

Slots

Name Cardinality and Range Description Inheritance
quotedCurrencyPair 1
QuotedCurrencyPair
Defines the two currencies for an FX trade and the quotation relationship bet... direct
rate 0..1
Decimal
The rate of exchange between the two currencies of the leg of a deal direct

Usages

used by used in type used
Quanto fxRate range FxRate

In Subsets

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self common_domain_model:FxRate
native common_domain_model:FxRate

LinkML Source

Direct

name: FxRate
description: 'A class describing the rate of a currency conversion: pair of currency,
  quotation mode and exchange rate.'
in_subset:
- cdm_observable_asset
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- quotedCurrencyPair
- rate
slot_usage:
  quotedCurrencyPair:
    name: quotedCurrencyPair
    description: Defines the two currencies for an FX trade and the quotation relationship
      between the two currencies.

Induced

name: FxRate
description: 'A class describing the rate of a currency conversion: pair of currency,
  quotation mode and exchange rate.'
in_subset:
- cdm_observable_asset
from_schema: https://w3id.org/lmodel/common-domain-model
slot_usage:
  quotedCurrencyPair:
    name: quotedCurrencyPair
    description: Defines the two currencies for an FX trade and the quotation relationship
      between the two currencies.
attributes:
  quotedCurrencyPair:
    name: quotedCurrencyPair
    description: Defines the two currencies for an FX trade and the quotation relationship
      between the two currencies.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: FxRate
    domain_of:
    - ForeignExchangeRateIndex
    - FxRate
    - ValuationSource
    range: QuotedCurrencyPair
    required: true
  rate:
    name: rate
    description: The rate of exchange between the two currencies of the leg of a deal.
      Must be specified with a quote basis.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: FxRate
    domain_of:
    - FxRate
    range: decimal