lookahead-bias-paper/paper/sections/03_problem_formalization.tex
Sentinel Research af990122d1
Some checks failed
noise-harness / run-noise-harness (push) Failing after 1m54s
Hito 1: scaffold del paper (estructura, LaTeX revtex4-2, CI, licencias duales)
2026-06-24 07:05:37 +02:00

18 lines
940 B
TeX

\section{Problem Formalization}
\label{sec:formalization}
% TODO content notes:
% - Define the backtest setting formally: price series P_t, signal S_t,
% position p_t, and the honesty constraint p_t = f(P_{<=t}, S_{<=t}) only
% (no access to P_{>t}).
% - Define lookahead bias precisely: any computation where p_t depends,
% directly or via a vectorized operation (e.g. shift(-1), rolling window
% misaligned by one bar, future-looking groupby), on P_{>t}.
% - Show the general shape of the bug class in vectorized code: a single
% missing .shift(1) or an inclusive/exclusive boundary error in a rolling
% window. Use abstract pseudocode here; the concrete K12 diff goes in
% Section 4.
% - State the falsifiability criterion that motivates Section 5: if a
% strategy is profitable on data with zero true signal (pure GBM noise),
% the profit must be an artifact of the backtest mechanics, not of the
% strategy logic.