What I Got Wrong About Stationarity

For two years I assumed the order-flow process was stationary within a session. It is not, and the honest version of the pipeline needs a slowly varying normalisation instead of a fixed window.

Language versions [EN] [中文]
Cite

I spent two years building a pipeline on an assumption I never wrote down, which is the worst kind of assumption to have. This log is the record of finding it.

The assumption

Every descriptor I compute begins with a normalisation: subtract the session mean, divide by a session-level scale. The implicit claim is that the statistical character of the flow is stable inside a session, so one set of constants describes the whole thing.

It is a comfortable claim because it makes the code short. It is wrong.

How it surfaced

The curvature descriptor has a clean property under a smooth reparameterisation: the sign of the torsion is invariant. When I grouped results by hour of the session, that sign flipped far more often in the first and last ninety minutes than in the middle. A genuinely stationary process should not care what time it is.

The effect was not noise. It was large enough to move the ablation in the direction I wanted, which is exactly why I had to look at it.

The correction

Replace the single session-level normalisation with a slow local scale estimated over a backward window, then measure the descriptor against that. This is a small change to the code and a large change to the claim: the results now hold under a weaker stationarity assumption, and I can state the window length as an explicit parameter instead of hiding it in a constant.

What it cost

Two reruns of every experiment, and the loss of the cleanest slide in my deck. The version of the result I can now defend is smaller and slower to explain.

That is the correct trade. A result that only survives inside the assumption that produced it is not a result, it is a description of the code.

Related reading

Research log//12 min read

Ablation Studies: How I Proved Geometry Is Not Just Another Feature

The result I did not want: curvature and torsion only beat the engineered features once the descriptor stopped leaking the price level.

Video//1 min read

Walking a Frenet Frame Along a Reconstructed Order-Flow Curve

Screen walkthrough of the descriptor pipeline: arc-length resampling, the frame fit, and what changes when liquidity state turns.

Cite this entry

Copy the block you need.

BibTeX
@misc{huang2026whatigotwrongabout,
  author  = {Mr Huang},
  title   = {What I Got Wrong About Stationarity},
  year    = {2026},
  url     = {https://selfevo.dev/en/research/logs/what-i-got-wrong-about-stationarity},
  note    = {selfevo, research}
}
RIS
TY  - GEN
AU  - Mr Huang
TI  - What I Got Wrong About Stationarity
PY  - 2026
UR  - https://selfevo.dev/en/research/logs/what-i-got-wrong-about-stationarity
PB  - selfevo
ER  - 
APA
Mr Huang (2026). What I Got Wrong About Stationarity. selfevo. https://selfevo.dev/en/research/logs/what-i-got-wrong-about-stationarity