Optimal Market Making by Reinforcement Learning

Matias Selser, Javier Kreiner, Manuel Maurette
4/8/2021
cs.LGq-fin.ST
rl

Official code: mselser95/optimal-market-making (28 stars, Jupyter Notebook, MIT, last commit 2021-04-05).

Abstract

We apply Reinforcement Learning algorithms to solve the classic quantitative finance Market Making problem, in which an agent provides liquidity to the market by placing buy and sell orders while maximizing a utility function. The optimal agent has to find a delicate balance between the price risk of her inventory and the profits obtained by capturing the bid-ask spread.

Show full abstract

We design an environment with a reward function that determines an order relation between policies equivalent to the original utility function. When comparing our agents with the optimal solution and a benchmark symmetric agent, we find that the Deep Q-Learning algorithm manages to recover the optimal agent.

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of "OPTIMAL MARKET MAKING BY REINFORCEMENT LEARNING"

2813Jupyter NotebookMar 14, 20215 years agoMIT
market-makingpythonquantitative-financereinforcement-learningtrading

Similar Papers

Cite this paper

@article{selser2021optimal,
  title  = {Optimal Market Making by Reinforcement Learning},
  author = {Matias Selser and Javier Kreiner and Manuel Maurette},
  year   = {2021},
  eprint = {2104.04036},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.04036}
}

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/2104.04036.svg)](https://codeofpaper.com/paper/2104.04036)

Discussion