Deep Reinforcement Learning for Active High Frequency Trading

Antonio Briola, Jeremy D. Turiel, Riccardo Marcaccioli, Tomaso AstearXiv 2021

Introduction

Financial markets are characterized by high stochasticity, non-stationarity, and a low signal-to-noise ratio, particularly at the microstructure level. This paper introduces an end-to-end Deep Reinforcement Learning (DRL) framework designed to navigate the complexities of the Limit Order Book (LOB) for high-frequency trading (HFT). By leveraging the Proximal Policy Optimization (PPO) algorithm, the researchers demonstrate that machines can effectively exploit micro-scale market inefficiencies to generate consistent, positive returns.

The Limit Order Book Environment

The core of HFT lies in the Limit Order Book, a granular, millisecond-by-millisecond record of all outstanding buy and sell orders. Navigating this environment requires understanding the dynamics between the bid side (buy orders) and the ask side (sell orders), as well as the impact of incoming market and limit orders.

Visualization of the Limit Order Book (LOB) structure, showing bid/ask sides and market depth.

The authors focus on "large tick" stocks, such as Intel Corporation (INTC), where the bid-ask spread is relatively stable. This choice reduces environmental noise, allowing the agent to focus on volume imbalances and short-term price movements.

Methodology: PPO and Mark-to-Market Integration

The researchers implemented a DRL pipeline using the PPO algorithm, favored for its stability in stochastic environments. A key innovation was the inclusion of "mark-to-market" (unrealized profit) information in the agent's state representation. This allows the agent to monitor its open positions dynamically, solving the critical problem of determining the optimal time to exit a trade.

To improve training efficiency, the framework employs a sampling strategy that focuses on periods of high price volatility. This ensures the agent learns from "informative" snapshots where price changes are most actionable, rather than being confused by long periods of sideways movement.

Experimental Results

The DRL agents achieved stable, positive cumulative returns on out-of-sample test data from the LOBSTER dataset. The inclusion of mark-to-market data ($S_{c202}$) proved transformative, leading to P&L levels significantly higher than models relying solely on LOB volumes.

Cumulative Profit and Loss (P&L) over tick time, demonstrating stable positive returns for the optimized DRL agent.

The results indicate that the agent does not rely on a few "lucky" trades but rather maintains a persistent upward trend in profitability across the testing period. This suggests the identification of "occasional regularities" in the LOB that can be exploited before market correction.

Conclusion and Future Directions

While the study demonstrates the potential for DRL in HFT, it acknowledges limitations such as the assumption of zero market impact for single-unit trades and the challenge of sparse rewards. Future work will explore temporal aggregation to densify reward signals and test the framework across a broader range of asset classes. Ultimately, this research provides a robust foundation for applying advanced DRL techniques to the most granular levels of financial markets.

Summary updated

BibTeX
@misc{briola2021deep,
  author = {Antonio Briola and Jeremy D. Turiel and Riccardo Marcaccioli and Tomaso Aste},
  title = {{Deep Reinforcement Learning for Active High Frequency Trading}},
  year = {2021},
  eprint = {2101.07107},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.07107},
}
Figure