Validate a Short-Horizon Price Model Without Lookahead Bias

Last updated: November 29, 2026

Quick Overview

You trained a model that predicts the 10-second mid-price move of an underlying from order book features and it shows very high accuracy in random k-fold cross-validation. Explain why that result is likely wrong and how you would validate it properly.

Akuna Capital
Machine Learning
Quantitative Researcher
Akuna Capital
November 29, 2026
Quantitative Researcher
Onsite
Machine Learning
Medium

0

0

0 solved


You trained a model that predicts the 10-second mid-price move of an underlying from order book features and it shows very high accuracy in random k-fold cross-validation. Explain why that result is likely wrong and how you would validate it properly.

Akuna Capital's quant researchers build short-horizon signals that feed quoting and hedging, where leakage is the most common way a model looks great and then loses money. The interviewer checks that you can name specific leakage paths, design time-aware validation with purging, and judge a model by trading value.

What the Interviewer Expects
  • Explain why random k-fold leaks with overlapping, autocorrelated samples
  • Identify feature leakage, such as features computed with future data
  • Propose walk-forward validation with purging and an embargo
  • Evaluate with trading-relevant metrics after costs
  • Check stability across regimes and symbols
Key Topics to Cover
lookahead bias
time-series cross-validation
data leakage
model evaluation
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How long should the embargo be?
  • How would you detect a feature that uses future information by accident?
  • The model is accurate but loses money after costs. Why might that be?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

What is one sample: every tick or every second? How are labels defined (mid change over the next 10 s)? How are features normalized (for example, z-scored with what window)? What is the trading use: s...

Approach

Assume leakage until proven otherwise. Random k-fold on time series places nearly identical neighbors in both train and test, and overlapping label windows mean a training label can contain the test s...


Submit Your Answer
Markdown supported