Machine learning in trading is usually judged by its results: accuracy, AUC, profit and loss, Sharpe ratio, walk-forward performance, out-of-sample performance, Monte Carlo robustness and stability across market regimes.
These are useful measurements. But they all come after a more fundamental question:
If the answer is uncertain, everything measured afterwards inherits that uncertainty.
This is a problem Vortraq encountered directly during its development. It changed how we think about machine learning, backtesting and evidence.
The problem comes before the model
Consider a machine-learning trading observation. At 13:06, the system sees a collection of market information: price and recent returns, indicator values, structural market state, higher-timeframe context, volatility, previous events and strategy state. Call that collection X(13:06).
The model makes a decision using that state. Later, once enough market movement has occurred, an outcome Y can be associated with the observation. Training therefore attempts to learn:
In a completed historical dataset, however, the system already possesses information about everything that happened afterwards. The research environment must reconstruct the past while behaving as though the future has not happened yet.
That is considerably harder than simply processing historical candles in chronological order.
- A feature can be associated with the wrong observation.
- A derived state can become available earlier in research than it could have been live.
- An outcome can exist in the dataset before the simulated system should be allowed to learn from it.
- Different stages of an experiment can unknowingly operate on different populations.
- A reconstructed historical state can differ subtly from the state originally observed live.
None of these necessarily produces an obvious software failure. The program still runs. The model still trains. The backtest still produces trades. And the results can look excellent.
Machine learning cannot tell you that its teacher is wrong
A machine-learning algorithm has no independent understanding of the market it is being shown. It learns relationships in its training data.
If the data contain a genuine relationship, the model can attempt to learn it. If the data contain noise, the model can learn around that noise. If the data contain a systematic error, the model can learn the error. And if information unavailable at decision time has entered the observations, a sufficiently capable model may become exceptionally good at exploiting it.
There is another, less obvious failure mode. Suppose most historical observations are correct, but a small proportion are not. The model may encounter what appear to be contradictory examples:
If some of those contradictions were introduced by reconstruction, association or timing errors rather than by the market itself, the model cannot know that. To the model, both market uncertainty and data-integrity errors look like data.
The consequences can appear as weak confidence separation, unstable feature importance, poor generalisation or predictive performance collapsing toward randomness. Adding more data does not necessarily solve the problem. If the process producing the data remains imperfect, more data can simply mean more contradictory evidence.
Why conventional validation is not enough
Vortraq uses conventional quantitative validation techniques. They remain valuable. But during development we learned an important distinction: a validation test can test only the failure modes it was designed to detect. Passing it does not prove that every other failure mode is absent.
Out-of-sample testing
Separating training and evaluation periods reduces one of the most obvious forms of overfitting. But chronological separation does not establish that the observations inside either period were causally correct. A perfectly separated test set can still contain incorrectly reconstructed information.
Walk-forward testing
Walk-forward evaluation improves realism by repeatedly training on past information and evaluating on later periods. It is an important test. But it still assumes that the state presented at each simulated historical moment accurately represents what could have existed at that moment. Walk-forward validation can therefore evaluate an invalid historical representation extremely rigorously.
Monte Carlo analysis
Monte Carlo techniques can provide valuable information about sequence risk, drawdown behaviour and sensitivity to observed outcomes. They do not establish whether the observations that produced those outcomes were temporally and structurally valid in the first place. Statistical robustness and data integrity are different questions.
Leakage diagnostics
Explicit leakage tests are essential. But they too have limits. A leakage test searches for a particular signature of leakage. If contamination enters through a mechanism the test does not perturb or observe, the test can pass.
Vortraq encountered this problem during development. A significant temporal-integrity issue existed while dedicated diagnostic testing — including a temporal-shift test — reported no leakage. The diagnostic was not dishonest. It simply was not capable of detecting the particular mechanism responsible.
That experience changed our standard of evidence.
Stop asking whether we can detect a difference
Most validation approaches effectively ask: Can we find evidence that the historical system differs from reality?
Vortraq eventually began asking a different question:
Consider a live trading system at 13:06. It observes Xlive(13:06). Later, after that period has become historical, the research system reconstructs the same moment as Xoffline(13:06).
The question is no longer whether their resulting equity curves look similar.
And then the same question at 13:07, 13:08, 13:09 and onward across the tested session. We refer to this as observational parity.
Same trades do not prove the same observations
Output agreement can hide internal disagreement.
| State | Live | Offline |
|---|---|---|
| Feature A | 0.82 | 0.77 |
| Feature B | 0.31 | 0.31 |
| Market regime | Bull | Bull |
| Decision | Long | Long |
Both systems make the same trade. Their fills may be similar. Their resulting P&L may be nearly identical. A live-versus-backtest equity comparison therefore looks excellent.
But parity has already failed. The offline research environment did not reconstruct the information seen live. The error may simply not have affected this particular decision.
That distinction becomes especially important in machine learning. A feature that has little influence on today's model may become important to a model trained tomorrow. Two incorrect features can even offset one another and produce the correct final decision for the wrong reasons.
This is why Vortraq does not treat similar trades or similar P&L as proof of research/live parity.
Same code does not prove the same world
Running identical strategy code in research and live trading is good engineering practice. Using the same execution engine is better still. But neither proves observational parity.
If the same function runs in both environments but the information supplied to it differs, identical code can legitimately produce different internal states or decisions. Even if it happens to produce the same decision, the underlying research representation remains different.
Vortraq's approach
Vortraq records decision-time state during live operation. Afterward, the corresponding historical candles are fetched again from the canonical signal-data source rather than replayed from the live recording, and the period is run through a separate offline backtest using the historical research path. That later run independently reconstructs the historical observations, which are then compared directly with the recorded live state.
The comparison is performed on the state used by the system rather than relying solely on resulting trades or profitability. This allows discrepancies to be detected even when they do not alter the final trading decision.
The internal mechanisms used to establish observation identity, reconstruct state, associate outcomes and preserve causal eligibility are part of Vortraq's proprietary architecture and are intentionally not described in this paper.
A boundary of the test: the live and offline paths share parts of Vortraq's feature and structural computation. Observational parity therefore does not independently prove that shared logic is conceptually correct. If the same causal or timing assumption were wrong in both paths, they could agree perfectly. Parity tests reproducibility and availability across the operating paths; separate leakage, chronology and causal-eligibility tests address whether the shared research assumptions themselves are valid.
What we tested
Vortraq has been subjected to extended live-versus-offline parity testing in which live decision-time observations were recorded first, then the matching period was run separately through the offline historical backtest and the independently reconstructed observations were compared.
Testing has included extended continuous market operation, large collections of simultaneously changing state fields, multiple timeframe-derived states, structural and indicator information, decision-related state, interruption and recovery scenarios, and repeated historical reconstruction.
In one documented session, 130 compared state fields reproduced without mismatch across the tested observations during approximately 27 hours of live operation.
A subsequent extended test ran for approximately 42 hours and produced byte-identical compared output across the tested live and reconstructed paths.
What this proves — and what it does not
Observational parity does not prove that a trading strategy will be profitable. It does not prove that a machine-learning model contains predictive information. It does not eliminate market uncertainty. It does not prove that software is incapable of containing another defect. It does not guarantee that every future market condition will reproduce perfectly.
What it provides is evidence for a narrower proposition:
That proposition matters because virtually every subsequent research conclusion depends upon it.
Why this matters for machine learning
A trading model is trained on historical observations because we hope those observations represent situations the model could encounter live. If that assumption is wrong, model statistics become difficult to interpret.
Consider an AUC of 0.60. Is that genuine predictive information, information accidentally unavailable at decision time, an association error, or a population inconsistency? AUC alone cannot answer.
Now consider an AUC of 0.50. Does the market contain no learnable relationship? Are the features poor? Or has reconstruction error introduced enough contradictory information to obscure an otherwise weak relationship? Again, the model cannot answer.
This is why Vortraq treats observational integrity as a prerequisite for interpreting ML performance rather than as another performance metric.
Learning from outcomes creates another clock
There is also an important difference between information used to make a prediction and information used later to teach the model.
At time t, a model may make a prediction. The outcome used to evaluate that prediction may not become knowable until t+h. The fact that the outcome already exists somewhere inside a completed historical dataset does not mean a simulated trading system should be permitted to learn from it at time t.
Historical availability and simulated causal availability are not the same thing.
An adaptive machine-learning system therefore has to reason not only about when a prediction was made, but also when its outcome could legitimately have become known. Vortraq treats this distinction as part of the integrity of the learning process. The internal mechanisms enforcing it remain proprietary.
Observation identity matters
A prediction, trade and eventual outcome must refer to the correct original observation. Matching records because they appear close enough — same timestamp, same direction, same timeframe, similar state — is not necessarily sufficient in a complex adaptive system.
Once observations travel through multiple research, trading and learning stages, identity becomes part of correctness. Vortraq therefore treats the continuity of an observation through its lifecycle as a first-class system concern.
Again, this paper deliberately describes the requirement rather than the implementation. Knowing that identity matters is not the same thing as knowing how Vortraq establishes and protects it.
Why we don't use profitability as proof
A profitable backtest is evidence that a particular historical simulation produced profit. It is not proof that the simulation accurately represented the information available to a live system.
Likewise, a profitable live period does not prove that a research methodology is valid. Markets contain variance. Strategies encounter favourable and unfavourable regimes. Unknown edge and luck can both produce attractive short-term results.
Vortraq therefore separates two questions:
The first question is inherently uncertain. The second can be subjected to engineering measurement. Our parity work addresses the second.
Why we publish this
Vortraq is a commercial product. This paper should therefore not be interpreted as independent third-party research. It describes our engineering philosophy, development experience and internal test evidence.
We publish it because we believe users evaluating automated trading and machine-learning systems should ask questions beyond historical profitability.
Ask whether research and live trading use the same logic. Then go further.
- Ask whether anyone has measured whether they actually produced the same state.
- Ask what was compared.
- Ask for mismatch counts.
- Ask how long the test ran.
- Ask whether changing internal values were examined or only final trades.
- Ask whether interruptions and recovery were tested.
- Ask whether a machine-learning outcome can enter training before it would have been knowable.
- Ask whether an observation being trained later can be proven to be the same observation originally evaluated.
And distinguish carefully between architecture that should produce parity and evidence that parity actually occurred. They are not the same thing.
The principle
Machine learning does not know whether the world we give it is real. It only knows the data.
So before asking “How intelligent is the model?”, we believe a trading system should first be able to answer “How faithfully did we reconstruct what the model was allowed to know?”
That question does not produce an exciting equity curve. It does something more fundamental. It determines whether the equity curve, the model statistics and the research built on top of them deserve to be interpreted at all.
This document describes engineering methodology and measured software-validation evidence. It is not investment advice, a profitability claim or a guarantee of future software behaviour.

















