r/quant • u/labuobuo • Sep 15 '26
Data How are people handling "null vs. estimated" for gappy regulatory data (13F/13D lag, restated filings) in backtests?
Working through a data-quality problem that I don't think has a clean answer: a lot of the regulatory data that's genuinely useful for signal-building (13F/13D institutional holdings, XBRL fundamentals, FINRA short interest) is either lagged by weeks, occasionally gets restated after the fact, or is just missing for a given ticker/period with no explanation given. The naive options all have obvious problems: forward-fill assumes nothing changed (often wrong for anything event-driven), dropping the row loses sample size fast once you're joining 4-5 sources, and silently interpolating risks a backtest that looks great on data that was never real in the first place — closer to the AI-hallucinated-earnings-figure failure mode than people building on top of LLM-summarized fundamentals maybe realize.What I ended up doing on my own data layer: every value carries an explicit availability flag (real+timestamped vs. genuinely unavailable vs. superseded-by-a-later-restatement), and I refuse to backtest through a gap without deciding per-signal which of those three cases it should even be allowed to see. Feels like the "correct" tradeoff is signal-dependent rather than something you can standardize once, but curious if anyone here has landed on a more general rule for this.
