Algorithmic trading in a microstructural limit order book model

We propose a microstructural modeling framework for studying optimal market-making policies in a FIFO (first in first out) limit order book (order book). In this context, the limit orders, market orders, and cancel orders arrivals in the order book are modeled as point processes with intensities that only depend on the state of the order book. These are high-dimensional models which are realistic from a micro-structure point of view and have been recently developed in the literature. In this context, we consider a market maker who stands ready to buy and sell stock on a regular and continuous basis at a publicly quoted price, and identifies the strategies that maximize their P&L penalized by their inventory. An extension of the methodology is proposed to solve market-making problems where the orders arrivals are modeled using Hawkes processes with exponential kernel. We apply the theory of Markov Decision Processes and dynamic programming method to characterize analytically the solutions to our optimal market-making problem. The second part of the paper deals with the numerical aspect of the high-dimensional trading problem. We use a control randomization method combined with quantization method to compute the optimal strategies. Several computational tests are performed on simulated data to illustrate the efficiency of the computed optimal strategy. In particular, we simulated an order book with constant/ symmetric/ asymmetrical/ state dependent intensities, and compared the computed optimal strategy with naive strategies. Some codes are available on https://github.com/comeh.

[1]  Olivier Guéant,et al.  Dealing with the Inventory Risk , 2011 .

[2]  Ioanid Roşu A Dynamic Model of the Limit Order Book , 2008 .

[3]  Charles-Albert Lehalle,et al.  Optimal Liquidity-Based Trading Tactics , 2018, Stochastic Systems.

[4]  Bruno Bouchard,et al.  Optimal inventory management and order book modeling , 2018, ESAIM: Proceedings and Surveys.

[5]  U. Rieder,et al.  Markov Decision Processes with Applications to Finance , 2011 .

[6]  Marcos Lopez de Prado,et al.  Algorithmic and High Frequency Trading , 2016 .

[7]  Rama Cont,et al.  A Stochastic Model for Order Book Dynamics , 2008, Oper. Res..

[8]  T. Ho,et al.  Optimal dealer pricing under transactions and return uncertainty , 1981 .

[9]  David G. Lowe,et al.  Fast Approximate Nearest Neighbors with Automatic Algorithm Configuration , 2009, VISAPP.

[10]  S. Graf,et al.  Foundations of Quantization for Probability Distributions , 2000 .

[11]  G. Pagès,et al.  Optimal quantization methods and applications to numerical problems in finance , 2004 .

[12]  Huyên Pham,et al.  A numerical algorithm for fully nonlinear HJB equations: An approach by control randomization , 2013, Monte Carlo Methods Appl..

[13]  Sebastian Jaimungal,et al.  Modelling Asset Prices for Algorithmic and High-Frequency Trading , 2010 .

[14]  F. Abergel,et al.  A Stochastic Control Approach for Option Market Making , 2014 .

[15]  F. Abergel,et al.  A Stochastic Control Approach to Option Market Making , 2015 .

[16]  Charles-Albert Lehalle,et al.  Simulating and Analyzing Order Book Data: The Queue-Reactive Model , 2013, 1312.0563.

[17]  Iuliia Manziuk,et al.  Deep Reinforcement Learning for Market Making in Corporate Bonds: Beating the Curse of Dimensionality , 2019, Applied Mathematical Finance.

[18]  Huyên Pham,et al.  High Frequency Trading and Asymptotics for Small Risk Aversion in a Markov Renewal Model , 2013, SIAM J. Financial Math..

[19]  Laurent Massoulié,et al.  Stability results for a general class of interacting point processes dynamics, and applications , 1998 .

[20]  Richard S. Sutton,et al.  Reinforcement Learning: An Introduction , 1998, IEEE Trans. Neural Networks.

[21]  P. Brémaud Point processes and queues, martingale dynamics , 1983 .

[22]  Stacy Williams,et al.  Limit order books , 2010, 1012.0349.

[23]  Adam Krzyzak,et al.  A Distribution-Free Theory of Nonparametric Regression , 2002, Springer series in statistics.

[24]  Alessandro Balata,et al.  Regress-Later Monte Carlo for optimal control of Markov processes , 2017, 1712.09705.

[25]  Huyen Pham,et al.  Optimal high-frequency trading with limit and market orders , 2011, ArXiv.

[26]  Olivier Guéant,et al.  Dealing with the inventory risk: a solution to the market making problem , 2011, 1105.3115.

[27]  A. Hawkes Spectra of some self-exciting and mutually exciting point processes , 1971 .

[28]  Olivier Guéant,et al.  The Financial Mathematics of Market Liquidity : From Optimal Execution to Market Making , 2016 .

[29]  M. Avellaneda,et al.  High-frequency trading in a limit order book , 2008 .

[30]  Mathieu Lauriere,et al.  A class of finite-dimensional numerically solvable McKean-Vlasov control problems , 2018, ESAIM: Proceedings and Surveys.

[31]  Gilles Pagès,et al.  Product Markovian Quantization of a Diffusion Process with Applications to Finance , 2018, Methodology and Computing in Applied Probability.

[32]  Sebastian Jaimungal,et al.  RISK METRICS AND FINE TUNING OF HIGH‐FREQUENCY
 TRADING STRATEGIES , 2015 .

[33]  Sebastian Jaimungal,et al.  Risk Metrics and Fine Tuning of High Frequency Trading Strategies , 2012 .

[34]  Hao Liu,et al.  Optimal Liquidation in a Level-I Limit Order Book for Large-Tick Stocks , 2017, SIAM J. Financial Math..

[35]  Sebastian Jaimungal,et al.  Buy Low Sell High: A High Frequency Trading Perspective , 2014, SIAM J. Financial Math..

[36]  Huyên Pham,et al.  Semi-Markov Model for Market Microstructure , 2013, 1305.0105.