Day 190 — Fundamentals at scale, from EDGAR rather than a vendor

Friday, 12 February 2027 · Week 28 of 52 · Alpha · Study day · 60 min

The data is free, complete and point-in-time by construction, and the reason few people use it is that the schema is genuinely awkward, which is a one-day problem rather than a permanent one.

What you should be able to do tonight

  • Load a quarter of the financial statement data sets and extract one tag for the full universe with the filing date attached.
  • Say what the ADSH identifier is and why it is what makes the data point-in-time.

Tasks 60 min

35 min Build the loader in qlib/ingest_fundamentals.py: parse the submission and numeric files, join on the accession identifier, and produce a long table of company, tag, fiscal period, value, filing date. Write it into the store with the three-date schema from day 137.

25 min Extract one usable series end to end: total assets or shareholders equity for your universe, quarterly, with filing dates, over five years. Check a handful of values against the company’s actual filing to confirm you have the right tag and the right sign.

The running strategy

Fundamental data now comes from EDGAR directly into the store with filing dates attached, so every fundamental signal in the book is point-in-time by construction rather than by a lag applied afterwards.

Resources

Deliverable

qlib/ingest_fundamentals.py loading the SEC data sets into the store, with one tag extracted and spot-checked against real filings.

Checkpoint

What is the ADSH accession identifier, and why does having it make a fundamental dataset point-in-time?

Prepare for tomorrow

Ten minutes tonight so Day 191, Saturday, 13 February 2027 starts clean. This is what the evening email sends you.

Write down the accrual definition you would use from balance sheet items, and the one from cash flow items.

They give different numbers. Note which items each needs.

Check that your loader can extract all of those tags.