Clustering-based value investing strategy in the Helsinki Stock Exchange: k-means algorithm

Authors

  • Topi Issakainen Master’s Program in Strategic Finance and Business Analytics, School of Business and Management, LUT University, Finland

DOI:

https://doi.org/10.22219/jibe.v7i02.26424

Keywords:

Value investing, k-means clusteting, Helsinki Stock Exchange

Abstract

The purpose of this research is to study the possibility of combining quantitative clustering of stocks and value investing. The feasibility of this approach is tested using Finnish market data from the period 2005 to 2021. The benchmark index used in this research is the OMX Helsinki Growth Index. The strategy is based on the combination of P/E, P/CF, and P/B ratios, which serve as the basis for the k-means algorithm. The data is pre-processed by removing stocks that have not generated positive earnings and cash flow during the previous 12 months. The k-means algorithm assigns stocks to clusters, and the cluster with the lowest financial ratios is chosen as the value portfolio. The research also includes a sensitivity analysis of value portfolios, where the initial number of clusters in the clustering phase ranges from three to ten. Returns of different value portfolios are compared to each other and the benchmark index. The quality of results is evaluated using the Sharpe ratio and Jensen's alpha. According to the findings, the value portfolio constructed using nine clusters generated the highest risk-adjusted return, with an annual return of 30.27% over the 2005 to 2021 period. Furthermore, the best-performing value portfolio from 2005 to 2017 was compared to the benchmark index from 2018 to 2021. The value portfolio achieved an annual return of 26.05% during the 2018-2021 period, while the corresponding return of the benchmark index was 11.74%.

Downloads

Download data is not yet available.

References

Affonso, F., Magela, T., Dias, R., & Pinto, A. L. (2021). Financial Times Series Forecasting of Clustered Stocks. Mobile Networks and Applications, 26. https://doi.org/10.1007/s11036-020-01647-8

Al-Augby, S., Majewski, S., Majewska, A., & Nermend, K. (2014). A Comparison Of k-means And Fuzzy C-Means Clustering Methods For A Sample Of Gulf Cooperation Council Stock Markets. Folia Oeconomica Stetinensia, 14(2).

Athanassakos, G. (2011). The Performance, Pervasiveness and Determinants of Value Premium in Different US Exchanges: 1985-2006. The Journal of Investment Management, 9. https://ssrn.com/abstract=1916202

Basu, S. (1977). Investment Performance of Common Stocks In Relation To Their Price-earnings Ratios: A Test of The Efficient Market Hyporesearch. The Journal of Finance, 32(3). https://doi.org/10.2307/2326304

Bini, B. S., & Mathew, T. (2016). Clustering and Regression Techniques for Stock Prediction. Procedia Technol, 24, 1248-1255.

Bodie, Z., Kane, A., & Marcus, A. J. (2014). Investments (10th Edition). McGraw-Hill.

Cheong, D., Kim, Y. M., Byun, H. W., Oh, K. J., & Kim, T. Y. (2017). Using genetic algorithm to support clustering-based portfolio optimization by investor information. Applied Soft Computing, 61.

El, M., Guennoun, Z., & Hamza, F. (2012). Stocks Portfolio Optimization Using Classification and Genetic Algorithms. Applied Mathematical Sciences, 6(94). https://doi.org/10.1016/j.asoc.2017.08.042

Fama, E.F., & French, K.R. (2006). The value premium and the CAPM. Journal of Finance, 61(5). https://doi.org/10.1111/j.1540-6261.2006.01054.x

Graham, B., & Dodd, D. (1934). Security Analysis: The Classic (1st ed.). McGraw Hill Professional.

Hanson, D. (2013). ESG Investing in Graham & Doddsville. Journal of Applied Corporate Finance, 25(3). https://doi.org/10.1111/jacf.12024

Jensen, G.R., Johnson, R.R., & Mercer, J.M. (1997). New evidence on size and price-to-book effects in stock returns. Financial Analysts Journal, 53(6), 34–42.

Jensen, M.C. (1967). The Performance of Mutual Funds in the Period 1945-1964. The Journal of Finance, 23(2), 389–416.

Leivo, T. (2012a). Pricing Anomalies in the Finnish Stock Market. Lappeenranta University of Technology, Lappeenranta.

Leivo, T., & Pätäri, E. (2009). The Impact of Holding Period Length on Value Portfolio Performance in the Finnish Stock Markets. Journal of Money, Investment and Banking, 8(8). https://urn.fi/URN:NBN:fi-fe202101151879

Leivo, T.H. (2012b). Combining value and momentum indicators in varying stock market conditions: The Finnish evidence. Review of Accounting and Finance, 11(4). https://doi.org/10.1108/14757701211279187

Leivo, T.H., & Pätäri, E.J. (2011). Enhancement of Value Portfolio Performance Using Momentum and the Long-short strategy: The Finnish Evidence. Journal of Asset Management, 11(6). https://doi.org/10.1057/jam.2009.38

Leivo, T.H., Pätäri, E.J., & Kilpiä, I.J.J. (2009). Value enhancement using composite measures: The Finnish evidence. International Research Journal of Finance and Economics, 33. https;//doi.org/10.1057/jam.2009.38

Markowitz, H. (1952). Portfolio selection. The Journal of Finance, 7(1).

Miller, M., & Prondzinski, D. (2020). Value Style Investing Versus Growth Style Investing: Evidence from the 2002-2019 Business Cycle. Journal of Accounting and Finance, 20(1). https://doi.org/10.33423/jaf.v20i1.2748

Mirkin, B. (1996). Mathematical Classification and Clustering. Journal of the Operational Research Society, 48. https://doi.org/10.1007/978-1-4613-0457-9

Muangprathub, J., Intarasit, A., Boongasame, L., & Phaphoom, N. (2020). Portfolio Risk and Return with a New Simple Moving Average of Price Change.

Nanda, S.R., Mahanty, B., & Tiwari, M.K. (2010). Clustering Indian stock market data for portfolio management. Expert System with Applications, 37(12). https://doi.org/10.1016/j.eswa.2010.06.026

Nicholson, S.F. (1960). Price-to-earnings ratio. Financial Analysts Journal, 16(4). https://doi.org/10.2469/faj.v16.n4.43

Pätäri, E., & Leivo, T. (2009). Performance of the Value Strategies in the Finnish Stock Markets. Journal of Money, Investment and Banking. https://urn.fi/URN:NBN:fi-fe202101151879

Sharpe, W.F. (1964). Capital Asset Prices: A Theory of Market Equilibrium Under Conditions of Risk. The Journal of Finance, 19(3). https://doi.org/10.1111/j.1540-6261.1964.tb02865.x

Sharpe, W.F. (1966). Mutual Fund Performance. The Journal of Business, 39(1). https://doi.org/10.1086/294846

Zuhroh, I., Rofik, M., & Echchabi, A. (2021). Banking stock price movement and macroeconomic indicators: k-means clustering approach. Cogent Business and Management, 8(1). https://doi.org/10.1080/23311975.2021.1980247

Downloads

Published

2023-11-30