An event label describes an outcome over an interval, such as the return from a signal until a time limit or exit barrier. Adjacent events often share market observations. Store their start and end times explicitly, then account for those overlaps in validation and uncertainty rather than counting every row as an independent trade opportunity.
The model and its assumptions
Fixed-horizon targets are easy to align but may not reflect the strategy's exits. Barrier-based targets can represent stop, target and time-limit decisions more directly, yet their realised end time varies by path. Labels become available only once that event has ended and the necessary prices have arrived.
The label design is itself a research choice. Setting barriers using full-sample volatility or selecting them after seeing which configuration produces the best class balance introduces future information or selection bias before the classifier is even trained.
A worked example
Suppose a signal is recorded daily and each label measures the following five sessions. Events starting on Monday and Tuesday share four sessions of their outcome windows. Five adjacent labels are therefore not five independent exposures to a new week of market behaviour.
Now consider a barrier label entered at 100 with an upper exit at 102 and lower exit at 99. A daily bar with high 103 and low 98 touches both. That bar alone does not reveal which barrier was hit first. Assigning the favourable outcome invents information. Use suitably granular data or a conservative, documented ambiguity policy.
Practical review and implementation
Define event start, feature-availability time, barrier-setting information and realised end time. Use consistent executable price conventions and include gaps where an exit cannot occur at the nominal barrier. Purge training labels that overlap validation outcomes and retain common-event identifiers for uncertainty estimates.
Report label prevalence, duration and ambiguity counts alongside predictive metrics. Compare event-based models with a simpler fixed-horizon benchmark. If weighting labels by uniqueness or exposure, document the purpose and avoid treating the resulting weights as a substitute for a valid time-based evaluation.
Assumptions and limitations
More elaborate labels can encode assumptions rather than additional information. Barrier outcomes depend on volatility estimates, market microstructure and fill rules. Overlap-aware validation prevents a specific kind of contamination but cannot establish that a model will generalise to new regimes. The final assessment must include the complete trading policy, with actual entry delays and costs.
Primary references
Further detail on the underlying concepts and data definitions:
