Published May 13, 2021 | Version 1.2.0
Journal article Open

Explainable ML-driven Strategy for Automated Trading Pattern Extraction - Reproducibility Package

  • 1. Newcastle University
  • 2. University of Edinburgh

Description

Financial markets are a source of non-stationary multidimensional time series which has been drawing attention for decades. Each financial instrument has its specific changing over time properties, making their analysis a complex task. Improvement of understanding and development of methods for financial time series analysis is essential for successful operation on financial markets.
In this study we propose a volume-based data pre-processing method for making financial time series more suitable for machine learning pipelines. We use a statistical approach for assessing the performance of the method. Namely, we formally state the hypotheses, set up associated classification tasks, compute effect sizes with confidence intervals, and run statistical tests to validate the hypotheses. We additionally assess the trading performance of the proposed method on historical data and compare it to a previously published approach.
Our analysis shows that the proposed volume-based method allows successful classification of the financial time series patterns, and also leads to better classification performance than a price action-based method, excelling specifically on more liquid financial instruments.
Finally, we propose an approach for obtaining feature interactions directly from tree-based models on example of CatBoost estimator, as well as formally assess the relatedness of the proposed approach and SHAP feature interactions with a positive outcome.

In this code repository you will find datasets and a notebook to reproduce experiments from our paper

Files

README.txt

Files (324.4 MB)

Name Size Download all
md5:95282312c5ddc69f5833fdcece4ff2b3
4.5 kB Preview Download
md5:c0a3bd25f88fee96b6dfed1df2665497
324.3 MB Preview Download
md5:ec35ab46cb27279075ec8e05230a135d
135 Bytes Preview Download

Additional details

Funding

CRITiCaL - Combatting cRiminals In The CLoud EP/M020576/1
UK Research and Innovation