Fix/287 yfinance delisted renamed - #293
Open
oskariluoma wants to merge 1 commit into
Open
Conversation
oskariluoma
force-pushed
the
fix/287-yfinance-delisted-renamed
branch
from
September 5, 2026 08:38
6532c21 to
eb42a7c
Compare
houtanb
force-pushed
the
fix/287-yfinance-delisted-renamed
branch
from
September 8, 2026 11:40
eb42a7c to
03b7947
Compare
Member
|
@oskariluoma please close the issue from the commit message: #287. Please add the above info to the commit message body as well: #293 (comment) please change the commit message to start with `fix: update delisted and renamed yfinance tickers" |
nikbpetrov
reviewed
Sep 8, 2026
Collaborator
|
1 comment above, otherwise LGTM (love the comments/explanations in the PR so I dont have to rediscover those myself). |
oskariluoma
force-pushed
the
fix/287-yfinance-delisted-renamed
branch
from
September 11, 2026 08:58
03b7947 to
cce2bbb
Compare
IPG was delisted 2025-11-28 when the Omnicom acquisition closed: https://www.omc.com/newsroom/omnicom-completes-acquisition-of-interpublic-forming-the-worlds-leading-marketing-and-sales-company-built-for-intelligent-growth-in-the-next-era/ ; https://stockanalysis.com/stocks/ipg/ HOLX was delisted 2026-04-07, taken private by Blackstone and TPG: https://www.hologic.com/about/press-release/blackstone-and-tpg-complete-acquisition-hologic ; https://stockanalysis.com/stocks/holx/ CTRA was delisted 2026-05-07, merged into Devon Energy: https://investors.devonenergy.com/investors/press-releases/press-release-details/2026/Devon-Energy-and-Coterra-Energy-Complete-Merger/ ; https://stockanalysis.com/stocks/ctra/ SATS was renamed to ECHO on 2026-06-24, still trading on Nasdaq: https://www.lightreading.com/satellite/echostar-to-change-stock-ticker-to-echo- MTCH is neither delisted nor renamed, still trading on Nasdaq: https://stockanalysis.com/stocks/mtch/ It only dropped out of the S&P 500 in the March 2026 rebalance, and the fetch failure had a different cause. For some reason Yahoo did not return "longName" value for MTCH which caused a delisting. Added a fall back to shortName to restore the normal fetch. Nullification dates are last trading day + 1, so 2025-11-27 for IPG, 2026-04-07 for HOLX and 2026-05-07 for CTRA. Verified those against the last real price change in each resolution file. Also added a test to see if the MTCH handling worked, let me know if you think this isn't needed. Closes forecastingresearch#287
houtanb
force-pushed
the
fix/287-yfinance-delisted-renamed
branch
from
September 11, 2026 09:55
cce2bbb to
3363fbb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix: update delisted and renamed yfinance tickers
IPG was delisted 2025-11-28 when the Omnicom acquisition closed: https://www.omc.com/newsroom/omnicom-completes-acquisition-of-interpublic-forming-the-worlds-leading-marketing-and-sales-company-built-for-intelligent-growth-in-the-next-era/ ; https://stockanalysis.com/stocks/ipg/
HOLX was delisted 2026-04-07, taken private by Blackstone and TPG: https://www.hologic.com/about/press-release/blackstone-and-tpg-complete-acquisition-hologic ; https://stockanalysis.com/stocks/holx/
CTRA was delisted 2026-05-07, merged into Devon Energy: https://investors.devonenergy.com/investors/press-releases/press-release-details/2026/Devon-Energy-and-Coterra-Energy-Complete-Merger/ ; https://stockanalysis.com/stocks/ctra/
SATS was renamed to ECHO on 2026-06-24, still trading on Nasdaq: https://www.lightreading.com/satellite/echostar-to-change-stock-ticker-to-echo-
MTCH is neither delisted nor renamed, still trading on Nasdaq: https://stockanalysis.com/stocks/mtch/ It only dropped out of the S&P 500 in the March 2026 rebalance, and the fetch failure had a different cause. For some reason Yahoo did not return "longName" value for MTCH which caused a delisting. Added a fall back to shortName to restore the normal fetch.
Nullification dates are last trading day + 1, so 2025-11-27 for IPG, 2026-04-07 for HOLX and 2026-05-07 for CTRA. Verified those against the last real price change in each resolution file.
Also added a test to see if the MTCH handling worked, let me know if you think this isn't needed.
Closes #287