Predicting Stock Market Trends Using Machine Learning and Deep Learning Algorithms Via Continuous and Binary Data; a Comparative Analysis

被引:131
|
作者
Nabipour, Mojtaba [1 ]
Nayyeri, Pooyan [2 ]
Jabani, Hamed [3 ]
Shahab, S. [4 ,5 ]
Mosavi, Amir [6 ,7 ,8 ]
机构
[1] Tarbiat Modares Univ, Fac Mech Engn, Tehran 1411713116, Iran
[2] Univ Tehran, Coll Engn, Sch Mech Engn, Tehran 141556311, Iran
[3] Payame Noor Univ, Dept Econ, West Tehran Branch, Tehran 193954697, Iran
[4] Duy Tan Univ, Inst Res & Dev, Da Nang, Vietnam
[5] Natl Yunlin Univ Sci & Technol, Coll Future, Future Technol Res Ctr, Touliu 64002, Taiwan
[6] Obuda Univ, Kalman Kando Fac Elect Engn, H-1034 Budapest, Hungary
[7] Obuda Univ, John von Neumann Fac Informat, H-1034 Budapest, Hungary
[8] J Selye Univ, Dept Math & Informat, Komarno 94501, Slovakia
关键词
Stock markets; Machine learning; Predictive models; Market research; Prediction algorithms; Support vector machines; Indexes; Stock market; trends prediction; classification; machine learning; deep learning; INDEX; PRICE; DIRECTION; FUSION;
D O I
10.1109/ACCESS.2020.3015966
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The nature of stock market movement has always been ambiguous for investors because of various influential factors. This study aims to significantly reduce the risk of trend prediction with machine learning and deep learning algorithms. Four stock market groups, namely diversified financials, petroleum, non-metallic minerals and basic metals from Tehran stock exchange, are chosen for experimental evaluations. This study compares nine machine learning models (Decision Tree, Random Forest, Adaptive Boosting (Adaboost), eXtreme Gradient Boosting (XGBoost), Support Vector Classifier (SVC), Naive Bayes, K-Nearest Neighbors (KNN), Logistic Regression and Artificial Neural Network (ANN)) and two powerful deep learning methods (Recurrent Neural Network (RNN) and Long short-term memory (LSTM). Ten technical indicators from ten years of historical data are our input values, and two ways are supposed for employing them. Firstly, calculating the indicators by stock trading values as continuous data, and secondly converting indicators to binary data before using. Each prediction model is evaluated by three metrics based on the input ways. The evaluation results indicate that for the continuous data, RNN and LSTM outperform other prediction models with a considerable difference. Also, results show that in the binary data evaluation, those deep learning methods are the best; however, the difference becomes less because of the noticeable improvement of models' performance in the second way.
引用
收藏
页码:150199 / 150212
页数:14
相关论文
共 50 条
  • [1] Predicting stock market trends using machine learning algorithms via public sentiment and political situation analysis
    Khan, Wasiat
    Malik, Usman
    Ghazanfar, Mustansar Ali
    Azam, Muhammad Awais
    Alyoubi, Khaled H.
    Alfakeeh, Ahmed S.
    [J]. SOFT COMPUTING, 2020, 24 (15) : 11019 - 11043
  • [2] Predicting stock market trends using machine learning algorithms via public sentiment and political situation analysis
    Wasiat Khan
    Usman Malik
    Mustansar Ali Ghazanfar
    Muhammad Awais Azam
    Khaled H. Alyoubi
    Ahmed S. Alfakeeh
    [J]. Soft Computing, 2020, 24 : 11019 - 11043
  • [3] Predicting Economic Trends and Stock Market Prices with Deep Learning and Advanced Machine Learning Techniques
    Chang, Victor
    Xu, Qianwen Ariel
    Chidozie, Anyamele
    Wang, Hai
    [J]. ELECTRONICS, 2024, 13 (17)
  • [4] A Comparative Study of Deep Learning Algorithms for Forecasting Indian Stock Market Trends
    Paul, Mrinal Kanti
    Das, Purnendu
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2023, 14 (10) : 932 - 941
  • [5] Predicting Stock Prices Using Machine Learning Methods and Deep Learning Algorithms: The Sample of the Istanbul Stock Exchange
    Demirel, Ugur
    Cam, Handan
    Unlu, Ramazan
    [J]. GAZI UNIVERSITY JOURNAL OF SCIENCE, 2021, 34 (01): : 63 - 82
  • [6] Stock market prediction using deep learning algorithms
    Mukherjee, Somenath
    Sadhukhan, Bikash
    Sarkar, Nairita
    Roy, Debajyoti
    De, Soumil
    [J]. CAAI TRANSACTIONS ON INTELLIGENCE TECHNOLOGY, 2023, 8 (01) : 82 - 94
  • [7] Predicting stock market by sentiment analysis and deep learning
    Akyuz, Sureyya Ozogur
    Atas, Pinar Karadayi
    Benkhaldoun, Aymane
    [J]. OPERATIONS RESEARCH AND DECISIONS, 2024, 34 (02) : 85 - 107
  • [8] Predicting the daily return direction of the stock market using hybrid machine learning algorithms
    Zhong, Xiao
    Enke, David
    [J]. FINANCIAL INNOVATION, 2019, 5 (01)
  • [9] Stock market prediction based on statistical data using machine learning algorithms
    Akhtar, Md. Mobin
    Zamani, Abu Sarwar
    Khan, Shakir
    Shatat, Abdallah Saleh Ali
    Dilshad, Sara
    Samdani, Faizan
    [J]. JOURNAL OF KING SAUD UNIVERSITY SCIENCE, 2022, 34 (04)
  • [10] Predicting the daily return direction of the stock market using hybrid machine learning algorithms
    Xiao Zhong
    David Enke
    [J]. Financial Innovation, 5