Anticipating SEC Filings
There are faster ways to get SEC filings. I've previously open sourced code showing how: the fastest way to get SEC Filings. Now, I'm including a basic implementation on Datamule.

This is accessible via SEC Filing Emails, Webhooks, and will soon be made available on Websocket V3. See products. You can also use Datamule's complimentary SEC filings feed.
Here's how it works:
- Most companies and investors get notified of a new filing after it is released on the RSS feed.
- This is typically 30 seconds after the filing's metadata page is generated.
- This page can be anticipated, by predicting the url, which requires knowing its accession.
- accessions mostly follow the format {cik of company filing on behalf}- {year}-{sequential numbering of filings submitted so far this year}.
- So, I predict it.
I'm currently using a naive algorithm that should anticipate ~10% of filings. It costs me $20/year to run. For ~$80/year I could get this to ~40%.
> Note: after I published the fastest way to get SEC Filings, a few trading firms reached out. They had been working on the same problem; but had not been able to make it work. Their issue was that they had not realized that the metadata page url could be constructed without knowing the cik of the company being filed for. This made the search space large, and therefore expensive.
> Note 2: metadata is published before filing content. You can typically get filing content a bit faster, especially for larger file like 10-Ks. Generally e.g. 30s faster vs 2s faster, metadata to data.