Reinforcement Learning for Market Making in a Multi-agent Dealer Market

Market makers play an important role in providing liquidity to markets by continuously quoting prices at which they are willing to buy and sell, and managing inventory risk. In this paper, we build a multi-agent simulation of a dealer market and demonstrate that it can be used to understand the behavior of a reinforcement learning (RL) based market maker agent. We use the simulator to train an RL-based market maker agent with different competitive scenarios, reward formulations and market price trends (drifts). We show that the reinforcement learning agent is able to learn about its competitor's pricing policy; it also learns to manage inventory by smartly selecting asymmetric prices on the buy and sell sides (skewing), and maintaining a positive (or negative) inventory depending on whether the market price drift is positive (or negative). Finally, we propose and test reward formulations for creating risk averse RL-based market maker agents.

[1]  Sanmay Das A learning market-maker in the Glosten–Milgrom model , 2005 .

[2]  Michael P. Wellman,et al.  Welfare Effects of Market Making in Continuous Double Auctions , 2015, AAMAS.

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

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

[5]  Clara Vega,et al.  Market Microstructure , 2009, Encyclopedia of Complexity and Systems Science.

[6]  Tony Plate,et al.  Sixteenths or pennies? Observations from a simulation of the Nasdaq stock market , 2000, Proceedings of the IEEE/IAFE/INFORMS 2000 Conference on Computational Intelligence for Financial Engineering (CIFEr) (Cat. No.00TH8520).

[7]  Christian R. Shelton,et al.  An Electronic Market-maker , 2001 .

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

[9]  Olivier Guéant,et al.  Optimal market making , 2016, 1605.01862.

[10]  Alec Radford,et al.  Proximal Policy Optimization Algorithms , 2017, ArXiv.

[11]  Michael I. Jordan,et al.  RLlib: Abstractions for Distributed Reinforcement Learning , 2017, ICML.

[12]  H. Waelbroeck,et al.  Optimal Execution of Portfolio Transactions with Short‐Term Alpha , 2013 .

[13]  Rama Cont,et al.  A Stochastic Partial Differential Equation Model for Limit Order Book Dynamics , 2019, SSRN Electronic Journal.

[14]  Prithviraj Dasgupta,et al.  A Comparison of Different Automated Market-Maker Strategies , 2010 .

[15]  Y. Amihud,et al.  Dealership market: Market-making with inventory , 1980 .

[16]  Sanmay Das,et al.  The effects of market-making on price dynamics , 2008, AAMAS.

[17]  Johannes Muhle-Karbe,et al.  Liquidity in Competitive Dealer Markets , 2018 .

[18]  Paul R. Milgrom,et al.  Bid, ask and transaction prices in a specialist market with heterogeneously informed traders , 1985 .

[19]  Denise Gorse,et al.  Reinforcement Learning for High-Frequency Market Making , 2018, ESANN.

[20]  John Fearnley,et al.  Market Making via Reinforcement Learning , 2018, AAMAS.

[21]  S. Roberts Optimal FX Market Making under Inventory Risk and Adverse Selection Constraints S id G hoshal , 2015 .