Comparing Decision Trees and Association Rules for Stock Market Expectations in BIST100 and BIST30
DOI:
https://doi.org/10.47743/saeb-2022-0024Keywords:
stock market, efficient market hypothesis, CART, Apriori, association.Abstract
With the increased financial fragility, methods have been needed to predict financial data effectively. In this study, two leading data mining technologies, classification analysis and association rule mining, are implemented for modeling potentially successful and risky stocks on the BIST 30 index and BIST 100 Index based on the key variables of index name, index value, and stock price. Classification and Regression Tree (CART) is used for classification, and Apriori is applied for association analysis. The study data set covered monthly closing values during 2013-2019. The Apriori algorithm also obtained almost all of the classification rules generated with the CART algorithm. Validated by two promising data mining techniques, proposed rules guide decision-makers in their investment decisions. By providing early warning signals of risky stocks, these rules can be used to minimize risk levels and protect decision-makers from making risky decisions.
References
Agrawal, R., Imieliński, T., & Swami, A. (1993). Mining association rules between sets of items in large databases. SIGMOD Record, 22(2), 207-216. http://dx.doi.org/10.1145/170036.170072
Agrawal, R., & Srikant, R. (1994). Fast Algorithms for Mining Association Rules in Large Databases. Paper presented at the Proceedings of the 20th International Conference on Very Large Data Bases.
Akerlof, G. A. (1970). The Market for “lemons”: Quality, uncertainty and the market mechanism. The Quarterly Journal of Economics, 84(3), 488-500. http://dx.doi.org/10.2307/1879431
Albayrak, A. S., & Koltan Yılmaz, Ş. (2009). Veri madenciliği karar ağacı algoritmaları ve İMKB verileri üzerine bir uygulama. Suleyman Demirel Universitesi Iktisadi ve Idari Bilimler Fakultesi Dergisi, 14(1), 31-52.
Angeletos, G.-M., Huo, Z., & Sastry, K. A. (2020). Imperfect Macroeconomic Expectations: Evidence and Theory. National Bureau of Economic Research Working Paper Series, 27308. http://dx.doi.org/10.3386/w27308
Bastı, E., Kuzey, C., & Delen, D. (2015). Analyzing initial public offerings’ short-term performance using decision trees and SVMs. Decision Support Systems, 73, 15-27. http://dx.doi.org/10.1016/j.dss.2015.02.011
Bhasin, M. L. (2006). Data Mining: A competitive tool in the banking and retail industries. The Chartered Accountant, 588-594.
Bhide, A. (1993). The hidden cost of stock market liquidity. Journal of Financial Economics, 34(1), 31-51. http://dx.doi.org/10.1016/0304-405X(93)90039-E
Bordalo, P., Gennaioili, P., La Porta, R., & Shleifer, A. (2019). Diagnostic expectations and stock returns. The Journal of Finance, LXXIV(6), 2839-2874. http://dx.doi.org/10.1111/jofi.12833
Borsa Istanbul. (2019a). BIST Stock Indices Ground Rules. Retrieved from https://www.borsaistanbul.com/en/sayfa/3621/equity-market-data
Borsa Istanbul. (2019b). Data. Retrieved from http://borsaistanbul.com/en/data/data/ipo-data
Borsa Istanbul. (2022). Daily settlement prices. Retrieved from https://www.borsaistanbul.com/en/sayfa/3066/daily-settlement-prices
Breiman, L., Friedman, J. H., Olshen, R. A., & Stone, C. J. (1984). Classification and Regression Trees: Chapman & Hall/CRC.
Cao, Y. (2021). Application of machine learning algorithms in financial market risk prediction. Paper presented at the International Conference on Machine Learning and Big Data Analytics for IoT Security and Privacy
Chen, Y., Mo, D., & Zhang, F. (2022). Stock market prediction using weighted inter-transaction class association rule mining and evolutionary algorithm: Economic Research-Ekonomska Istraživanja. http://dx.doi.org/10.1080/1331677X.2022.2043762
Chen, Y., Yang, B., & Abraham, A. (2007). Flexible neural trees ensemble for stock index modelling. Neurocomputing, 70, 697-703. http://dx.doi.org/10.1016/j.neucom.2006.10.005
Denison, D. G., Mallick, B. K., & Smith, A. F. (1998). A bayesian CART algorithm. Biometrika, 85(2), 363-377. http://dx.doi.org/10.1093/biomet/85.2.363
Ekinci, C., & Ersan, O. (2018). A new approach for detecting high-frequency trading from order and trade data. Finance Research Letters, 24, 313-320. http://dx.doi.org/10.1016/j.frl.2017.09.020
Enke, D., & Thawornwong, S. (2005). The use of data mining and neural networks for forecasting stock market returns. Expert Systems with Applications, 29, 927-940. http://dx.doi.org/10.1016/j.eswa.2005.06.024
Fama, E. (1970). Efficient Capital Markets: A review of theory and empirical work. The Journal of Finance, 25(2), 383-417. http://dx.doi.org/10.2307/2325486
Filiz, E., & Öz, E. (2017). Classification of BIST-100 index’changes via machine learning methods. Marmara Universitesi Iktisadi ve Idari Bilimler Fakultesi Dergisi, 39(1), 117-129. http://dx.doi.org/10.14780/muiibd.329913
Giglio, S., Maggiori, M., Stroebel, J., & Utkus, S. (2020). Inside the mind of a stock market crash. NBER Working Papers, 27272.
Hajizadeh, E., Ardakani, H. D., & Shahrabi, J. (2010). Application of data mining techniques in stock markets: A survey. Journal of Economics and International Finance, 2(7), 109-117.
Hall, M., Frank, E., Holmes, G., Pfahringer, B., Reutemann, P., & Witten, I. H. (2009). The WEKA data mining software: an update. SIGKDD Explor. Newsl., 11(1), 10–18. http://dx.doi.org/10.1145/1656274.1656278
Han, J., Pei, J., & Kamber, M. (2011). Data Mining: Concepts and Techniques: Elsevier.
Hashmi, S. M., & Chang, B. H. (2021). Asymmetric effect of macroeconomic variables on the emerging stock indices: A quantile ARDL approach. International Journal of Finance & Economics, ijfe.2461. http://dx.doi.org/10.1002/ijfe.2461
Huang, J. Y., & Liu, J. H. (2020). Using social media mining technology to improve stock price forecast accuracy. Journal of Forecasting, 39(1), 104-116. http://dx.doi.org/10.1002/for.2616
Hurd, M. D., Roojin, M., & Winter, J. (2010). Stock Market Expectations of Dutch households. NBER Working Papers, 16464.
Inidapo, I., Adebiyi, A., & Okesola, O. (2017). Soft computing techniques for stock market prediction: A literature survey. Covenant Journal of Informatics & Communication Technology, 5(2), 1-28.
Kara, Y., Acar Boyacıoglu, M., & Baykan, Ö. K. (2011). Predicting direction of stock price index movement using artificial neural networks and support vector machines: The sample of the Istanbul Stock Exchange. Expert Systems with Applications, 38, 5311-5319. http://dx.doi.org/10.1016/j.eswa.2010.10.027
Kartal, B., Sert, M. F., & Kutlu, M. (2022). Determination of the world stock indices’ co-movements by association rule mining. Journal of Economics, Finance and Administrative Science. http://dx.doi.org/10.1108/JEFAS-04-2020-0150
Kezdi, G., & Robert, J. W. (2009). Stock Market Expectations and Portfolio Choice of American Households. Retrieved from http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.506.1967&rep=rep1&type=pdf
Kumar, G., Jain, S., & Singh, U. P. (2021). Stock market forecasting using computational intelligence: A survey. Archives of Computational Methods in Engineering, 28(3), 1069-1101. http://dx.doi.org/10.1007/s11831-020-09413-5
Martins, O. C., & Paulo, E. (2012). Information Asymmetry in Stock Trading, Economic and Financial Characteristics and Corporate Governance in the Brazilian Stock Market. Revista Contabilidade & Finanças, 25(64), 33-45. http://dx.doi.org/10.1590/S1519-70772014000100004
Onali, E. (2020). Covid19 and stock market volatility. SSRN, 3571453, 2020.
Ou, P., & Wang, H. (2009). Prediction of stock market index movement by ten data mining techniques. Modern Applied Science, 3(12), 28-42. http://dx.doi.org/10.5539/mas.v3n12p28
Paranjape-Voditel, P., & Deshpante, U. (2013). A Stock market portfolio recommender system based on association rule mining. Applied Soft Computing, 13, 1055-1063. http://dx.doi.org/10.1016/j.asoc.2012.09.012
Park, M., & Chai, S. (2021). A machine learning-based model for the asymmetric prediction of accounting and financial information Fintech with Artificial Intelligence, Big Data, and Blockchain (pp. 181-190): Springer. http://dx.doi.org/10.1007/978-981-33-6137-9_7
Parkash, R., Ahmad, R., Qasim, S., & Nizam, K. (2022). Investor Sentiments and Stock Risk and Return: Evidence from Asian Stock Markets. Competitive Social Science Research Journal, 3(1), 341-371.
Pawar, K., Jalem, R. S., & Tiwari, V. (2019). Stock market price prediction using LSTM RNN Emerging trends in expert applications and security (pp. 493-503): Springer. http://dx.doi.org/10.1007/978-981-13-2285-3_58
Uzar, C. (2014). The usage of data mining technology in financial information system: An application on Borsa Istanbul. International Journal of Finance & Banking Studies, 3(1), 51-61. http://dx.doi.org/10.20525/ijfbs.v3i168
Vaiz, J. S., & Ramaswami, M. (2016). A study on technical indicators in stock price movement prediction using decision tree algorithms. American Journal of Engineering Research, 5(12), 207-212.
Valente, F., Henriques, J., Paredes, S., Rocha, T., de Carvalho, P., & Morais, J. (2021). Improving the compromise between accuracy, interpretability and personalization of rule-based machine learning in medical problems. Paper presented at the 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society.
Waspada, I. P., Salim, D. F., & Fariska, P. (2021). An Application of the Smart Beta Portfolio Model: An Empirical Study in Indonesia Stock Exchange. Journal of Asian Finance. Economics and Business, 8(9), 45-52.
World Federation of Exchanges, W. (2019). Retrieved from http://www.world-exchanges.org/statistics/monthly-query-tool
Wu, M., Hughes, M., Parbhoo, S., Zazzi, M., Roth, V., & Doshi-Velez, F. (2018). Beyond sparsity: Tree regularization of deep models for interpretability. Proceedings of the AAAI Conference on Artificial Intelligence, 32(1), •••. http://dx.doi.org/10.1609/aaai.v32i1.11501
Wu, X., Chen, H., Wang, J., Troiano, L., Loia, V., & Fujşta, H. (2020). Adaptive stock trading strategies with deep reinforcement learning methods. Information Sciences, 538, 142-158. http://dx.doi.org/10.1016/j.ins.2020.05.066
Xu, H., Cao, D., & Li, S. (2022). A self-regulated generative adversarial network for stock price movement prediction based on the historical price and tweets. Knowledge-Based Systems, 247, 108712. http://dx.doi.org/10.1016/j.knosys.2022.108712
Yiğit, F., & Muzır, E. (2019). Efficiency of the major Borsa Istanbul Indexes: An empirical investigation about the interaction between corporate governance and equity prices through a market model approach. Ekonomi, İşletme ve Maliye Araştırmaları Dergisi, 1(3), 237-245.
Zhang, D., & Zhou, L. (2004). Discovering golden nuggets: data mining in financial application. IEEE Trans. Syst. Man Cybern. Part C, 34, 513-522.
Zhou, L., Chen, Q., & Zhu, T. (2022). An Improved Data Mining Model for Predicting the Impact of Economic Fluctuations. Security and Communication Networks, 2022, 1-11. http://dx.doi.org/10.1155/2022/2173402
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2022 Görkem Ataman, Serpil Kahraman

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
All accepted papers are published on an Open Access basis.
The Open Access License is based on the Creative Commons license.
The non-commercial use of the article will be governed by the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License as currently displayed on https://creativecommons.org/licenses/by-nc-nd/4.0
Under the Creative Commons Attribution-NonCommercial-NoDerivatives license, the author(s) and users are free to share (copy, distribute and transmit the contribution) under the following conditions:
1. they must attribute the contribution in the manner specified by the author or licensor,
2. they may not use this contribution for commercial purposes,
3. they may not alter, transform, or build upon this work.