arXiv:2611.07751cs.SINov 2026

Manuscript Offprint

arXiv:2611.07751

Adjustment-Anchor Dependence in Formulaic Alpha Languages: A Certified Grammar and a Re-Anchoring Audit

Zhengkai Tu, Xinyue Xiang, Jimmy Huang

Zhengkai Tu, Xinyue Xiang, and Jimmy Huang

Abstract—Several public scripts for formulaic alpha mining store prices adjusted to the snapshot's last day, so a past day's stored price changes with every later split or dividend and formulas that do not cancel the adjustment factor depend on future corporate actions. We formalise a change of adjustment anchor as a per-stock group action and give a two-sorted type system that soundly certifies anchor invariance from a formula's syntax, under a declared field-adjustment contract and idealised operator semantics; its second sort admits log-returns, and a linear-time checker plugs into any miner. In a re-anchoring audit on Chinese A-shares, pools that five published methods mined in our benchmark pipeline score a mean information coefficient (IC) 0.005 higher on the stored representation than on a cutoff-anchored one, about 14% of their IC. Certified pools move by 0.001 or less, and pools mined on past-anchored data stay sensitive. On the Chinese development folds, certification shows no detectable predictive cost or gain at the design's resolution, about 0.017 IC across cells on pool ICs of 0.03–0.04. We also trace an erroneous index-membership entry to public Qlib data snapshots and show that re-mining exposes the effect of such data defects, which re-evaluating fixed pools misses.

Index Terms—Formulaic alpha mining, symbolic regression, type systems, invariance, look-ahead bias, data representation, data quality, reproducibility, GFlowNet, frozen evaluation protocols.

1 INTRODUCTION

Adjusted prices are raw prices multiplied by a cumulative split-and-dividend factor. Several public collection scripts for formulaic alpha mining normalise that factor at the last day of the snapshot. The BaoStock script released with AlphaGen [1], and redistributed with AlphaForge and AlphaSAGE [2], [3], does exactly this (Section 55; items numbered with S are in the Supplementary Material). The close it stores for a day in 2015 therefore changes every time the snapshot is refreshed after a later split or dividend (Fig. 1). A ratio of two prices of the same stock is unaffected. A bare price, a power of a price or a cross-sectional rank of price levels is affected, and a factor built from them depends on corporate actions that had not happened on the day it is evaluated. Formulaic alpha miners search over exactly such expressions: they generate formulas over open, high, low, close, volume and VWAP, score them against forward returns, and keep a pool of weakly correlated factors for a combiner. The scripts adjust every field consistently. The question is which formulas computed on their output depend on the anchor.

Three things have to hold before a factor value can be trusted. The stored fields must be adjusted the way the provider declares, which we call the field contract and check on the values. The formula must not depend on the anchor, which a symbolic certificate establishes under idealised operator semantics. And the executed code must behave like the formula, which we record as a numerical validation status

Figure

Stored value on day t

closetclose_{t}p≠p/2× not invariant
closet/closet−20close_{t}/close_{t-20}p/q=p/q✓ invariant

Fig. 1. The anchor problem under end-anchored adjustment. The same raw history of stock i is stored twice, anchored at T1T_1 before a 2-for-1 split and at T2T_2 after it; the anchor group action gcg_c with ci=2c_i = 2 maps one snapshot onto the other. The stored close on day t is p in one and p/2 in the other, so a bare price depends on a corporate action that had not yet happened on day t. The ratio closet/closet−20close_t / close_{t-20} is identical in both.

after re-anchoring. Our own pipeline once broke the contract (Section 6.1), and fixing the data does not settle the second point: pools mined on data anchored in the past still change when the anchor moves (Section 7.1).

A miner adds a further exposure, because it selects its output by scoring the discovery data. A mislisted index ticker in public Qlib data snapshots, touching 0.1% of the discovery stock-days, changed the pools our miner returned, and re-evaluating the fixed pools did not show it (Section 7.5). Data problems compound downstream in other pipelines in the

Z. Tu is with The Chinese University of Hong Kong, Hong Kong SAR, China.

X. Xiang is with the University of Michigan, Ann Arbor, MI, USA.

J. Huang is with York University, Toronto, ON, Canada. Corresponding author: J. Huang (jhuang@yorku.ca).

same way [4], [5].

We ask three questions. Can a composable certificate of invariance to the anchor be built from a formula's syntax (RQ1)? What does enforcing it cost a miner (RQ2)? How far does a change in the discovery data travel into the pool a miner returns, compared with its effect on evaluating a pool already found (RQ3)? The constraint removes formulas, some of which carry signal through price levels, so RQ2 measures what the guarantee costs.

We reduce immunity to later corporate actions to invariance under a per-stock group action that divides every price of a stock by a constant and multiplies its volume by it. A two-sorted type system certifies that invariance from the syntax, soundly but not completely (Section 4). Its additive sort records the shift into which a logarithm turns the scale, so it admits log-returns, which exponent bookkeeping alone rejects. We attach the checker to a GFlowNet miner and to three other generators and measure its cost on Chinese A-shares under frozen stage-level protocols (Sections 6 and 7); the S&P 500 serves mainly as a second provider for the audit.

References (38)