Authors: Álvaro Cartea, Sebastian Jaimungal, and Leandro Sánchez-Betancourt
Abstract
Latency (i.e., time delay) in electronic markets affects the efficacy of liquidity taking strategies. During the time liquidity takers process information and send marketable limit orders (MLOs) to the exchange, the limit order book (LOB) might undergo updates, so there is no guarantee that MLOs are filled. We develop a latency-optimal trading strategy that improves the marksmanship of liquidity takers. The interaction between the LOB and MLOs is modelled as a marked point process. Each MLO specifies a price limit so the order can receive worse prices and quantities than those the liquidity taker targets if the updates in the LOB are against the interest of the trader. In our model, the liquidity taker balances the tradeoff between missing trades and the costs of walking the book. We employ techniques of variational analysis to obtain the optimal price limit of each MLO the agent sends. The price limit of a MLO is characterized as the solution to a new class of forward-backward stochastic differential equations (FBSDEs) driven by random measures. We prove the existence and uniqueness of the solution to the FBSDE and numerically solve it to illustrate the performance of the latency-optimal strategies.
Introduction
In high-frequency trading (HFT), speed is often equated with success. However, even the most sophisticated participants face a fundamental physical constraint: latency. Latency is the non-zero time delay between observing market data, computing a decision, and the exchange receiving the resulting instruction. In this interval, the Limit Order Book (LOB) is not static; it is a moving target.
This paper addresses the "marksmanship" of liquidity takers—traders who execute against existing orders in the book. When a trader sends a Marketable Limit Order (MLO), they face two primary risks. First, execution risk: the price may move away before the order arrives, leading to a missed trade. Second, price risk: to ensure execution, the trader may set a price limit that "walks the book," incurring higher costs than initially anticipated. This research provides a rigorous mathematical framework to optimize this trade-off.
Modeling the Moving Target
The authors model the interaction between the trader and the LOB using Marked Point Processes (MPP). This approach treats the arrival of market events and the subsequent "shocks" to the LOB (changes in price and quantity) as random events with specific magnitudes. Unlike traditional models that assume zero latency, this framework explicitly accounts for the state of the book at the moment of the trader's decision versus its state at the moment of execution.
To find the optimal strategy, the paper employs variational analysis. The goal is to minimize a performance criterion that balances the immediate costs of execution against the long-term penalty of failing to meet volume targets.
The Optimal Discretion Strategy
The core of the proposed strategy is the calculation of an optimal "discretion" level ($\delta$). This parameter represents the maximum additional cost a trader is willing to accept beyond the mid-price to ensure a fill.
Mathematical Characterization
The optimal price limit is characterized as the solution to a new class of Forward-Backward Stochastic Differential Equations (FBSDEs) driven by random measures. The authors provide a formal proof for the existence and uniqueness of solutions to these equations, representing a significant contribution to the field of stochastic calculus. To make these theoretical results applicable in real-time trading, the authors transform the FBSDEs into a Partial Integro-Differential Equation (PIDE), which can be solved numerically.
Key Insights
- The Sub-martingale Property: The research demonstrates that the optimal discretion $\delta$ is a sub-martingale. This implies that as the trading horizon progresses, the amount of "extra" price a trader is willing to pay generally increases to ensure they meet their execution targets.
- Penalty Structures: The strategy's behavior changes based on the penalty for missed trades. If the penalty is linear, the discretion remains relatively fixed. If the penalty is quadratic—meaning the cost of missing trades grows more than proportionally—the strategy becomes highly dynamic and path-dependent.
- Cost-Neutrality: The model allows for the calibration of strategies where the benefits of favorable market moves during the latency period (getting a better price than expected) exactly offset the costs of walking the book.
Results and Performance
The model was validated through 10,000 simulations of the Marked Point Process, supported by empirical observations from proprietary foreign exchange data. The results indicate that the latency-optimal strategy significantly outperforms "naive" or fixed-discretion strategies.
In numerical simulations, the optimal strategy achieved a 95% fill rate while maintaining a lower expected terminal cost compared to benchmarks. The algorithm successfully demonstrates dynamic adaptation: as the number of missed trades increases, the system automatically widens its discretion to "catch up" with the market, effectively managing liquidity risk over time.
Conclusion and Future Directions
This paper provides a robust framework for liquidity takers to navigate the risks of latency. By treating the LOB as a stochastic moving target, traders can move beyond simple "hit or miss" logic to a more nuanced, marksmanship-based approach.
While the current model assumes "fill-or-kill" orders (where orders are either fully executed or rejected), future research could extend this to "immediate-or-cancel" orders that allow for partial fills. Additionally, while this model treats the trader as a price taker, integrating the market impact of the trader’s own latency-optimal orders remains a promising area for further study. Finally, the framework holds significant potential for applications in the "Last Look" mechanisms prevalent in foreign exchange markets.
Summary updated