Forecasting a stock trend using genetic algorithm and random forest

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 Al...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Journal of risk and financial management 2022-05, Vol.15 (5), p.1-18
Hauptverfasser: Abraham, Rebecca, El Samad, Mahmoud, Bakhach, Amer M, El-Chaarani, Hani, Sardouk, Ahmad, El Nemar, Sam, Jaber, Dalia
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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.
ISSN:1911-8074
1911-8066
1911-8074
DOI:10.3390/jrfm15050188