A simple learning agent interacting with an agent-based market model

Matthew Dicks, Andrew Paskaramoorthy, Tim Gebbie
8/22/2022
q-fin.TRcs.LGcs.MA

Official code: matthewdicks98/MDTG-MALABM (9 stars, Julia, last commit 2022-11-09).

Abstract

We consider the learning dynamics of a single reinforcement learning optimal execution trading agent when it interacts with an event driven agent-based financial market model. Trading takes place asynchronously through a matching engine in event time.

Show full abstract

The optimal execution agent is considered at different levels of initial order-sizes and differently sized state spaces. The resulting impact on the agent-based model and market are considered using a calibration approach that explores changes in the empirical stylised facts and price impact curves. Convergence, volume trajectory and action trace plots are used to visualise the learning dynamics. Here the smaller state space agents had the number of states they visited converge much faster than the larger state space agents, and they were able to start learning to trade intuitively using the spread and volume states. We find that the moments of the model are robust to the impact of the learning agents except for the Hurst exponent, which was lowered by the introduction of strategic order-splitting. The introduction of the learning agent preserves the shape of the price impact curves but can reduce the trade-sign auto-correlations when their trading volumes increase.

View on arXivView PDF

Code Implementations(1)

Implements an Agent-Based Model (ABM) in a reactive framework with a matching engine and includes RL agents to enable exploration of learning dynamics.

91JuliaFeb 7, 20224 years ago

Similar Papers

Cite this paper

@article{dicks2022simple,
  title  = {A simple learning agent interacting with an agent-based market model},
  author = {Matthew Dicks and Andrew Paskaramoorthy and Tim Gebbie},
  year   = {2022},
  eprint = {2208.10434},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.10434}
}

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

Discussion