Skip to content

feat: add DKK and SEK to the FX tab - #7

Open
knightmare2600 wants to merge 1 commit into
PowerShellYoungTeam:mainfrom
knightmare2600:pr/feat-fx-dkk-sek
Open

knightmare2600 wants to merge 1 commit into
PowerShellYoungTeam:mainfrom
knightmare2600:pr/feat-fx-dkk-sek

Conversation

@knightmare2600

@knightmare2600 knightmare2600 commented Oct 9, 2026 •

Copy link
Copy Markdown

Summary

Adds the Danish krone (DKK) and Swedish krona (SEK) to the FX tab's rate rows.

Details

  • Both are ECB reference-rate currencies, so they come from the existing sources unchanged: Frankfurter v1 first, then the ECB daily XML if that fails.
    • Live check of the exact URL the code builds, 2026-10-09: USD/DKK 6.6706, USD/SEK 9.9656.
    • ECB daily XML: EUR/DKK 7.4751, EUR/SEK 11.1675.
  • The Base Currency picker is unchanged.

Considered and not added: UAE dirham (AED)

  • AED was requested too, but neither current source publishes it:
  • Only Frankfurter v2 carries AED. v2 blends rates from 104 central banks by default, and pegged currencies such as AED come from the peg.
  • Switching the FX source would change every existing rate slightly, so it is left out of this PR. A code comment and the README note why.

Checks

  • Parses cleanly; manifest validates.
  • Lint: the Lint workflow already fails on main before this change — PSScriptAnalyzer reports 120 Warning-level findings there (e.g. run 36486962685). This PR adds no new findings (compared by rule, file and message against main), so a red Lint check here is the pre-existing state.
  • Not run: the WPF dashboard itself (Windows-only); checks were run on Linux with PowerShell 7.6.3.
  • CHANGELOG: this PR adds its own entry under [Unreleased]. The PRs in this series are independent where possible, so whichever merges second will have a trivial conflict in that section — keep both entries.

This is one of a series of small PRs (fixes and features kept separate so you can pick and choose): #2 countdown hours · #3 Refresh button · #4 map preferences · #5 Nasdaq Copenhagen · #6 OMXC25 · #7 FX DKK/SEK · #8 København clock · #9 FTSE 100 · #10 ETF labels.

🤖 Generated with Claude Code

Adds the Danish krone and Swedish krona to the FX rate rows. Both are
ECB reference-rate currencies, so they come from the existing sources
unchanged: Frankfurter v1 and, if that fails, the ECB daily XML
(verified live 2026-10-09: USD/DKK 6.6706, USD/SEK 9.9656).

The UAE dirham (AED) was requested too but is not added: neither
Frankfurter v1 nor the ECB XML publishes it. Only Frankfurter v2's
blended central-bank rates carry AED (from its USD peg), and switching
the FX source was out of scope for this change. A code comment and the
README note why.

The Base Currency picker is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant