Towards a Formal Modelling of Order-driven Trading Systems using Petri Nets: A Multi-Agent Approach

Towards a Formal Modelling of Order-driven Trading Systems using Petri Nets: A Multi-Agent Approach

Abstract - Electronic trading systems provide the computational support for stock exchanges. Liquid markets use order-driven systems, i.e., where client requests, for trading financial instruments, are served through individual orders. This paper presents Petri net models assembling some crucial processes executed within order-driven systems such as orders submission, application of precedence rules, and the order matching mechanism. Such processes were modelled as types of agents running in a multi-agent system (MAS) using nested Petri nets (NP-nets) - a convenient formalism for modelling MAS. With NP-nets, we focus on the control-flow perspective (causal dependence between activities executed by agents) and in the synchronization between agents. Conversely, we have used coloured Petri nets to extend the model including orders as objects with attributes. Thus, this work with Petri nets represents an experimental & initial research phase to validate trading systems using related methods such as process mining, simulations and model checking.

Paper authors:
Julio Cesar Carrasquel, National Research University Higher School of Economics
Irina Lomazova, National Research University Higher School of Economics
Iosif Itkin, Exactpro

The paper was presented at the Modeling and Analysis of Complex Systems and Processes (MACSPro'2019) conference in March 2019 in Vienna. The article is available for downloading at http://ceur-ws.org/Vol-2478/paper8.pdf.