Day 136 — A universe that only contains what existed at the time
Sunday, 20 December 2026 · Week 20 of 52 · The research harness · Study day · 60 min
Day 18 measured what backfilled membership costs; today the store stops doing it, which is the single largest correctness improvement available to the whole year.
What you should be able to do tonight
- Construct a universe as of any past date using only information available then, and defend the rule you used.
- Report the difference between your new point-in-time universe and today’s membership backfilled, at three dates.
Tasks 60 min
35 min Implement the universe rule in qlib/store.py as universe(as_of): if you have membership data, use it; if not, use a liquidity screen computed from trailing data only, such as the top N by 60-day median dollar volume among securities with a price history ending on or after that date. Either way the rule takes only past data as input.
25 min Quantify the change: for 2010, 2015 and 2020, report the overlap between the point-in-time universe and today’s membership backfilled, and the number of names in each that the other lacks. Then rerun your pairs screen on the point-in-time universe and note how the pair list changes.
The running strategy
The store now returns a universe as of a date, built only from information available then. Every signal from here selects from that universe, so the survivorship problem is fixed in one place rather than remembered in twelve.
Resources
Deliverable
qlib/store.py with a point-in-time universe function, and the overlap against backfilled membership reported at three dates.
Checkpoint
Your universe is today’s S&P 500 taken back ten years. Quantify what that does to your results and say which direction it biases them.
Prepare for tomorrow
Ten minutes tonight so Day 137, Monday, 21 December 2026 starts clean. This is what the evening email sends you.
Pull one company’s reported quarterly earnings from the SEC financial statement data sets, and find a figure that was later restated.
Note the original value, the restated value, and the dates of both filings.
One example is enough. Tomorrow generalises it.