Lead-Lag Relationships in Financial Markets: A Comparison of Multiple Clustering Algorithms
Year: 2026
Type: conference-paper
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 the DTW-KMedoids algorithm under the same trade strategy. In addition, we find the best number of clusters K by maximizing the silhouette coefficient in each clustering algorithm to improve the stability of the experiment results. Our results highlight different strengths across methods. MiniRocket-KMeans achieves the highest Sharpe ratio under the lead strategy on the smaller asset universe, while the ensemble generally achieves the lowest mean lag-estimation MSE and the highest Sharpe ratio under the lag strategy on the larger universe. Sharpe tests provide stronger statistical evidence on the smaller asset universe. Finally, future improvement directions such as customized lead-lag matrices and optimized ensemble voting mechanisms are proposed.
Authors: Ruichen Deng, Yichi Zhang
Language: English
Subfield: Signal Processing
Field: Computer Science
Domain: Physical Sciences
Open Access status: hybrid
OpenAlex ID: W7204252467
