BoeSeries Class
Definition
- Namespace
- Bodu.Financial.ExchangeRates
- Assembly
- Bodu.Financial.ExchangeRates.Boe.dll
- Package
- Bodu.Financial.ExchangeRates.Boe 0.7.1
- Source
- BoeSeries.cs
Maps a quote currency to the Bank of England Interactive Statistical Database (IADB) series code that publishes its daily spot rate against the pound sterling.
public sealed class BoeSeries
- Inheritance
-
BoeSeries
- Inherited Members
- Extension Methods
Remarks
The Bank of England publishes each currency's daily spot rate as a separate IADB series - for example,
XUDLUSS is the US dollar into Sterling rate. Each series value is the number of units of the quote currency
per one pound, so the provider treats it as a GBP-based rate. The default catalogue is exposed through
Default and can be overridden or extended through the provider options.
Constructors
BoeSeries(string, string, string)
Initializes a new instance of the BoeSeries class.
public BoeSeries(string quoteIsoCode, string seriesCode, string description)
Parameters
quoteIsoCodestringThe quote-currency ISO code.
seriesCodestringThe IADB series code that publishes the currency's daily spot rate.
descriptionstringA short human-readable description of the series.
Exceptions
- ArgumentNullException
Thrown when
quoteIsoCode,seriesCode, ordescriptionis null.
Properties
Default
Gets the default catalogue of Bank of England daily spot series, each quoting a currency against the pound.
public static IReadOnlyList<BoeSeries> Default { get; }
Property Value
- IReadOnlyList<BoeSeries>
The ordered, immutable default series catalogue.
Description
Gets a short human-readable description of the series.
public string Description { get; }
Property Value
- string
The series description.
QuoteIsoCode
Gets the quote-currency ISO code.
public string QuoteIsoCode { get; }
Property Value
- string
The three-letter ISO code of the quote currency.
SeriesCode
Gets the IADB series code that publishes the currency's daily spot rate.
public string SeriesCode { get; }
Property Value
- string
The series code (for example,
XUDLUSS).
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |