Predicting Stock Market Movements Using Machine Learning Techniques

Auteurs

  • Bilal Elmsili Faculté des Sciences Juridiques Economiques et Sociales Souissi, Université Mohammed V de Rabat https://orcid.org/0000-0003-4087-0871
  • Benaceur Outtaj Faculté des Sciences Juridiques Economiques et Sociales Souissi, Université Mohammed V de Rabat

Mots-clés :

Machine Learning, Stock Returns Prediction, Efficient Market Hypothesis, Technical Analysis

Résumé

The purpose of this paper is to compare the performance of various state-of-the-art machine learning techniques in predicting the behavior of stock-market returns. To do so, we gathered ten years of daily historical data (2488 observations per stock) for the top ten most liquid stocks in Casablanca Stock Exchange (Morocco) and trained six machines learning classifiers (ridge regression, LASSO regression, support-vector machine, k-nearest neighbors, random forest, and adaptive boosting) and an ensemble of them (i.e. ensemble learning) in order to predict one-day-ahead, one-week-ahead, and one-month-ahead prices direction (i.e. positive or negative returns). The performance of each algorithm is then evaluated using accuracy, precision, recall, and F1 scores. Applying the Diebold-Mariano test at a significance level of 5%, we have found that support-vector machine, random forest, and adaptive boosting perform equally well and outperform all other single classifiers for short-term predictions (one-day-ahead and one-week-ahead). However, for monthly predictions, all methods display similar predictive accuracy. In addition, our study suggests that ensemble learning significantly improves all performance metrics for the three prediction horizons. We have also found that for all models the performance significantly decreases as the prediction horizon increases.

Téléchargements

Publiée

2021-05-30

Comment citer

Elmsili, B., & Outtaj, B. (2021). Predicting Stock Market Movements Using Machine Learning Techniques. International Journal of Accounting, Finance, Auditing, Management and Economics, 2(3), 390–405. Consulté à l’adresse https://ijafame.org/index.php/ijafame/article/view/141

Numéro

Rubrique

Articles