Algorithmic trading surveillance: Identifying deviating behavior with unsupervised anomaly detection
2019 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE credits
Student thesis
Abstract [en]
The financial markets are no longer what they used to be and one reason for this is the breakthrough of algorithmic trading. Although this has had several positive effects, there have been recorded incidents where algorithms have been involved. It is therefore of interest to find effective methods to monitor algorithmic trading. The purpose of this thesis was therefore to contribute to this research area by investigating if machine learning can be used for detecting deviating behavior.
Since the real world data set used in this study lacked labels, an unsupervised anomaly detection approach was chosen. Two models, isolation forest and deep denoising autoencoder, were selected and evaluated. Because the data set lacked labels, artificial anomalies were injected into the data set to make evaluation of the models possible. These synthetic anomalies were generated by two different approaches, one based on a downsampling strategy and one based on manual construction and modification of real data.
The evaluation of the anomaly detection models shows that both isolation forest and deep denoising autoencoder outperform a trivial baseline model, and have the ability to detect deviating behavior. Furthermore, it is shown that a deep denoising autoencoder outperforms isolation forest, with respect to both area under the receiver operating characteristics curve and area under the precision-recall curve. A deep denoising autoencoder is therefore recommended for the purpose of algorithmic trading surveillance.
Place, publisher, year, edition, pages
2019. , p. 48
Series
UPTEC STS, ISSN 1650-8319 ; 19032
Keywords [en]
machine learning, anomaly detection, deep learning
National Category
Probability Theory and Statistics
Identifiers
URN: urn:nbn:se:uu:diva-389941OAI: oai:DiVA.org:uu-389941DiVA, id: diva2:1339906
External cooperation
SEB
Educational program
Systems in Technology and Society Programme
Supervisors
Examiners
2019-08-062019-07-312019-08-06Bibliographically approved