Explainable AI (XAI) in Real-Time Trade Reconstruction: Meeting SEC and ESMA Requirements for Algorithmic Trading Oversight
Keywords:
Explainable AI; algorithmic trading; SEC compliance; ESMA regulation; SHAP; LIME; MiFID II; real-time trade reconstruction; market manipulation detection; financial machine learningAbstract
Algorithmic trading has now become the dominant force in today's equity trading markets, but the transparency of their decision-making process is a major problem for regulatory compliance. This paper introduces a novel Explainable Artificial Intelligence (XAI) framework explicitly created for the specific context of real-time trade reconstruction under the Governance requirements of the U.S. Securities and Exchange Commission (SEC) and the European Securities and Markets Authority (ESMA). In our framework, SHapley Additive exPlanations (SHAP), Local Interpretable Model-Agnostic Explanations (LIME) and attention-based mechanisms are combined in a hybrid machine learning architecture to produce human-interpretable audit trails, compliant with CAT reporting, MiFID II Article 25 and ESMA RTS-6 requirements. Empirically, on a dataset of 2.4M order-level records, the proposed XAI system based on the Transformer outperforms other baseline methods with an accuracy of 92.7%, an AUC-ROC of 0.954, and an explanation latency of less than 36 ms, which meets the compliance requirements for real-time applications. The results show that it is not a requirement for the explainability to reduce detection performance. We have also examined our regulatory coverage in more detail, and find that we meet all seven of the key SEC and ESMA requirements. In this piece, the authors take steps to extend the theory and practice of XAI in high-frequency financial use cases and provide a replicable framework for an algorithmic trading surveillance system that is aligned with regulation.
DOI: https://doi.org/10.17762/ijisae.v9i4.8382
Downloads
References
Hendershott, T., Jones, C. M., & Menkveld, A. J. (2011). Does algorithmic trading improve liquidity? The Journal of Finance, 66(1), 1–33. https://doi.org/10.1111/j.1540-6261.2010.01624.x
Securities and Exchange Commission. (2020). Consolidated Audit Trail (CAT) NMS Plan. SEC Release No. 34-67457. U.S. Government Publishing Office.
European Parliament. (2014). Directive 2014/65/EU of the European Parliament and of the Council on markets in financial instruments (MiFID II). Official Journal of the European Union, L 173.
Arrieta, A. B., Díaz-Rodríguez, N., Del Ser, J., Bennetot, A., Tabik, S., Barbado, A., ... & Herrera, F. (2020). Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Information Fusion, 58, 82–115. https://doi.org/10.1016/j.inffus.2019.12.012
Krauss, C., Do, X. A., & Huck, N. (2017). Deep neural networks, gradient-boosted trees, random forests: Statistical arbitrage on the S&P 500. European Journal of Operational Research, 259(2), 689–702. https://doi.org/10.1016/j.ejor.2016.10.031
Dumitrescu, E., Hué, S., Hurlin, C., & Tokpavi, S. (2021). Machine learning for credit scoring: Improving logistic regression with non-linear decision-tree effects. European Journal of Operational Research, 297(3), 1178–1192. https://doi.org/10.1016/j.ejor.2021.06.053
Breur, T. (2016). The importance of data quality for analytics and machine learning. Journal of Financial Regulation and Compliance, 24(2), 202–216. https://doi.org/10.1108/JFRC-10-2015-0055
Angel, J. J. (2014). When finance meets physics: The impact of the speed of light on financial markets and their regulation. Financial Review, 49(2), 271–281. https://doi.org/10.1111/fire.12035
European Securities and Markets Authority. (2017). Guidelines on systems and controls in an automated trading environment (ESMA70-872942901-28). ESMA Publications Office.
Scopino, G. (2015). Do automated trading systems dream of manipulating the price of futures contracts? Policing markets for improper trading practices by algorithmic robots. Florida Law Review, 67(1), 221–271.
Cao, Y., Chen, Y., Liao, B., & Xiong, W. (2021). Fraud detection in capital markets: A new and comprehensive dataset. Journal of Financial Economics, 140(1), 106–131. https://doi.org/10.1016/j.jfineco.2020.10.009
Lundberg, S. M., & Lee, S. I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30, 4765–4774.
Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). "Why should I trust you?" Explaining the predictions of any classifier. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 1135–1144. https://doi.org/10.1145/2939672.2939778
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30, 5998–6008.
Kou, G., Peng, Y., & Wang, G. (2014). Evaluation of clustering algorithms for financial risk analysis using MCDM methods. Information Sciences, 275, 1–12. https://doi.org/10.1016/j.ins.2014.02.137
Bussmann, N., Giudici, P., Marinelli, D., & Papenbrock, J. (2021). Explainable machine learning in credit risk management. Computational Economics, 57(1), 203–216. https://doi.org/10.1007/s10614-020-10042-0
Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1(5), 206–215. https://doi.org/10.1038/s42256-019-0048-x
Cao, Y., Chen, Y., & Liao, B. (2020). A machine learning approach to detecting spoofing in financial markets. Journal of Financial Data Science, 2(3), 53–72. https://doi.org/10.3905/jfds.2020.1.036
Lin, T. Y., Goyal, P., Girshick, R., He, K., & Dollár, P. (2017). Focal loss for dense object detection. Proceedings of the IEEE International Conference on Computer Vision, 2980–2988. https://doi.org/10.1109/ICCV.2017.324
Mothilal, R. K., Sharma, A., & Tan, C. (2020). Explaining machine learning classifiers through diverse counterfactual explanations. Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency, 607–617. https://doi.org/10.1145/3351095.3372850
Lee, E. J., Eom, K. S., & Park, K. S. (2013). Microstructure-based manipulation: Strategic behavior and performance of spoofing traders. Journal of Financial Markets, 16(2), 227–252. https://doi.org/10.1016/j.finmar.2012.09.003
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All papers should be submitted electronically. All submitted manuscripts must be original work that is not under submission at another journal or under consideration for publication in another form, such as a monograph or chapter of a book. Authors of submitted papers are obligated not to submit their paper for publication elsewhere until an editorial decision is rendered on their submission. Further, authors of accepted papers are prohibited from publishing the results in other publications that appear before the paper is published in the Journal unless they receive approval for doing so from the Editor-In-Chief.
IJISAE open access articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. This license lets the audience to give appropriate credit, provide a link to the license, and indicate if changes were made and if they remix, transform, or build upon the material, they must distribute contributions under the same license as the original.


