Negative Controls for a Trading Research Experiment
Design failure checks that can reveal leakage and implementation mistakes without pretending they independently validate investment performance.

State what the control is supposed to detect
A negative control is useful only when its expected behaviour follows from a declared design. Write the suspected failure, the altered input and the expected diagnostic response before running it. Examples include a deliberately forbidden future field, a shuffled label under a specified randomization scheme or a unit conversion that should not change a dimensionless calculation. Do not call a control a strategy test merely because it produces a profit factor. Software correctness and independent investment evidence are different objectives.
Preserve the original experiment identity
Keep the candidate definition, data snapshot, source clock, label interval and dependency versions. A diagnostic should not quietly replace the strategy being evaluated. If a bug fix changes already inspected returns, record the access history and the revised candidate rather than reusing the original untouched-holdout label. Cross-validation documentation defines software mechanisms and warns about evaluation reuse; a financial experiment still needs its own dependency, grouping and availability checks. A chronological fold does not automatically solve overlapping labels or revised data.
Worked example: a future-value sentinel
Invent a feature table containing a legitimate prior close and a deliberately marked next-session outcome field. The production feature allowlist should reject the latter before fitting. A passing sentinel check shows that this particular forbidden field was blocked under this fixture. It does not prove that every legitimate-looking feature is causal, since a source revision or incorrectly stamped aggregate could still leak future information. Retain the rejected-column log and inspect availability metadata separately. The example is a software diagnostic, not a measured strategy result.
Be careful with label shuffling
Specify what dependence a randomization preserves and what null it represents. Arbitrary row shuffling can destroy time or group structure, making the diagnostic hard to interpret. Repeatability requires a saved random seed and method, but repeatable randomness is not a valid null by itself. A surprising shuffled result can motivate an implementation review; it cannot yield a general skill probability without an appropriate inferential design and the full research selection history. Do not publish a p-value from a casual diagnostic experiment.
Use invariants for units and accounting
Declare transformations which should preserve a quantity: rescaling both mean and standard deviation equally should preserve their ratio, for example. Separately test transformations that should change the answer, such as including an omitted fee. Keep boundary cases, empty populations, missing timestamps and invalid inputs in a software test suite. These tests can expose errors without adding independent trades to a statistical sample. A thousand generated fixtures are a thousand correctness checks, not a thousand observations of market performance.
Report controls beside their limits
For each diagnostic, publish purpose, fixture, expected response, observed response and what remains untested. Distinguish an experiment rejected for a software fault from a complete, independently evaluated no-model outcome. Retain candidate and access history when diagnostics lead to revisions. This journal chapter supplies a research protocol and blank control register; it does not assert a completed QTJ empirical study. A strong report allows another researcher to see why a result survived specific failure checks without mistaking that survival for proof of a profitable or robust strategy.
Decision record
| Question | Record to retain | Decision boundary |
|---|---|---|
| Sentinel | Forbidden field and rejection trace | One blocked leak does not prove universal causality |
| Randomization | Null, preserved dependence and saved method | Row shuffling is not automatically valid inference |
| Invariant | Expected unit or accounting relationship | Generated fixtures are not market samples |
| Revision | Bug, changed identity and prior evaluation access | A corrected candidate does not inherit untouched data |
Blank working record
The worksheet contains column headings only. Enter your own dated observations, keep absent evidence marked unknown, and do not treat the file as certification.
Primary references
- scikit-learn: cross-validation and temporal data
- scikit-learn: probability calibration
- NIST: intervals for binomial proportions
These documents support mechanisms and source definitions, not a tested trading result or a recommendation. Accessed 9 October 2026. The decision workflow and invented examples above are editorial exercises.
Keep reading
Publication methodology | Working glossary | Source and correction policy
A negative control and an inference budget are different records
An implementation sentinel checks a specified failure mode. A conditional family threshold instead concerns a declared set of statistical comparisons under valid test assumptions. Passing the sentinel does not validate the raw p-value or discover all tried alternatives. The fictional selection log records a formula fixture as software evidence, not outcome evidence. Keep the expected failure response and actual diagnostic artifact separate from any later independent financial evaluation. The new family lens supplies no dataset, leakage check or model admission merely because its arithmetic can be reproduced.