Reinforcement Learning in Queue-Reactive Models: Application to Optimal Execution

Tomas Espana, Yadh Hafsi, Fabrizio Lillo, Edoardo Vittori
11/19/2025
q-fin.TRcs.LG

No confident code implementation found for this paper.

Abstract

We investigate the use of Reinforcement Learning for the optimal execution of meta-orders, where the objective is to execute incrementally large orders while minimizing implementation shortfall and market impact over an extended period of time. Departing from traditional parametric approaches to price dynamics and impact modeling, we adopt a model-free, data-driven framework. Since policy optimization requires counterfactual feedback that historical data cannot provide, we employ the Queue-Reactive Model to generate realistic and tractable limit order book simulations that encompass transient price impact, and nonlinear and dynamic order flow responses. Methodologically, we train a Double Deep Q-Network agent on a state space comprising time, inventory, price, and depth variables, and evaluate its performance against established benchmarks. Numerical simulation results show that the agent learns a policy that is both strategic and tactical, adapting effectively to order book conditions and outperforming standard approaches across multiple training configurations. These findings provide strong evidence that model-free Reinforcement Learning can yield adaptive and robust solutions to the optimal execution problem.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{espana2025reinforcement,
  title  = {Reinforcement Learning in Queue-Reactive Models: Application to Optimal Execution},
  author = {Tomas Espana and Yadh Hafsi and Fabrizio Lillo and Edoardo Vittori},
  year   = {2025},
  eprint = {2511.15262},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.15262v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.15262.svg)](https://codeofpaper.com/paper/2511.15262)

Discussion