Class ExchangeRateObservation
- Namespace
- Integrations.Domain.Fx
- Assembly
- Integrations.Domain.dll
One published daily rate from a source, stored exactly as published and never overwritten. Sources publish against a pivot currency (Bank of Canada: every currency vs CAD); cross rates are derived.
public sealed class ExchangeRateObservation
- Inheritance
-
ExchangeRateObservation
- Inherited Members
Properties
Currency
Currency being priced (e.g. USD).
public string Currency { get; init; }
Property Value
Date
Business date the rate was published for.
public DateOnly Date { get; init; }
Property Value
Id
Observation id.
public Guid Id { get; init; }
Property Value
PivotCurrency
Pivot currency the rate is quoted in (e.g. CAD). 1 Currency = Rate PivotCurrency.
public string PivotCurrency { get; init; }
Property Value
Rate
Published rate, stored exactly as published.
public decimal Rate { get; init; }
Property Value
RetrievedAt
When this service fetched it.
public DateTimeOffset RetrievedAt { get; init; }
Property Value
Source
Provider name, e.g. BankOfCanada.
public string Source { get; init; }