diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d10eca..d4ff345 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to PSExchangeClock will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Added + +- Danish krone (DKK) and Swedish krona (SEK) on the FX tab. The UAE dirham (AED) was considered but is not published by the ECB reference rates the FX tab uses (Frankfurter v1 and the ECB XML fallback) + ## [1.1.0] - 2026-09-28 ### Fixed diff --git a/PSExchangeClock/Public/New-StockExchangeCountdownDashboard.ps1 b/PSExchangeClock/Public/New-StockExchangeCountdownDashboard.ps1 index 8c48fcb..219f743 100644 --- a/PSExchangeClock/Public/New-StockExchangeCountdownDashboard.ps1 +++ b/PSExchangeClock/Public/New-StockExchangeCountdownDashboard.ps1 @@ -1142,7 +1142,9 @@ public static class CredManager { return $script:fxCache.Data } - $allCurrencies = @('USD', 'EUR', 'GBP', 'JPY', 'CHF', 'CAD', 'AUD', 'CNY', 'HKD', 'SGD', 'KRW', 'INR', 'BRL', 'ZAR', 'MXN') + # AED (UAE dirham) is not offered: neither Frankfurter v1 (ECB reference rates) + # nor the ECB XML fallback publishes it; only Frankfurter v2's blended rates do + $allCurrencies = @('USD', 'EUR', 'GBP', 'JPY', 'CHF', 'DKK', 'SEK', 'CAD', 'AUD', 'CNY', 'HKD', 'SGD', 'KRW', 'INR', 'BRL', 'ZAR', 'MXN') $currencies = ($allCurrencies | Where-Object { $_ -ne $BaseCurrency }) -join ',' # Try Frankfurter API first diff --git a/README.md b/README.md index 6915f89..0396021 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ Edit the `holidays.json` file in the module's `Data` directory to add market hol |------|--------|-------------| | Exchange hours | Wikipedia scrape / hardcoded fallback | N/A | | Financial news | BBC Business, CNBC Markets, and U.S. EIA RSS feeds configured in `market-news-feeds.json` | Varies by provider | -| Forex rates | [Frankfurter API](https://www.frankfurter.app/) / ECB XML | Unlimited | +| Forex rates | [Frankfurter API](https://www.frankfurter.app/) / ECB XML (ECB reference rates; includes DKK and SEK; AED is not published by the ECB, so it is not shown) | Unlimited | | Cryptocurrency | [CoinGecko API](https://www.coingecko.com/) | Unlimited | | Indices & Commodities | [Twelve Data API](https://twelvedata.com/) | 800 req/day | | Stock quotes | [Alpha Vantage API](https://www.alphavantage.co/) | 25 req/day |