Formal verification of trading in financial markets
Suneel Sarswat,Abhishek Kr Singh
DOI: https://doi.org/10.48550/arXiv.1907.07885
2019-07-18
Abstract:We introduce a formal framework for analyzing trades in financial markets. An exchange is where multiple buyers and sellers participate to trade. These days, all big exchanges use computer algorithms that implement double sided auctions to match buy and sell requests and these algorithms must abide by certain regulatory guidelines. For example, market regulators enforce that a matching produced by exchanges should be \emph{fair}, \emph{uniform} and \emph{individual rational}. To verify these properties of trades, we first formally define these notions in a theorem prover and then give formal proofs of relevant results on matchings. Finally, we use this framework to verify properties of two important classes of double sided auctions. All the definitions and results presented in this paper are completely formalised in the Coq proof assistant without adding any additional axioms to it.
Logic in Computer Science,Data Structures and Algorithms,Formal Languages and Automata Theory,Computer Science and Game Theory,Symbolic Computation,Trading and Market Microstructure