Lead-Lag Relationships in Financial Markets: A Comparison of Multiple Clustering Algorithms
Ruichen Deng, Yichi Zhang
Key points
From the paper's conclusion- Lead-lag relationships are widely used in financial time series, and many clustering algorithms based on them have been developed.
Abstract
Lead-lag relationships are widely used in financial time series, and many clustering algorithms based on them have been developed. The traditional DTW-KMedoids algorithm performs well both on the synthetic dataset and the real financial dataset. However, there are still several limitations to these algorithms: low efficiency caused by high time complexity, poor mathematical properties from DTW distance, the clustering effect is sensitive to the number of clusters. To solve the problems above and improve the performance, this paper introduces three clustering algorithms: MiniRocket-KMeans, KShape, Ensemble algorithm (a combination of KShape and DTW-KMedoids) and compares their performance on synthetic and real stock datasets with DTW-KMedoids algorithm under the same trade strategy. In addition, this paper also finds the best number of clusters by maximizing the silhouette coefficient in each clustering algorithm to improve the stability of the experiment results. Our main conclusions are as follows: MiniRocket-KMeans performs best under the lead strategy, achieving a Sharpe ratio of 0.866 with a maximum drawdown controlled at -63.9\%; the ensemble algorithm exhibits excellent stability; the robustness is significantly improved after finding the best number of clusters; the p-values of the hypothesis test on the Sharpe ratio of all strategies are 0.0, verifying the statistical validity of the lead-lag trading strategy. Finally, future improvement directions such as customized lead-lag matrices and optimized ensemble voting mechanisms are proposed.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MUFASA: Fast and Accurate Multivariate Time-Series ClusteringProceedings of the ACM on Management of Data · 2026
- Straw-K: Geometric Optimization of Cluster-Number Selection Using a ShortStraw-Inspired Elbow CriterionAlgorithms · 2026
- Optimal Threshold Learning Model for High-Frequency Paired Trading Based on Reinforcement Learning and Statistical ControlSHS Web of Conferences · 2026
- Gradient-Guided Density Peak ClusteringarXiv · 2026
- Deep learning-based pairs trading: real-time forecasting of co-integrated cryptocurrency pairsFrontiers in Applied Mathematics and Statistics · 2026
- Sentiment-Driven Forecasting of Fractional Trading Activity Using LSTM NetworksMethodology and Computing in Applied Probability · 2026