Execution research is the place machine learning is easiest to justify and easiest to overfit. The label, implementation shortfall against a stated arrival price, is observable. The features, book imbalance, spread, recent signed volume, time of day, auction proximity, are observable too. The trap is leakage from your own later fills, and a sample that is mostly one calm regime.
What a model is allowed to decide
Useful decisions are small. Participate in the close or work the continuous session. Cross the spread or wait. Send size now because the book is about to thin into a UK data print. These are classification and regression problems with a baseline a trader can explain: time-weighted average, volume-weighted average, or a simple participation schedule. The learned policy has to beat that schedule on shortfall, not on a proxy that ignores opportunity cost.
Queue position at the touch is informative and fragile. A model trained on one venue's reconstruction will not transfer to another without a new clock. Say which venue. UK lit books, periodic auctions and dark venues do not offer the same information at the same moment, and the post-Brexit split between UK and EU trading obligations means a pan-European habit can be a faulty feature. We describe the mechanism. We do not give a compliance opinion.
Adverse selection is the point
Filled passive orders are not a random sample of your intentions. You get done when someone else is motivated. Training on fills alone teaches the model the wrong probability of completion. Include the orders that did not trade. Include cancels. A survival-style view of time-to-fill, even a plain one, stops the rosy backtest in which every child order finds a polite seller.
For cash credit the same idea shows up as staleness. A "mid" that has not traded is not a mid. Execution models which treat an indicative quote as a trade will report a shortfall the portfolio never experienced. Filter to actionable prices. If that leaves you with a short sample, that is the finding.
When the linear model should win
On a few hundred independent decision days, a deep network will fit noise in the book. Regularised linear models and shallow trees with monotone constraints, size up when spread is tight and imbalance agrees, size down into the data print, are the ones a risk manager can sign. Depth is justified when the feature is truly a path, a sequence of book states, and you have the tape and the licence to hold it. Even then, compare with a last-trade baseline before you admire the architecture.
- State the arrival price definition before you fit anything.
- Keep your own future orders out of the feature window.
- Report shortfall in price and in pounds, after fees.
- Show a calm month and a stressed month separately.
- Prefer a model you can turn off in one rule.
This is research commentary, not a trading system for sale and not advice to route an order anywhere. The use case is judgement: knowing which part of a UK execution stack is allowed to be learned, and which part should stay a rule written in plain English.