Repository navigation
Read 90 days of delisting notices, and never pass a notice we have not read - #482
Merged
Merged
Conversation
…t read 8-K item numbers were only parsed from the feed since #458, so every earlier notice was invisible and "no delisting notice in 90 days" always read as met. A twice-daily EDGAR full-text search sweep stores every item 3.01 notice in the window. Until a sweep in the last 36 hours vouches for the window, the trading standard reads not checked yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The trading standard (no delisting notice, 8-K item 3.01, in 90 days) could never fail. All 2,068 stored 8-Ks had empty
items, because the feed parser has only read item numbers since #458 (2026-09-26). The stored 8-Ks also only go back to 2026-08-25.sec_delistingssweep uses EDGAR full-text search to find every 8-K and 8-K/A in the last 90 days whose items include 3.01. It stores them insec_filings, and fills initemson filings already kept without them. That is a few requests twice a day, each retried once on a 5xx. Run against live EDGAR, it finds 352 notices, 248 of them for listed tickers.sec_delisting_sweepinworker_state.🤖 Generated with Claude Code