Journal article icon

Journal article

JAX-LOB: a GPU-Accelerated limit order book simulator to unlock large scale reinforcement learning for trading

Abstract:
Financial exchanges across the world use limit order books (LOBs) to process orders and match trades. For research purposes it is important to have large scale efficient simulators of LOB dynamics. LOB simulators have previously been implemented in the context of agent-based models (ABMs), reinforcement learning (RL) environments, and generative models, processing order flows from historical data sets and hand-crafted agents alike. For many applications, there is a requirement for processing multiple books, either for the calibration of ABMs or for the training of RL agents. We showcase the first GPU-enabled LOB simulator designed to process thousands of books in parallel, whether for identical or different securities, with an up to 75x faster per-message processing time. The implementation of our simulator - JAX-LOB - is based on design choices that aim to best exploit the powers of JAX without compromising on the realism of LOB-related mechanisms. We integrate JAX-LOB with other JAX packages, to provide an example of how one may address an optimal execution problem with reinforcement learning, and to share some preliminary results from end-to-end RL training on GPUs. The project code is available on GitHub 1
Publication status:
Published
Peer review status:
Peer reviewed

Actions


Access Document


Publisher copy:
10.1145/3604237.3626880

Authors


More by this author
Role:
Author
ORCID:
0009-0001-6265-9607
More by this author
Role:
Author
ORCID:
0009-0007-7847-9292
More by this author
Role:
Author
ORCID:
0000-0001-7669-481X
More by this author
Role:
Author
ORCID:
0009-0000-0715-983X
More by this author
Role:
Author
ORCID:
0009-0006-4730-3633


Publisher:
Association for Computing Machinery
Pages:
583-591
Publication date:
2023-11-25
Acceptance date:
2023-09-28
Event title:
4th ACM International Conference on AI in Finance (ICAIF 2023)
DOI:
ISBN:
9798400702402


Language:
English
Keywords:
Pubs id:
1569298
Local pid:
pubs:1569298
Deposit date:
2024-01-17

Terms of use



Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP