skip to main content
10.1145/3377571.3377628acmotherconferencesArticle/Chapter ViewAbstractPublication Pagesic4eConference Proceedingsconference-collections
research-article

Application of Cluster Analysis in Stock Selection in United States Stock Market

Published: 03 May 2020 Publication History

Abstract

Quantitative trading plays a significant role in stock selection due to its great flexibility and operability. A stock selection strategy was introduced based on the K-means clustering model in machine learning. Some technical indicators, such as MA, KDJ, and MACD with short and long periods, were taken into consideration in our strategy. The United States market stocks were divided into several clusters. And stocks close to the center of the best cluster were chosen to construct a portfolio. Experimental results showed that the investment strategy has a higher excess return rate during the bull market and decreases synchronously with the market trend during the bear market. This strategy, however, is superior to the performance of the S&P500 index at any time. This paper proposes a feasible strategy, which could get a considerable rate of return, to solve the problem of US stock selection.

References

[1]
Da Costa Jr, N., Cunha, J., and Da Silva, S. 2005. Stock selection based on cluster analysis. Econ. Bull., 13, 1 (Oct. 2005), 1--9.
[2]
Wang, J., and Kim, J. 2018. Predicting Stock Price Trend Using MACD Optimized by Historical Volatility. Math. Probl. Eng., 2018, (Dec. 2018), 1--12. DOI= https://doi.org/10.1155/2018/9280590
[3]
Chong, T. T. L., and Ng, W. K. 2008. Technical analysis and the London stock exchange: testing the MACD and RSI rules using the FT30. Appl. Econ. Lett., 15, 14 (Nov. 2008), 1111--1114. DOI= https://doi.org/10.1080/13504850600993598
[4]
Peachavanish, R. 2016. Stock selection and trading based on cluster analysis of trend and momentum indicators. In Proceedings of the International MultiConference of Engineers and Computer Scientists (Hongkong, China, March 16-18, 2016). IMECS, Hong Kong, 317--321.
[5]
Anghel, G. D. I. 2015. Stock market efficiency and the MACD. Evidence from countries around the world. Proc. Econ. Finance, 32, (Dec. 2015), 1414--1431. DOI= https://doi.org/10.1016/S2212-5671(15)01518-X
[6]
Suganthi, R., and Kamalakannan, P. 2015. Analyzing stock market data using clustering algorithm. Int. J. Future Comput. Commun., 4, 2, (Apr. 2015), 108. DOI= https://doi.org/10.7763/IJFCC.2015.V4.366
[7]
Craighead, S., Klemesrud, B., Financial, N., and Plaza, O. N. 2002. Stock selection based on cluster and outlier analysis. In Fifteenth International Symposium on Mathematical Theory of Networks and Systems University of Notre Dame (South Bend, USA, August 2002). University of Notre Dame, South Bend.
[8]
Zhuo-hua, Z. H. O. U., Wen-nan, C. H. E. N., and Zong-yi, Z. H. A. N. G. 2015. Application of cluster analysis in stock investment. J. Chongqing Univ., 2002, (Jul. 2015), 122--126.
[9]
Kawaller, I. G., Koch, P. D., and Koch, T. W. 1987. The temporal price relationship between SandP 500 futures and the SandP 500 index. J. Finance, 42, 5, (Dec. 1987), 1309--1329. DOI= https://doi.org/10.1111/j.1540-6261.1987.tb04368.x
[10]
Chen, J. 2010, October. SVM application of financial time series forecasting using empirical technical indicators. In 2010 International Conference on Information, Networking and Automation (ICINA) (Kunming, China, November 15, 2010). (Vol. 1, IEEE, Kunming, 1--77.
[11]
Wu, M., and Diao, X. 2015, December. Technical analysis of three stock oscillators testing MACD, RSI and KDJ rules in SH and SZ stock markets. In 2015 4th International Conference on Computer Science and Network Technology (ICCSNT) (Harbin, China, 16 June, 2016). IEEE, Harbin, 320--323. DOI= https://doi.org/10.1109/ICCSNT.2015.7490760
[12]
Asness, C. S., Moskowitz, T. J., and Pedersen, L. H. 2013. Value and momentum everywhere. J. Finance, 68, 3, (Jun. 2016), 929--985. DOI= https://doi.org/10.1111/jofi.12021
[13]
Fernández-Blanco, P., Bodas-Sagi, D. J., Soltero, F. J., and Hidalgo, J. I. 2008, July. Technical market indicators optimization using evolutionary algorithms. In Proceedings of the 10th annual conference companion on Genetic and evolutionary computation (Atlanta, GA, USA, July 12-16, 2008). GECCO '08. ACM. New York, NY, 1851--1858. DOI= https://doi.org/10.1145/1388969.1388989
[14]
Wagstaff, K., Cardie, C., Rogers, S., and Schrödl, S. 2001, June. Constrained k-means clustering with background knowledge. In Proceedings of the Eighteenth International Conference on Machine Learning (Williamstown, MA, USA, June 28 - July 1, 2001). Williams College, Williamstown, 577--584.
[15]
Hartigan, J. A., and Wong, M. A. 1979. Algorithm AS 136: A k-means clustering algorithm. J. R. Stat. Soc. Ser. C (Appl. Stat.), 28, 1, (Jan 1979), 100--108. DOI= https://doi.org/10.2307/2346830
[16]
Israelsen, C. L. 2005. A refinement to the Sharpe ratio and information ratio. J. Asset Manage., 5,6, (Nov. 2004), 423--427. DOI= https://doi.org/10.1057/palgrave.jam.2240158
[17]
Patel, J., Shah, S., Thakkar, P., and Kotecha, K. 2015. Predicting stock market index using fusion of machine learning techniques. Expert Syst. Appl., 42, 4, (Mar. 2015), 2162--2172. DOI= https://doi.org/10.1016/j.eswa.2014.10.031
[18]
Khaidem, L., Saha, S., and Dey, S. R. 2016. Predicting the direction of stock market prices using random forest. arXiv preprint, (Apr. 2016), arXiv:1605.00003.
[19]
Baetje, F., and Menkhoff, L. 2016. Equity premium prediction: Are economic and technical indicators unstable?. Int. J. Forecasting, 32, 4, (Dec. 2016), 1193--1207. DOI= https://doi.org/10.1016/j.ijforecast.2016.02.006
[20]
Cervelló-Royo, R., Guijarro, F., and Michniuk, K. 2015. Stock market trading rule based on pattern recognition and technical analysis: Forecasting the DJIA index with intraday data. Expert Syst. Appl., 42, 14, (Aug. 2015), 5963--5975. DOI= https://doi.org/10.1016/j.eswa.2015.03.017

Cited By

View all
  • (2023)Multi-Indicator Early-Warning Model for Mine Water Inrush at the Yushen Mining Area, Shaanxi Province, ChinaWater10.3390/w1522391015:22(3910)Online publication date: 9-Nov-2023

Index Terms

  1. Application of Cluster Analysis in Stock Selection in United States Stock Market

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    IC4E '20: Proceedings of the 2020 11th International Conference on E-Education, E-Business, E-Management, and E-Learning
    January 2020
    441 pages
    ISBN:9781450372947
    DOI:10.1145/3377571
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    In-Cooperation

    • Ritsumeikan University: Ritsumeikan University

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 03 May 2020

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Stock selection
    2. United States stock market
    3. cluster analysis
    4. technical indicators

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    IC4E 2020

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)31
    • Downloads (Last 6 weeks)2
    Reflects downloads up to 08 Mar 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Multi-Indicator Early-Warning Model for Mine Water Inrush at the Yushen Mining Area, Shaanxi Province, ChinaWater10.3390/w1522391015:22(3910)Online publication date: 9-Nov-2023

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media