From 9c56c0fa9985e4bd61e96f0dec12bae7e9032dc1 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 19:31:34 +0000 Subject: [PATCH] fix: map renamed yfinance ticker `PSKY` -> `SKYD` Paramount Skydance changed its name to Skydance Corporation and moved its Class B stock from Nasdaq (`PSKY`) to the NYSE as `SKYD`, effective 2026-10-06, when its acquisition of Warner Bros. Discovery closed. It is the same security under a new symbol, so this is a rename, not a delisting: https://www.sec.gov/Archives/edgar/data/0002041610/000110465926113076/tm2626659d3_8k.htm ; https://www.tradingview.com/news/tradingview:01ced82c4b7be:0-skydance-to-list-class-b-shares-and-warrants-on-nyse-ticker-to-change-to-skyd/ The nightly fetch flagged `PSKY` as uncurated (no data, not in the S&P 500 list). Add a `ticker_renames` entry so the updater fetches history under `SKYD` and writes it to `PSKY`'s resolution file, matching the existing `FI`/`MMC`/`BK`/`SATS`/`EQR` handling. Extend `test_known_renames_present` with the new mapping. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012pDUkRhKXgpLripTZNtGwp --- src/sources/_metadata.py | 1 + src/tests/unit/sources/test_yfinance.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/sources/_metadata.py b/src/sources/_metadata.py index fcb5ac4f..b40397ac 100644 --- a/src/sources/_metadata.py +++ b/src/sources/_metadata.py @@ -1065,6 +1065,7 @@ {"original_ticker": "BK", "replacement_ticker": "BNY"}, {"original_ticker": "SATS", "replacement_ticker": "ECHO"}, {"original_ticker": "EQR", "replacement_ticker": "VMRK"}, + {"original_ticker": "PSKY", "replacement_ticker": "SKYD"}, ], "retired_question_types": frozenset({"single"}), }, diff --git a/src/tests/unit/sources/test_yfinance.py b/src/tests/unit/sources/test_yfinance.py index ab718652..ba76eed8 100644 --- a/src/tests/unit/sources/test_yfinance.py +++ b/src/tests/unit/sources/test_yfinance.py @@ -39,6 +39,7 @@ def test_known_renames_present(self): assert renames["BK"] == "BNY" assert renames["SATS"] == "ECHO" assert renames["EQR"] == "VMRK" + assert renames["PSKY"] == "SKYD" class TestDelistedStocksDefinition: