Formally Verified Trades in Financial Markets
Abstract
We introduce a formal framework for analyzing trades in financial markets. These days, all big exchanges use computer algorithms 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 fair, uniform and individual rational. To verify these properties of trades, we first formally define these notions in a theorem prover and then develop many important results about matching demand and supply. Finally, we use this framework to verify properties of two important classes of double sided auction mechanisms. All the definitions and results presented in this paper are completely formalized in the Coq proof assistant without adding any additional axioms to it.
- Publication:
-
arXiv e-prints
- Pub Date:
- July 2020
- DOI:
- arXiv:
- arXiv:2007.10805
- Bibcode:
- 2020arXiv200710805S
- Keywords:
-
- Computer Science - Logic in Computer Science;
- Computer Science - Data Structures and Algorithms;
- Computer Science - Computer Science and Game Theory;
- Quantitative Finance - Trading and Market Microstructure
- E-Print:
- Aceepted in ICFEM 2020. arXiv admin note: substantial text overlap with arXiv:1907.07885