Abstract
Computer trading systems are essential for today's financial markets where the trading systems' correctness is of paramount economical significance. Automated random testing is a useful technique to find bugs in these systems, but it requires an independent system to decide the correctness of the system under test (known as oracle problem). This paper introduces a constraint-based oracle for random testing of a real-world trading system. The oracle provides the expected results by generating and solving constraint models of the trading system's continuous double auction. Constraint programming is essential for the correctness of the test oracle as the logic for calculating trades can be mapped directly to constraint models. The paper shows that the generated constraint models can be solved efficiently. Most importantly, the approach is shown to be successful by finding errors in a deployed financial trading system and in its specification.
| Original language | English |
|---|---|
| Title of host publication | Principles and Practice of Constraint Programming -- CP 2010 |
| Editors | David Cohen |
| Place of Publication | Berlin, Heidelberg |
| Publisher | Springer |
| Pages | 613-627 |
| Number of pages | 15 |
| ISBN (Electronic) | 978-3-642-15396-9 |
| ISBN (Print) | 978-3-642-15395-2 |
| DOIs | |
| Publication status | Published - 30 Sept 2010 |
| Event | 16th International Conference on Principles and Practice of Constraint Programming - St Andrews, United Kingdom Duration: 6 Sept 2010 → 10 Sept 2010 Conference number: 16 https://cp2010.cs.st-andrews.ac.uk/ |
Publication series
| Name | Lecture Notes in Computer Science (LNCS) |
|---|---|
| Publisher | Springer, Berlin, Heidelberg |
| Volume | 6308 |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | 16th International Conference on Principles and Practice of Constraint Programming |
|---|---|
| Abbreviated title | CP 2010 |
| Country/Territory | United Kingdom |
| City | St Andrews |
| Period | 6/09/10 → 10/09/10 |
| Internet address |
Keywords / Materials (for Non-textual outputs)
- Equilibrium Price
- Constraint Programming
- Trading System
- Order Book
- Limit Price
Fingerprint
Dive into the research topics of 'Testing Continuous Double Auctions with a Constraint-Based Oracle'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver