Repository navigation
fix: nullify delisted yfinance ticker KVUE - #354
Merged
Merged
Conversation
Kimberly-Clark completed its cash-and-stock acquisition of Kenvue on 2026-11-02. NYSE suspended `KVUE` before the open that day and filed a Form 25-NSE, so the last session was Fri 2026-10-30. Add `KVUE` to yfinance `nullified_questions` with `nullification_start_date=date(2026, 10, 31)`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015HPShBBwGW4EPatYHEaZUB
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.
Requested via Slack thread
Before: The nightly yfinance fetch flags
KVUE(Kenvue) as an uncurated ticker: the fetch fails and the ticker is no longer in the S&P 500. It is in neithernullified_questionsnorticker_renames, so the nightly bot keeps alerting on it, and question sets with a forecast due date after the delisting could still use it.After:
KVUEis added to yfinancenullified_questionswithnullification_start_date=date(2026, 10, 31). That is the first calendar day after its last NYSE session, Fri 2026-10-30. Question sets due on or after that date are nullified forKVUE, and earlier sets resolve to the final close.src/tests/unit/sources/test_yfinance.pyis updated to match:KVUEis added to the expected set and the expected count goes from 17 to 18.How: this is a delisting, not a rename. Kimberly-Clark (KMB) acquired Kenvue for $3.50 in cash plus 0.14625 KMB shares per Kenvue share. The deal closed on Mon 2026-11-02 and Kenvue became a wholly owned subsidiary, so no KVUE shares carry on under another symbol. Evidence:
''https://press.spglobal.com/2026-10-30-Okta-Set-to-Join-S-P-500-Others-to-Join-S-P-MidCap-400-and-S-P-SmallCap-600'''''https://www.cnbc.com/investingclub/2026/11/02/kimberly-clark-closes-its-acquisition-of-tylenol-maker-kenvue-what-to-expect-next'''.htmlTrading was suspended before the open on Mon 2026-11-02, so the last session was Fri 2026-10-30. The date follows the existing convention: the calendar day after the last session, as with
QRVO(2026-10-03, a Saturday) andWBD.Reviewer, please check: I couldn't re-run the yfinance fetch for
KVUE, because this environment's network policy blocks Yahoo Finance hosts. It also blocked direct fetches of sec.gov and press.spglobal.com, so the filing contents above come from search-indexed excerpts of those pages. Please confirm the last trading session (2026-10-30) and thatKVUE404s on yfinance.pytest src/tests/unit/sources/test_yfinance.pypasses (73 tests) on Python 3.13. The full suite can't be collected on 3.13 because it needs 3.14 syntax, and the sandbox couldn't download 3.14, so CI will run it.ruff checkandruff format --checkare clean on the changed files.Generated by Claude Code