Promote:面向自适应金融研究智能体的任意时点有效晋升检验
Can We Stop the Backtest Yet? Anytime-Valid Promotion Tests for Adaptive Financial Research Agents
摘要
Ai For Alpha 团队提出 Promote 协议,为每个候选交易规则在诞生时分配可预测的检验财富,仅用后续收益累积成本感知的 e-process,若总财富不超过 1 即可将错误晋升概率控制在 α 以内。
摘要由模型根据原文撰写,以原文为准。
正文 · 原文
\@ACM@balancefalse
Conference: ; ; CCS: Mathematics of computing Probability and statisticsCCS: Computing methodologies Sequential decision making
Eric Benhamou Affiliation: Ai For Alpha, Neuilly-sur-Seine, France Affiliation: LAMSADE, Université Paris Dauphine–PSL, Paris, France email: eric.benhamou@aiforalpha.com Jean-Jacques Ohana Affiliation: Ai For Alpha, Neuilly-sur-Seine, France email: jean-jacques.ohana@aiforalpha.com , Beatrice Guez Affiliation: Ai For Alpha, Neuilly-sur-Seine, France email: beatrice.guez@aiforalpha.com , Ethan Setrouk Affiliation: Ai For Alpha, Neuilly-sur-Seine, France email: ethan.setrouk@aiforalpha.com , Chamyl Saadi Affiliation: Ai For Alpha, Neuilly-sur-Seine, France email: chamyl.saadi@aiforalpha.com and Thomas Jacquot Affiliation: Ai For Alpha, Neuilly-sur-Seine, France email: thomas.jacquot@aiforalpha.com
© none
Abstract.
Financial research agents can generate and monitor trading rules faster than a human can document the resulting selection process. Candidates appear at data-dependent times, weak rules are abandoned, and promising ones are watched until they cross a reporting threshold. We introduce Promote, a protocol that assigns every candidate predictable testing wealth at birth and accumulates a cost-aware e-process only from subsequent returns. If lifetime allocations sum to at most one, a weighted Ville argument bounds the probability of ever promoting a rule whose declared bounded net score has always had nonpositive conditional mean. The result permits dependent candidates, adaptive births, and indefinite monitoring. We audit the implementation in two settings. A retrospective pseudo-out-of-sample replay contains 24 panel–rule hypotheses, 3,000 shared-sign null paths, injected alternatives, and public ETF and industry data. Repeated unadjusted tests produce a family crossing in 94.5% of null paths, versus 0.0% for Promote; at a 15-bp aligned ETF-component perturbation, Promote has 70.1% target power and median crossing session 2,327. A separate exact mean-zero experiment lets an agent select candidate identities and birth times from past scores; the funded gate has 1.77% false-family crossings across 3,000 programs. The market replay produces zero promotions after costs. The certificate controls historical false promotion under the declared null; it is not a certificate that an earlier edge remains profitable at deployment.
AI-use disclosure. Generative AI tools, including OpenAI Codex, assisted manuscript preparation. For this preprint version, Codex assisted with LaTeX editing, author and venue metadata, compilation, and layout checks.
Keywords:
financial agents, anytime-valid inference, e-processes, backtest overfitting, strategy selection, responsible AI
Accepted at ICAIF 2026, Milan, Italy. Author preprint.
1. Introduction
A conventional backtest has a nominal end date. Research rarely does. An analyst looks at interim results, changes the universe, adds a seasonal interaction, drops an unpromising rule, and continues when the evidence is close. An autonomous research agent can perform the same sequence at machine speed. Treating the final rule as if it came from one fixed test understates the number of opportunities the system had to be lucky.
This failure is familiar in empirical finance. Data-snooping corrections compare many strategies on a common terminal sample (White, 2000; Hansen, 2005; Romano and Wolf, 2005), while empirical-finance protocols quantify selection and backtest overfitting (Harvey et al., 2016; Bailey et al., 2017; Arnott et al., 2019). Neither device, by itself, authorizes continuous inspection of a library whose membership is decided from the observed history. The relevant error event is operational: did the research process ever promote a strategy whose declared net score has no positive conditional mean?
Test martingales and e-values are well suited to this question because they remain valid at stopping times (Ville, 1939; Shafer et al., 2011; Vovk and Wang, 2021; Ramdas et al., 2023). Their use still requires a protocol. A newly proposed rule must not inherit evidence from before it was specified; adding near-duplicates must consume a finite research budget; transaction costs must be known before the return used to update the test; and trading must begin after, rather than on, the boundary-crossing observation. Those details are where an apparently safe backtest can leak.
Promote turns them into a ledger. At a predictable birth time, candidate h receives initial testing wealth πh. Subsequent bounded, cost-adjusted payoffs update an e-process with bets chosen from the past. Promotion occurs at the first crossing of 1/(απh). If the total wealth assigned over the life of the research program is at most one, a weighted Ville argument controls the probability of any false promotion by α. The library may be dependent, monitored at different frequencies, and expanded in response to old data.
Contributions.
The statistical ingredients are established; our contribution is to make them operational for an adaptive financial-research workflow:
- •
a pathwise testing-wealth ledger that covers dependent, predictably registered candidates and continuous monitoring;
- •
a cost-aware implementation that separates pre-registration data, evidence, promotion, and next-session execution; and
- •
matched fixed-family and adaptive-birth audits that expose false-family error, detection delay, and the economic weakness of the historical library.
The protocol tests an executable bounded payoff, not a semantic strategy story supplied by an agent. Its certificate concerns the complete promotion history, including rejected ideas; the market replay is a deliberately narrower pseudo-out-of-sample special case.
2. Research Process and Null Hypotheses
Let (ℱt)t≥0 contain all prices, candidate definitions, test states, and decisions available immediately before outcome t+1. A research agent may create candidate h at a stopping time νh. Its rule is an executable map from ℱt−1 to an exposure ah,t∈[−1,1] for t>νh. The candidate definition includes its asset, direction, rebalance convention, and cost model; changing any of these fields creates a new candidate.
In the ledger, “hash the rule” means compute a cryptographic fingerprint of one canonical, machine-readable package containing the executable code and all settings that determine its trades. For example, the package includes the asset universe, signal formula, parameter values, data fields, calendar, position sizing, rebalance timing, and cost convention. A function such as SHA-256 maps those bytes to a short identifier: identical packages produce the same identifier, while even a small edit almost certainly produces a different one. The hash is not the rule, encryption, or proof that the rule is correct; the full package is retained. It is a tamper-evident label that lets an auditor verify exactly which frozen version was registered before later returns arrived.
Let rh,tnet be the return that candidate h would have earned over period t after its predictable transaction cost. We use a predictable positive scale sh,t and define
| (1) | Yh,t=clip(rh,tnet/sh,t,−1,1). |
Clipping is part of the estimand: the test concerns the conditional mean of the bounded score, not the unbounded mean return. Economic results are always computed from the unclipped net return.
For each candidate, the null is
| (2) | Hh:𝔼[Yh,t∣ℱt−1]≤0for every t>νh. |
This is stronger than a zero unconditional full-sample mean. It defines a uniform post-birth null: the false-promotion guarantee applies only when the conditional mean has been nonpositive at every scored date. If an edge was positive and later decays, the null is false and old evidence does not certify that the edge remains positive today.
Assumption 1 (Predictable registration).
The candidate definition, scale sh,t, transaction cost, and bet λh,t are ℱt−1-measurable, with 0≤λh,t≤1. The first scored return begins strictly after νh.
The score may be inactive on dates when the rule holds cash; equivalently, Yh,t=0 on those dates. Candidates can share assets and returns, so no cross-rule independence is assumed.
3. A Wealth-Conserving Promotion Protocol
3.1. One candidate
Starting from Eh,νh=1, define
| (3) | Eh,t=∏s=νh+1t(1+λh,sYh,s). |
The nonnegative factor is the return on one unit of statistical wealth bet against Hh.
Proposition 0 (Anytime validity).
Under Hh and Assumption 1, (Eh,t)t≥νh is a nonnegative supermartingale. For every u∈(0,1),
| ℙHh(supt≥νhEh,t≥u−1)≤u. |
Proof.
Conditional on ℱt−1, 𝔼[1+λh,tYh,t∣ℱt−1]≤1. Thus (3) is a nonnegative supermartingale beginning at one. Ville’s inequality gives the crossing bound. ∎
The product in (3) is cumulative. A rolling product that deletes old factors is generally not an e-process and cannot use Proposition 1. Restarting is possible, but every restart must be funded as a new test or combined through a valid mixture.
The implementation avoids choosing a bet after seeing test returns. For the fixed grid Λ={.025,.05,.10,.20,.35}, let Eh,t(λ) denote (3) with constant bet λ and set
| (4) | E¯h,t=1|Λ|∑λ∈ΛEh,t(λ). |
Each component starts at one and is a nonnegative supermartingale, so their fixed convex mixture is one as well. The promotion rule uses E¯h,t throughout; it never substitutes the best component in hindsight.
3.2. An adaptively growing library
Suppose a budget account assigns candidate h a nonnegative mass πh at birth. The allocation may depend on ℱνh, but the pathwise total must satisfy
| (5) | ∑hevercreatedπh≤1. |
The rule is promoted at
| (6) | τh=inf{t>νh:Eh,t≥(απh)−1}. |
Theorem 2 (False-promotion control).
| ℙ{at least one true Hh is ever promoted}≤α. |
The statement allows dependent candidates, data-dependent birth times, and an unbounded monitoring horizon.
Proof.
Condition on ℱνh. Proposition 1 bounds the crossing probability of a null candidate by απh. A union bound over the countable set of created nulls and (5) give the result. Random predictable masses are handled by iterated expectation. ∎
Conditioning is what permits adaptive research: pre-birth observations may determine the rule’s code, identity, and mass, but cannot enter its post-birth product. Abandonment can set future bets to zero but does not replenish the account; the program already enjoyed a crossing opportunity. Revival, rescaling, or a nearby parameterization requires another debit. Zero-mass candidates are ineligible. These rules block free restarts and hidden near-duplicate tests.
Promote: auditable promotion ledger Minimum row key: candidate hash, event time, data-version hash, score, cost, evidence, boundary, decision, and first executable session. A five-step append-only ledger algorithm: register and hash the rule, debit predictable testing wealth, update only with post-birth scores, record evidence and boundary decisions, and begin economic exposure no earlier than the next session.
This theorem controls familywise error, a demanding criterion appropriate to an automated promotion gate. If the objective is discovery rather than certification, stopped e-values can instead be passed to e-BH, which controls FDR under arbitrary dependence (Wang and Ramdas, 2022). That is a different operating point and is not used for the primary experiment.
3.3. Promotion is not same-period trading
The crossing observation belongs to the test, not to post-promotion performance. If τh<∞, live or holdout exposure starts at τh+1. This one-period separation prevents the return that triggers promotion from being counted as evidence of deployed profitability. Statistical wealth is also not trading capital: Eh,t may be highly volatile even when the economic position is small.
For a promoted rule, we therefore maintain two ledgers. The evidence ledger continues to update (3); the economic ledger records the actual net return from the next executable interval. Demotion can be governed by a separately registered rule, but optional removal does not retroactively change the false-promotion guarantee. Production use therefore requires a distinct current-regime or forward deployment check. A predictable epoch restart can provide one, but it must be funded as a new test; deleting old factors from the original product would break anytime validity.
3.4. State, corrections, and recovery
Each update reads the committed state at t−1, joins one point-in-time outcome, and writes one state for t. Its unique key combines the candidate fingerprint, event time, and data-version fingerprint. Replaying a key after a crash returns the stored row instead of multiplying an e-factor twice; partial writes are not evidence.
Event time and ingestion time remain separate. Revised data or code cannot silently overwrite an old factor: the ledger retains the original row, flags the certificate, and computes a versioned diagnostic. Any corrected series used for authorization starts prospectively as a newly funded stream. Thus a reviewer can reconstruct what the gate actually knew when it acted.
Automated checks enforce idempotent replay, no influence from post-t inputs, and cumulative birth debits that never decrease or exceed one. These target double counting, look-ahead joins, and budget recycling.
3.5. A simple power calculation
Under an alternative with 𝔼[Yh,t∣ℱt−1]≥μ>0 and |Yh,t|≤1, a fixed bet λ∈(0,1) obeys
| (7) | log(1+λYh,t)≥λYh,t−λ2Yh,t22(1−λ). |
If the predictable second moment is bounded by v, the expected log-growth per active observation is at least λμ−λ2v/[2(1−λ)]. For every component in the implemented grid, (4) gives logE¯h,t≥logEh,t(λ)−log5. Thus adaptation over the five predeclared bet sizes costs at most log5 units of log evidence relative to the best component on that path; it does not license selecting the best component after the test. The growth bound makes the cost of a small πh explicit: a candidate born late or deep in a hypothesis tree needs more observations to reach (6). Validity is cheap computationally but not statistically.
4. Experimental Design
4.1. Retrospective pseudo-out-of-sample library
The implementation crosses three asset panels with eight calendar definitions, giving 24 panel–rule hypotheses. This is the fixed-family special case of Theorem 2: within the replay, all candidates are frozen before the 2015 segment is processed and receive equal wealth. Adaptive births and data-dependent allocations are not exercised by the market replay; Section 4.3 isolates them under an exact mean-zero score law. The panels are six equity ETFs (SPY, QQQ, IWM, EFA, EEM, and VNQ), five defensive or diversifying ETFs (IEF, TLT, GLD, DBC, and SHY), and the ten value-weighted Fama–French industries. The rules are turn of month, first three and last three trading days, Monday, Friday, last three trading days of a quarter, January, and the third Friday of a month. The common daily sample runs from March 2006 through May 2026.
For rule indicator Ih,t, the candidate takes the approximately calendar-neutral panel exposure
| qh,t=dhIh,t−p^hmax(p^h,1−p^h), |
split equally across the assets in its panel. The activation frequency p^h and direction dh∈{−1,1} are fixed on March 2006–December 2010. The predictable score scale is the larger of 50 bp and the training 99.5th percentile of absolute net return. The 2011–2014 segment records stability and component-bet diagnostics, but does not choose the test bet or alter the family. Every test stream uses the predeclared equal mixture in (4) and restarts at one in January 2015. The replay code does not use a post-2014 return to change these choices; the overall split and library were nevertheless designed retrospectively.
The replay segment covers January 2015 through May 2026. Candidates divide wealth equally, so each boundary is 24/α. All strategies pay five basis points per dollar of one-way risky-asset turnover. The code solves the proportional-cost self-financing equation against drifted pre-trade weights rather than subtracting cost from stale targets. At each date it records exposures and costs, observes the return, updates evidence, and schedules any promotion for the following trading day.
4.2. Shared-sign null and power experiments
Type-I error is evaluated on 3,000 Monte Carlo paths using a shared-date sign randomization of the observed gross test returns. The same independent Rademacher sign multiplies the complete cross-hypothesis vector on a date, preserving observed magnitudes and contemporaneous cross-rule dependence while removing serial sign dependence. The nonnegative cost-fraction path is conditioned upon rather than recomputed, and scores are recalculated and clipped after costs. This construction satisfies (2) conditionally on the magnitudes and costs. Indeed, with f(u)=clip(u,−1,1), a=−c/s≤0, b=(1−c)g/s, and a Rademacher sign S,
| 𝔼Sf(a+Sb)=12{f(a+b)+f(a−b)}≤12{f(b)+f(−b)}=0, |
because f is increasing and odd. The complete fixed-family monitoring rule is rerun, including every intermediate inspection. The primary statistic is whether at least one null candidate is ever promoted.
The comparator repeatedly computes an expanding one-sided z statistic after a minimum of 63 sessions and declares success whenever an unadjusted p-value falls below α at an inspection date. This baseline is intentionally common rather than defensible: it measures the inflation caused by the workflow that Promote is designed to replace. A second comparator gives every stream its own anytime boundary 1/α without splitting wealth; it isolates cross-candidate multiplicity from optional stopping. A matched-error fixed-horizon comparator rejects candidate h only when its terminal mixture satisfies E¯h,n≥(απh)−1. Markov’s inequality and a union bound give the same familywise guarantee under (2); unlike Promote, this comparator discards earlier crossings and cannot stop before session n.
Power paths shift each equity component return on every date by 5, 10, 15, 20, or 30 basis points in the sign of the target equity turn-of-month weight. The target therefore receives a positive gross contribution proportional to its absolute exposure, and overlapping equity rules also move. The five shifts correspond to 4.8%, 9.6%, 14.4%, 19.2%, and 28.8% annualized gross alpha for the target overlay. We report target detection and delay; the repeated-p curve is diagnostic and is not a matched-Type-I-error comparison.
4.3. Adaptive-birth boundary-null audit
The fixed market replay cannot demonstrate the adaptive-birth part of Theorem 2. We therefore add a separate exact boundary-null experiment. Each of 3,000 research programs contains 32 independent Rademacher score streams over 768 sessions. After a 64-session warm-up, an agent inspects the past only and registers the unregistered stream with the largest trailing-64 sum whenever that sum is at least 20. Births are separated by 32 sessions and capped at 12. The selected identity and birth time are thus data dependent, but its first test score is the next independent Rademacher increment, so 𝔼[Yh,t∣ℱt−1]=0 exactly after registration.
At each birth the agent predictably spends one half of remaining wealth when the trailing sum is at least 28 and one quarter otherwise. Consequently the pathwise lifetime allocation never exceeds one even though candidate identity, birth time, mass, and final family size vary by path. We compare the funded boundary with an unfunded per-stream boundary of 20 and with repeated one-sided Gaussian tests after 32 post-birth observations. The simulation uses seed 20262731 and the same fixed e-mixture as the market study.
4.4. Public-market replay
The market study uses a July 31, 2026 frozen snapshot: Yahoo adjusted closes for the ETFs and the Ken French Data Library’s value-weighted ten-industry file. Source and derived-file SHA-256 hashes accompany the artifact; the replay itself performs no network retrieval. Returns, candidate indicators, costs, and evidence are computed from information available at each decision. The study reports the entire promotion ledger, including candidates that never cross. The split and library were designed retrospectively, and trading-day ranks are reconstructed from the realized exchange calendar. No test return calibrates direction, scale, bet grid, or prior wealth, but one historical path cannot establish the conditional null in (2).
For any promoted strategy, exposure begins one interval after crossing and pays exact one-way turnover under the declared cost convention. Program-level wealth includes cash before activation; the complete daily ledger permits a separate live-only analysis when a crossing occurs.
5. Results
5.1. Fixed-family calibration and power
Table 1 gives the principal calibration result. Continuous use of unadjusted fixed-sample tests turns a nominal threshold into a much larger research-program error rate. The wealth-split rule records no false family crossing in 3,000 paths; its Wilson upper endpoint is 0.128%. This shared-sign law includes frozen positive costs and is therefore generally a strict, conservative null rather than a least-favorable boundary case. Giving every stream its own boundary of 20 has no 5% familywise guarantee; it records 21 crossings (0.7%) here, still below 5% because the component e-processes are conservative under this law. The fixed-horizon and anytime wealth-split rules both record zero crossings.
The injected alternatives show the price of validity. Evidence accumulates only on observations realized after the test starts, and a candidate with mass πh must earn log(1/(απh)) units of log evidence. Strong, persistent effects are promoted; weak or intermittent effects often remain below the boundary during the available horizon. Target power rises from 0% at 5 bp to 7.7%, 70.1%, 99.3%, and 100% at 10, 15, 20, and 30 bp, respectively. At 15 bp, the matched terminal rule has 67.1% power (95% Wilson interval 64.7–69.5%), while Promote has 70.1% (67.7–72.3%) and crosses at a median 2,327 of 2,868 sessions. The terminal rule necessarily waits for session 2,868; the naive test crosses after 125 sessions in paths where it detects the target, but its null FWER is 94.5%. At 15 bp the anytime event contains 3.0 percentage points of paths that cross before the horizon but finish below the terminal boundary. This is useful for a gate, although Promote is not designed to maximize discovery count.
Table 2 exposes the full operating curve rather than a single favorable effect. The valid procedures detect none of the zero- or 5-bp target paths; with 1,500 paths, the zero-count Wilson upper endpoint is 0.26%. The repeated z workflow, by comparison, declares the target on 23.2% of zero-shift paths and 74.2% of 5-bp paths, so its apparent sensitivity cannot be separated from its inflated inspection error. Between 10 and 15 bp the funded methods move through their steep transition. The anytime rule gains 2.0 and 2.9 power points over the terminal rule, respectively, because it retains paths that cross earlier and later fall below 480; overlapping intervals caution against interpreting these differences as a tuned advantage. At 20 bp the power gap nearly disappears, but the anytime median crossing is 1,125 sessions earlier than the terminal decision. Even at 30 bp, its median requires 1,049 sessions. The boundary therefore rewards persistent net evidence, not a visually strong but short backtest.
5.2. Adaptive registration on an exact boundary null
The agent registers a mean of 9.88 candidates per program (median 10; 10th–90th percentiles 8–12) after selecting strong pre-birth histories. It allocates 93.45% of testing wealth on average, while the pathwise total never exceeds one. Because only independent future increments enter evidence, this experiment sits exactly on the conditional mean-zero boundary. Table 3 shows that adaptive selection itself does not invalidate the funded gate: its interval lies below 5%. In contrast, reusing a full 5% threshold for each adaptively selected stream produces 18.4% familywise error.
Table 4 replays the identical births and post-birth evidence under four predeclared spending policies. The equal-slot rule reserves 1/12 for every possible birth. The geometric rules spend a quarter or a half of remaining wealth, and the observed-strength rule uses the pre-birth trailing sum to choose between those fractions. Each policy obeys ∑hπh≤1 pathwise; unfilled equal slots and the tail of a geometric schedule remain unspent. Thus Theorem 2 applies to all four without assuming how many candidates will arrive.
The estimated FWER stays below 5% for every policy, but the finite-sample rates illustrate a design trade-off rather than a ranking theorem. Spending half of the remainder gives early proposals the lowest boundary, then rapidly shrinks later masses; it also has the largest crossing rate here. Equal slots retain more capacity for late births and spend only 82.36% on average because programs register fewer than 12 candidates. The signal-dependent and quarter-remaining rules happen to produce the same 53 crossing programs, but their masses are not generally identical. Allocation may favor proposals using information available at birth; it must not be revised after observing their test evidence. This separates an auditable research priority from post-selection threshold shopping.
5.3. Market evidence and the finance ledger
The pseudo-out-of-sample market run promotes zero of 24 candidates. This count should not be read as a rejection rate under a known stochastic null: market returns need not satisfy (2), and the experiment supplies only one dependent path. Its role is to show how the protocol behaves when familiar strategy families compete for the same research budget.
The largest evidence value reached by any candidate is 1.93, versus the declared boundary of 480. Repeated unadjusted inspection instead promotes the reversed Fama–French industry January rule on 13 January 2016. Its full 2015–2026 shadow path loses 0.90% per year (Sharpe −0.18); the fixed 1/24 sleeve activated by the naive gate ends at 0.992 after costs. These figures do not prove that the crossing was a statistical false positive, but they show why a nominal p<.05 crossing is a poor deployment event.
Only two of the 24 full-test shadow paths have a positive arithmetic mean, and the larger is 0.087% annualized; neither comes close to the boundary. This is a weak library after the retrospective split, not evidence that the gate suppresses profitable rules. Conversely, any promoted rule has an audit trail identifying the exact observations, score scaling, cost, bet, and boundary responsible for the decision. This is more informative than reporting only the winning backtest.
5.4. What the artifacts establish
The rowwise replay verifies three deterministic invariants: the 24 fixed-family weights sum to one, every test e-process restarts at one, and no promoted return is credited before the interval following a crossing. The adaptive simulation checks variable birth times, identities, masses, and family sizes under an exact mean-zero law. Seeds 20260731 and 20262731, the complete hypothesis ledger, summary tables for 15,000 simulated programs or paths, and SHA-256 hashes of every machine-readable result accompany the artifact.
These checks do not establish a stable positive conditional mean for a market rule. Power depends on clipping, effect persistence, family size, and bet fractions. Changing those choices after seeing the replay creates another research layer that requires new validation data or testing wealth.
6. Relation to Existing Work
Backtest overfitting has been studied through data-snooping tests, superior-predictive-ability tests, multiple-testing adjustments, and selection diagnostics (White, 2000; Hansen, 2005; Romano and Wolf, 2005; Harvey et al., 2016; Bailey et al., 2017). These methods address closely related selection problems, usually for a collection evaluated at a terminal sample size. Our target is the event generated by an ongoing research system: a false strategy is promoted at some random time after a data-dependent proposal.
Repeated interaction with a holdout set is adaptive data analysis; the reusable-holdout framework gives a privacy-based route to valid reuse (Dwork et al., 2015). Asynchronous online testing handles overlapping sequential experiments (Zrnic et al., 2021). Neither is a cost-aware familywise promotion ledger for financial strategies.
Online multiple-testing methods allocate error across a sequence of hypotheses, including alpha-investing and adaptive FDR rules (Foster and Stine, 2008; Javanmard and Montanari, 2018; Ramdas et al., 2018). Our pathwise masses are deliberately simpler: they are a weighted online Bonferroni allocation for familywise control, with no claim of wealth recycling. That conservative choice makes the audit rule transparent when candidate identities and birth times are selected from the past.
E-values provide the underlying evidence currency (Vovk and Wang, 2021), and safe testing, betting-based inference, and confidence sequences explain their optional-stopping behavior (Grünwald et al., 2024; Waudby-Smith and Ramdas, 2024; Howard et al., 2021; Ramdas et al., 2023). The e-BH procedure extends the framework to false-discovery control under arbitrary dependence (Wang and Ramdas, 2022). Sequential e-values have also been used to evaluate probability forecasts and backtest financial risk measures (Henzi and Ziegel, 2022; Wang et al., 2025); those applications test forecasts, whereas our unit is a strategy-promotion workflow. We use the conservative wealth-weighted crossing rule because one false launch can matter operationally. Our contribution is its implementation as a strategy-level gate, an exact adaptive-birth audit, and a reproducible market ledger with costs and delayed deployment.
Calendar and technical trading rules provide a demanding case study because their design space is easy to expand and many reported effects are sample-sensitive (Lakonishok and Smidt, 1988; Sullivan et al., 1999; Sullivan et al., 2001; Bajgrowicz and Scaillet, 2012). More broadly, the attenuation of published return predictability and the prevalence of false anomaly rejections motivate a strict separation between discovery and deployment (McLean and Pontiff, 2016; Chordia et al., 2020). The candidate generator may instead be a language model, feature search, or a human, provided its executable definition and wealth are fixed before scoring. ICAIF studies multiscale evaluation of financial time-series foundation models (Cheong et al., 2025), and AAAI studies trading-policy generalization beyond offline data (Yuan et al., 2026). Neither controls the probability of ever promoting a null strategy during adaptive search.
6.1. Expiring evidence and predictably funded revalidation
A promotion is historical evidence, not a perpetual certificate of current profitability. The process in (3) is cumulative: evidence earned during an early favorable regime is not erased when the conditional mean later becomes zero or negative. Theorem 2 controls crossing under the uniformly nonpositive null (2); it does not assert that the conditional mean remains positive after a genuine crossing. Simply deleting old factors or resetting the displayed process to one while reusing its original testing mass would create additional crossing opportunities outside the theorem.
A production protocol can instead make authorization expire and fund every revalidation as a new candidate. Give strategy definition h a lifetime base mass ωh, allocated predictably at its original birth, with ∑hevercreatedωh≤1 pathwise. Choose (qe)e≥0 nonnegative with ∑eqe≤1. Epoch e may begin at any stopping time ρh,e determined from past information and receives fresh mass πh,e=ωhqe. Its e-process starts from one, uses only scores strictly after ρh,e, and crosses at E¯h,e,t≥(αωhqe)−1. A finite authorization window can be declared at epoch birth; setting bets to zero after expiry freezes the process, and renewal requires a separately funded epoch.
Proposition 0 (False authorization under funded restarts).
Suppose every epoch satisfies Assumption 1, and define its null by 𝔼[Yh,t∣ℱt−1]≤0 at every time on which that epoch places a nonzero bet. If authorization or renewal occurs only after its funded boundary, then the probability that any null epoch ever authorizes a strategy is at most α. The result allows data-dependent restart times, overlapping epochs, shared returns, and an unbounded number of reviews.
Proof.
Treat each pair (h,e) as a distinct candidate in Theorem 2. Its predictable mass is ωhqe. Moreover,
| ∑h,eωhqe≤(∑hωh)(∑eqe)≤1. |
The theorem applies directly; no independence across epochs is required. ∎
With H initially equal-weighted definitions, ωh=1/H, the epoch-e threshold and log-evidence requirement are H/(αqe) and log(H/α)+log(1/qe). Doubling the family adds log2 to the evidence requirement, while later restarts pay log(1/qe). For example, qe=6/[π2(e+1)2] reserves finite lifetime wealth while making the threshold grow quadratically rather than permitting cost-free restarts. Epoching does not prove that a profitable regime persists after crossing; it makes every renewed authorization depend on fresh post-restart observations and a declared share of the lifetime error budget.
7. Limitations and Governance
The guarantee is narrow by design. It concerns the clipped, cost-adjusted score and a null that is uniformly nonpositive after birth; it does not certify that a formerly positive edge remains profitable. Clipping can also suppress rare economic losses. It occurs in 128 of 68,832 historical candidate–session scores (0.186%), so every evidence row is retained beside its unclipped return.
The two simulations answer different questions. Shared independent signs preserve magnitudes and contemporaneous cross-rule dependence, but remove serial sign dependence and freeze observed cost fractions; the resulting null is generally strict. The adaptive audit is exactly mean zero and exercises selection and staggered births, but its iid Rademacher scores are not a market model. Neither construction asserts that realized returns satisfy (2).
Validity is only as trustworthy as the filtration. Revised data, survivorship-biased universes, pretrained-model knowledge of the replay era, or same-close execution can import future information. A production agent must therefore retain data and prompt hashes, candidate births, allocations, and rejected proposals. An idea without a deterministic executable rule receives no testing wealth.
The economic replay uses adjusted closes and zero cash yield. Five-basis-point turnover costs are explicit, but financing, borrow fees, bid–ask dynamics, impact, taxes, and capacity are absent; French industries are not directly tradable. The design and pseudo-out-of-sample periods were chosen retrospectively, and realized trading-day ranks can encode rare unscheduled closures. These facts make Table 5 an audit, not a live performance claim.
Finally, familywise control becomes conservative when an agent proposes many correlated variants. Hierarchical predictable allocations expose but do not eliminate that cost; discovery-oriented systems may prefer FDR control. In all cases, promotion should trigger a separately governed forward evaluation rather than unrestricted scaling.
In production, a crossing is an authorization request, not an order. A pre-trade gate still checks data availability, venue and borrow eligibility, spread and impact, concentration, turnover, and duplicate portfolio exposure. It may veto or cap a trade without changing the evidence. A predictable risk kill switch may stop exposure or betting, but cannot reclaim testing mass or justify a same-day restart.
The ledger should fail closed: missing prices, ambiguous calendars, stale features, or a code-hash mismatch suspend updates and deployment until an operator records the resolution and first usable session. The e-process asks whether the historical null was crossed; operations controls ask whether the position is safe to trade now.
7.1. Certificate lifecycle under failure
A certificate moves through registered, accumulating, crossed, authorized, suspended, and expired states. Crossing concerns one frozen version; authorization is separate and time limited. Expiry requires a funded epoch from Section 6.1; corrected history cannot backdate promotion.
The release manifest binds the fingerprint to its rule package, data vintage, calendar, costs, bet grid, budget, and expiry. This supports audits of replay, post-decision inputs, and the first trade. It does not prove profitability; it prevents implementation changes from voiding the theorem’s premises.
8. Conclusion
Adaptive research changes the unit of inference. The relevant object is the sequence of proposals, inspections, and stopping decisions, not one terminal backtest. Promote gives that process a finite error budget: candidates inherit no evidence and must cross a cost-aware, wealth-adjusted boundary. The guarantee survives continuous monitoring and an adaptively expanding library.
The experiments expose the price: repeated inspection finds winners readily, whereas the valid gate may wait for weak effects. That delay is the cost of an optional-stopping guarantee, not evidence of current profitability. Frictions, scale, and forward risk remain deployment questions.
References
- Arnott et al. (2019) Robert D. Arnott, Campbell R. Harvey, and Harry Markowitz. 2019. A Backtesting Protocol in the Era of Machine Learning. The Journal of Financial Data Science 1, 1 (2019), 64–74. doi:10.3905/jfds.2019.1.064
- Bailey et al. (2017) David H. Bailey, Jonathan M. Borwein, Marcos López de Prado, and Qiji Jim Zhu. 2017. The Probability of Backtest Overfitting. The Journal of Computational Finance 20, 4 (2017), 39–69. doi:10.21314/JCF.2016.322
- Bajgrowicz and Scaillet (2012) Pierre Bajgrowicz and Olivier Scaillet. 2012. Technical Trading Revisited: False Discoveries, Persistence Tests, and Transaction Costs. Journal of Financial Economics 106, 3 (2012), 473–491. doi:10.1016/j.jfineco.2012.06.001
- Cheong et al. (2025) Nigel Cheong, Ling Wei Hsuen, Ranjan Satapathy, Erik Cambria, Rick Siow Mong Goh, and Joyjit Chattoraj. 2025. BForTFin: A Financial Domain-Aware Multiscale Evaluation Method for Time-Series Foundation Models. In Proceedings of the 6th ACM International Conference on AI in Finance. Association for Computing Machinery, 274–282. doi:10.1145/3768292.3770402
- Chordia et al. (2020) Tarun Chordia, Amit Goyal, and Alessio Saretto. 2020. Anomalies and False Rejections. The Review of Financial Studies 33, 5 (2020), 2134–2179. doi:10.1093/rfs/hhaa018
- Dwork et al. (2015) Cynthia Dwork, Vitaly Feldman, Moritz Hardt, Toni Pitassi, Omer Reingold, and Aaron Roth. 2015. Generalization in Adaptive Data Analysis and Holdout Reuse. In Advances in Neural Information Processing Systems 28. Curran Associates, Inc. https://papers.nips.cc/paper/5993-generalization-in-adaptive-data-analysis-and-holdout-reuse
- Foster and Stine (2008) Dean P. Foster and Robert A. Stine. 2008. Alpha-Investing: A Procedure for Sequential Control of Expected False Discoveries. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 70, 2 (2008), 429–444. doi:10.1111/j.1467-9868.2007.00643.x
- Grünwald et al. (2024) Peter Grünwald, Rianne de Heide, and Wouter M. Koolen. 2024. Safe Testing. Journal of the Royal Statistical Society Series B: Statistical Methodology 86, 5 (2024), 1091–1128. doi:10.1093/jrsssb/qkae011
- Hansen (2005) Peter Reinhard Hansen. 2005. A Test for Superior Predictive Ability. Journal of Business & Economic Statistics 23, 4 (2005), 365–380.
- Harvey et al. (2016) Campbell R. Harvey, Yan Liu, and Heqing Zhu. 2016. … and the Cross-Section of Expected Returns. The Review of Financial Studies 29, 1 (2016), 5–68. doi:10.1093/rfs/hhv059
- Henzi and Ziegel (2022) Alexander Henzi and Johanna F. Ziegel. 2022. Valid Sequential Inference on Probability Forecast Performance. Biometrika 109, 3 (2022), 647–663. doi:10.1093/biomet/asab047
- Howard et al. (2021) Steven R. Howard, Aaditya Ramdas, Jon McAuliffe, and Jasjeet Sekhon. 2021. Time-Uniform, Nonparametric, Nonasymptotic Confidence Sequences. The Annals of Statistics 49, 2 (2021), 1055–1080. doi:10.1214/20-AOS1991
- Javanmard and Montanari (2018) Adel Javanmard and Andrea Montanari. 2018. Online Rules for Control of False Discovery Rate and False Discovery Exceedance. The Annals of Statistics 46, 2 (2018), 526–554. doi:10.1214/17-AOS1559
- Lakonishok and Smidt (1988) Josef Lakonishok and Seymour Smidt. 1988. Are Seasonal Anomalies Real? A Ninety-Year Perspective. The Review of Financial Studies 1, 4 (1988), 403–425. doi:10.1093/rfs/1.4.403
- McLean and Pontiff (2016) R. David McLean and Jeffrey Pontiff. 2016. Does Academic Research Destroy Stock Return Predictability? The Journal of Finance 71, 1 (2016), 5–32. doi:10.1111/jofi.12365
- Ramdas et al. (2023) Aaditya Ramdas, Peter Grünwald, Vladimir Vovk, and Glenn Shafer. 2023. Game-Theoretic Statistics and Safe Anytime-Valid Inference. Statist. Sci. 38, 4 (2023), 576–601. doi:10.1214/23-STS894
- Ramdas et al. (2018) Aaditya Ramdas, Tijana Zrnic, Martin J. Wainwright, and Michael I. Jordan. 2018. SAFFRON: An Adaptive Algorithm for Online Control of the False Discovery Rate. In Proceedings of the 35th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 80). PMLR, 4286–4294. https://proceedings.mlr.press/v80/ramdas18a.html
- Romano and Wolf (2005) Joseph P. Romano and Michael Wolf. 2005. Stepwise Multiple Testing as Formalized Data Snooping. Econometrica 73, 4 (2005), 1237–1282. doi:10.1111/j.1468-0262.2005.00615.x
- Shafer et al. (2011) Glenn Shafer, Alexander Shen, Nikolai Vereshchagin, and Vladimir Vovk. 2011. Test Martingales, Bayes Factors and p-Values. Statist. Sci. 26, 1 (2011), 84–101. doi:10.1214/10-STS347
- Sullivan et al. (1999) Ryan Sullivan, Allan Timmermann, and Halbert White. 1999. Data-Snooping, Technical Trading Rule Performance, and the Bootstrap. The Journal of Finance 54, 5 (1999), 1647–1691. doi:10.1111/0022-1082.00163
- Sullivan et al. (2001) Ryan Sullivan, Allan Timmermann, and Halbert White. 2001. Dangers of Data Mining: The Case of Calendar Effects in Stock Returns. Journal of Econometrics 105, 1 (2001), 249–286. doi:10.1016/S0304-4076(01)00077-X
- Ville (1939) Jean Ville. 1939. Étude critique de la notion de collectif. Gauthier-Villars, Paris.
- Vovk and Wang (2021) Vladimir Vovk and Ruodu Wang. 2021. E-values: Calibration, Combination, and Applications. The Annals of Statistics 49, 3 (2021), 1736–1754. doi:10.1214/20-AOS2020
- Wang et al. (2025) Qiuqi Wang, Ruodu Wang, and Johanna Ziegel. 2025. E-backtesting. Management Science 72, 6 (2025), 4952–4973. Published online September 23, 2025; issue dated June 2026. doi:10.1287/mnsc.2023.01659
- Wang and Ramdas (2022) Ruodu Wang and Aaditya Ramdas. 2022. False Discovery Rate Control with E-values. Journal of the Royal Statistical Society Series B: Statistical Methodology 84, 3 (2022), 822–852. doi:10.1111/rssb.12489
- Waudby-Smith and Ramdas (2024) Ian Waudby-Smith and Aaditya Ramdas. 2024. Estimating Means of Bounded Random Variables by Betting. Journal of the Royal Statistical Society Series B: Statistical Methodology 86, 1 (2024), 1–27. doi:10.1093/jrsssb/qkad009
- White (2000) Halbert White. 2000. A Reality Check for Data Snooping. Econometrica 68, 5 (2000), 1097–1126. doi:10.1111/1468-0262.00152
- Yuan et al. (2026) Haochen Yuan, Minting Pan, Yunbo Wang, Siyu Gao, and Xiaokang Yang. 2026. MetaTrader: Learning to Generalize RL Trading Policies Beyond Offline Data. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 28023–28031. doi:10.1609/aaai.v40i33.40027
- Zrnic et al. (2021) Tijana Zrnic, Aaditya Ramdas, and Michael I. Jordan. 2021. Asynchronous Online Testing of Multiple Hypotheses. Journal of Machine Learning Research 22, 33 (2021), 1–39. https://jmlr.org/papers/v22/19-910.html
注意转载授权 · 阅读原文
来源:arXiv 科研构思与自主科研代理 · arxiv.org
引用原文
Eric Benhamou. Can We Stop the Backtest Yet? Anytime-Valid Promotion Tests for Adaptive Financial Research Agents[EB/OL]. (2026-11-03)[访问日期]. https://arxiv.org/abs/2611.03384v1.