Time-series Clustering of Global Automakers Stock Prices
Abstract
In the paper, we describe the stock price data analysis using the hierarchical clustering method named Hierarchical Risk Parity. In the financial engineering, clustering is important for the portfolio development. The data we used are the top 100 global industries' stock prices from 2018 to 2019. The industry field is automobile manufacturing. The countries of the industries are Japan, US and Germany. We analyzed sequentially a bi-month data for the two years. Then we found that when the stock price drastically decreased, there could clearly appear country-based clusters. In the global turmoil period by the US-China trade friction in 2018, we could identify that the Japan cluster and the US cluster appeared with clear boundaries. To verify the hypothesis, we traced the time series changes of the clusters through the two years. As a result, we proved the hypothesis was correct, as far as the period was what we used. In addition, we visualized the resultant country-based clusters of the largest damage period, as a stock price fluctuation plot and the Markowitz’s risk-return plot, to see the difference of the three countries’ trend.
References
A. M. Ozbayoglu, M. U. Gudelek, and O. B. Sezer, "Deep learning for financial applications: A survey," arXiv preprint arXiv:.05786, 2020.
W. Jiang, "Applications of deep learning in stock market prediction: recent progress," arXiv preprint arXiv:.01859, 2020.
M. L. de Prado, "Building diversified portfolios that outperform out of sample," The Journal of Portfolio Management, vol. 42, no. 4, pp. 59-69, 2016.
T. Raffinot, "Hierarchical clustering-based asset allocation," The Journal of Portfolio anagement, vol. 44, no. 2, pp. 89-99, 2017.
N. Hautsch and S. Voigt, "Large-scale portfolio allocation under transaction costs and model uncertainty," Journal of Econometrics, vol. 212, no. 1, pp. 221-240, 2019.
J. Pfitzinger and N. Katzke, "A constrained hierarchical risk parity algorithm with clusterbased capital allocation," Stellenbosch University, Department of Economics, 2019.
G. Konstantinov, A. Chorus, and J. Rebmann, "A Network and Machine Learning Approach to Factor, Asset, and Blended Allocation," The Journal of Portfolio Management, no. Multi-Asset Special Issue pp. 1-18, 2020.
K. Koutroumbas and S. Theodoridis, "Pattern Recognition (4th edition)," ed: Elsevier, 2009.
A. C. Müller and S. Guido, Introduction to Machine Learning with Python: A Guide for Data Scientists O'Reilly Media, 2016.
M. L. De Prado, Advances in financial machine learning. John Wiley & Sons, 2018.
H. Markowitz, "Portfolio Selection," Journal of Finance, pp. 77-91, 1952.
H. Markowitz, "Portfolio selection," Investment under Uncertainty, 1959.
R. Clarke, H. De Silva, and S. Thorley, "Portfolio constraints and the fundamental law of active management," Financial Analysts Journal, vol. 58, no. 5, pp. 48-66, 2002.
M. L. de Prado, Machine Learning for Asset Managers. Cambridge University Press, 2020.
M. Kolanovic and R. T. Krishnamachari, Big Data and AI Strategies. J.P. Morgan, 2017.
S. Aghabozorgi, A. S. Shirkhorshidi, and T. Y. Wah, "Time-series clustering–a decade review," Information Systems, vol. 53, pp. 16-38, 2015.
S. Chu, E. Keogh, D. Hart, and M. Pazzani, "Iterative deepening dynamic time warping for time series," in Proceedings of the 2002 SIAM International Conference on Data Mining, 2002: SIAM, pp. 195-212.
A. Bagnall and G. Janacek, "Clustering time series with clipped data," Machine Learning, vol. 58, no. 2-3, pp. 151-178, 2005.
D. J. Berndt and J. Clifford, "Using dynamic time warping to find patterns in time series," in KDD workshop, 1994, vol. 10, no. 16: Seattle, WA, USA:, pp. 359-370.
X. Xi, E. Keogh, C. Shelton, L. Wei, and C. A. Ratanamahatana, "Fast time series classification using numerosity reduction," in Proceedings of the 23rd international conference on Machine learning, 2006, pp. 1033-1040.
Y.-S. Jeong, M. K. Jeong, and O. A. Omitaomu, "Weighted dynamic time warping for time series classification," Pattern recognition, vol. 44, no. 9, pp. 2231-2240, 2011.
Y.-S. Jeong and R. Jayaraman, "Support vector-based algorithms with weighted dynamic time warping kernel function for time series classification," Knowledge-based systems, vol. 75, pp. 184-191, 2015.
H. Y. Sigaki, M. Perc, and H. V. Ribeiro, "Clustering patterns in efficiency and the coming-of-age of the cryptocurrency market," Scientific reports, vol. 9, no. 1, pp. 1-9, 2019.
P. D’Urso, L. De Giovanni, and R. Massari, "Trimmed fuzzy clustering of financial time series based on dynamic time warping," Annals of Operations Research, pp. 1-17, 2019.
S. Majumdar and A. K. Laha, "Clustering and classification of time series using topological data analysis with applications to finance," Expert Systems with Applications, vol. 162, p. 113868, 2020.
P. J. Rousseeuw and L. Kaufman, "Finding groups in data," Hoboken: Wiley Online Library, vol. 1, 1990.
J. MacQueen, "Some methods for classification and analysis of multivariate observations," in Proceedings of the fifth Berkeley symposium on mathematical statistics and probability, 1967, vol. 1, no. 14: Oakland, CA, USA, pp. 281-297.
M. Massahi, M. Mahootchi, and A. A. Khamseh, "Development of an efficient clusterbased portfolio optimization model under realistic market conditions," Empirical Economics, pp. 1-20, 2020.
P. E. Puspita, "A Practical Evaluation of Dynamic Time Warping in Financial Time Series Clustering," in 2020 International Conference on Advanced Computer Science and Information Systems (ICACSIS), 2020: IEEE, pp. 61-68.
J. R. Shewchunk. "The Singular Value Decomposition: Clustering." https://people.eecs.berkeley.edu/~jrs/189s17/lec/21.pdf (accessed 2020/04/01.