Abdelhadi Ifleh, Azdine Bilal, Mounime El Kabbouri
{"title":"Comparative study of Moroccan stock price prediction with trend technical indicators","authors":"Abdelhadi Ifleh, Azdine Bilal, Mounime El Kabbouri","doi":"10.3233/his-230002","DOIUrl":null,"url":null,"abstract":"Predicting future prices is challenging for both scholars and traders due to the high frequency and complexity of stock markets (SMs). The efficient market hypothesis (EMH) states that stock prices (SPs) follow a random walk and are unpredictably fluctuating. Furthermore, the price contains all accessible data, and we can’t extrapolate profitability from previous or current data, thus technical analysis (TA) is ineffective for projecting future prices. Technical indicators (TI) are calculated using past prices, and they are divided into two categories: trend TI and oscillators. The purpose of this study is to evaluate the accuracy of predictions for three stocks traded on the Casablanca Stock Exchange (CSE): IAM, Attijari Wafa Bank (ATW), and Banque Centrale Populaire (BCP). We combined trend TI with Long Short Term Memory model (LTSM) to make predictions and compared the results to the Random Forest model (RF). We also use Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Error (MAE) to assess prediction accuracy. As a result, LSTM outperforms the RF model in terms of prediction.","PeriodicalId":88526,"journal":{"name":"International journal of hybrid intelligent systems","volume":"25 1","pages":"15-26"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International journal of hybrid intelligent systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3233/his-230002","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Predicting future prices is challenging for both scholars and traders due to the high frequency and complexity of stock markets (SMs). The efficient market hypothesis (EMH) states that stock prices (SPs) follow a random walk and are unpredictably fluctuating. Furthermore, the price contains all accessible data, and we can’t extrapolate profitability from previous or current data, thus technical analysis (TA) is ineffective for projecting future prices. Technical indicators (TI) are calculated using past prices, and they are divided into two categories: trend TI and oscillators. The purpose of this study is to evaluate the accuracy of predictions for three stocks traded on the Casablanca Stock Exchange (CSE): IAM, Attijari Wafa Bank (ATW), and Banque Centrale Populaire (BCP). We combined trend TI with Long Short Term Memory model (LTSM) to make predictions and compared the results to the Random Forest model (RF). We also use Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Error (MAE) to assess prediction accuracy. As a result, LSTM outperforms the RF model in terms of prediction.
由于股票市场的高频率和复杂性,预测未来的价格对学者和交易者来说都是一个挑战。有效市场假说(EMH)指出,股票价格(SPs)遵循随机漫步,并且不可预测地波动。此外,价格包含了所有可获得的数据,我们不能从以前或当前的数据推断盈利能力,因此技术分析(TA)对于预测未来的价格是无效的。技术指标(TI)是使用过去的价格来计算的,它们分为两类:趋势TI和振荡指标。本研究的目的是评估在卡萨布兰卡证券交易所(CSE)交易的三只股票的预测准确性:IAM, Attijari Wafa Bank (ATW)和Banque Centrale Populaire (BCP)。我们结合趋势TI和长短期记忆模型(LTSM)进行预测,并将结果与随机森林模型(RF)进行比较。我们还使用均方误差(MSE)、均方根误差(RMSE)和平均绝对误差(MAE)来评估预测的准确性。因此,LSTM在预测方面优于RF模型。