Latency-Aware Prediction Thresholds
A trading model's decision threshold shouldn't just balance false positives against false negatives, it should also account for how stale the prediction will be by the time an order can actually reach the market.
Prerequisites: Choosing the Operating Point
Most classifier tuning treats the decision threshold as a static tradeoff between false positives and false negatives, chosen once from a validation set. A trading signal has an extra wrinkle: by the time a prediction clears the pipeline, feature computation, model inference, risk checks, and network round-trip to the exchange, the market may have already moved on from the condition that triggered it. A latency-aware threshold adjusts the cutoff for how much of the signal's edge is expected to have decayed by the time an order can land.
Because a signal's predictive edge decays with time, the threshold for acting on it should rise as end-to-end latency rises, a prediction confident enough to trade on with a 1ms pipeline may not be confident enough to trade on with a 20ms one.
Why a fixed threshold breaks down
If a signal's edge halves every few milliseconds (a common shape for short-horizon microstructure signals), a system with slower infrastructure is effectively trading on an older, weaker version of the same prediction than a faster competitor would be. Using the same probability cutoff regardless of pipeline latency means a slow system fires on trades that have already lost most of their expected value by the time the order reaches the exchange, quietly eating into what looked like a profitable edge in backtests that didn't model latency at all.
The practical fix is to measure or estimate signal decay as a function of time, and then set the threshold as a function of the specific pipeline's measured latency rather than a single global number, a firm running two venues with different round-trip times may need two different thresholds off the same underlying model.
Discussion
💡 Discussion rules
- Ask and answer about this concept. Off-topic gets removed.
- No homework dumps. Show what you tried first.
- Corrections are welcome. Cite a source when you claim an error.
Loading discussion…
Related concepts
- Calibrating Alert Thresholds and False Alarm Rates
- Why Order Flow Is So Autocorrelated
- Classifying Adverse Selection at Fill Time
- Normalising Order-Book Snapshots for Neural Models
- Counterfactual Evaluation of Execution Policies
- Fill Prediction: Features, Labels and Evaluation
- Fill Simulator Fidelity for Training Execution Models
- Intraday Volatility Forecasts for Execution Scheduling
Practice in interviews
Further reading
- Aldridge, High-Frequency Trading (ch. on signal decay)