Forecasting a Stock Trend Using Genetic Algorithm and Random Forest

被引:15
|
作者
Abraham, Rebecca [1 ]
El Samad, Mahmoud [2 ]
Bakhach, Amer M. [2 ]
El-Chaarani, Hani [3 ]
Sardouk, Ahmad [4 ]
El Nemar, Sam [5 ]
Jaber, Dalia [2 ]
机构
[1] Nova Southeastern Univ SBE, Huizenga Coll Business, 3301 Coll Ave, Ft Lauderdale, FL 33319 USA
[2] Lebanese Int Univ, Sch Arts & Sci, POB 146404, Mouseitbah, Mazara, Lebanon
[3] Beirut Arab Univ, Coll Business Adm, Tripoli Campus,POB 11-50-20, Beirut, Lebanon
[4] Lebanese Univ UL, Fac Econ & Business Adm, Tripoli Campus,POB 6573-14, Beirut, Lebanon
[5] AZM Univ, Fac Business Adm, POB 1010, Tripoli, Lebanon
关键词
computational or mathematical finance; stock trend prediction; random forest; genetic algorithm; features selection; MARKET PREDICTION;
D O I
10.3390/jrfm15050188
中图分类号
F8 [财政、金融];
学科分类号
0202 ;
摘要
This paper addresses the problem of forecasting daily stock trends. The key consideration is to predict whether a given stock will close on uptrend tomorrow with reference to today's closing price. We propose a forecasting model that comprises a features selection model, based on the Genetic Algorithm (GA), and Random Forest (RF) classifier. In our study, we consider four international stock indices that follow the concept of distributed lag analysis. We adopted a genetic algorithm approach to select a set of helpful features among these lags' indices. Subsequently, we employed the Random Forest classifier, to unveil hidden relationships between stock indices and a particular stock's trend. We tested our model by using it to predict the trends of 15 stocks. Experiments showed that our forecasting model had 80% accuracy, significantly outperforming the dummy forecast. The S&P 500 was the most useful stock index, whereas the CAC40 was the least useful in the prediction of daily stock trends. This study provides evidence of the usefulness of employing international stock indices to predict stock trends.
引用
收藏
页数:18
相关论文
共 50 条
  • [1] Forecasting Daily Stock Trends Using Random Forest Optimization
    Park, Ji Sang
    Cho, Hyeon Sung
    Lee, Ji Sung
    Chung, Kyo Il
    Kim, Jeong Min
    Kim, Dong Jin
    2019 10TH INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY CONVERGENCE (ICTC): ICT CONVERGENCE LEADING THE AUTONOMOUS FUTURE, 2019, : 1152 - 1155
  • [2] Wind Power Forecasting Using Parallel Random Forest Algorithm
    Natarajan, V. Anantha
    Kumari, N. Sandhya
    SOFT COMPUTING FOR PROBLEM SOLVING, SOCPROS 2018, VOL 1, 2020, 1048 : 209 - 224
  • [3] Trend analysis and forecasting of streamflow using random forest in the Punarbhaba River basin
    Swapan Talukdar
    Swades Pal
    Mohd Waseem Shahfahad
    Ayesha Naikoo
    Atiqur Parvez
    Environmental Monitoring and Assessment, 2023, 195
  • [4] Trend analysis and forecasting of streamflow using random forest in the Punarbhaba River basin
    Talukdar, Swapan
    Pal, Swades
    Shahfahad
    Naikoo, Mohd Waseem
    Parvez, Ayesha
    Rahman, Atiqur
    ENVIRONMENTAL MONITORING AND ASSESSMENT, 2023, 195 (01)
  • [5] Prediction of Permeability Using Random Forest and Genetic Algorithm Model
    Wang, Junhui
    Yan, Wanzi
    Wan, Zhijun
    Wang, Yi
    Lv, Jiakun
    Zhou, Aiping
    CMES-COMPUTER MODELING IN ENGINEERING & SCIENCES, 2020, 125 (03): : 1135 - 1157
  • [6] Research on stock trend prediction method based on optimized random forest
    Yin, Lili
    Li, Benling
    Li, Peng
    Zhang, Rubo
    CAAI TRANSACTIONS ON INTELLIGENCE TECHNOLOGY, 2023, 8 (01) : 274 - 284
  • [7] Gene Selection using Intelligent Dynamic Genetic Algorithm and Random Forest
    Pashaei, Elham
    Pashaei, Elnaz
    2019 11TH INTERNATIONAL CONFERENCE ON ELECTRICAL AND ELECTRONICS ENGINEERING (ELECO 2019), 2019, : 470 - 474
  • [8] Forecasting stock market movements using Google Trend searches
    Huang, Melody Y.
    Rojas, Randall R.
    Convery, Patrick D.
    EMPIRICAL ECONOMICS, 2020, 59 (06) : 2821 - 2839
  • [9] Forecasting stock market trend using prototype generation classifiers
    Hajek, Petr
    WSEAS Transactions on Systems, 2012, 11 (12): : 671 - 680
  • [10] Forecasting stock market movements using Google Trend searches
    Melody Y. Huang
    Randall R. Rojas
    Patrick D. Convery
    Empirical Economics, 2020, 59 : 2821 - 2839