Abstract

The forecasting of stock prices is an important area of research because of the benefits it provides for individuals, corporations, and governments. The purpose of this study is to investigate the application of a key of study to the prediction of the adjusted closing price of a particular firm. Estimating a stock’s volatility is one of the more difficult tasks that traders must undertake. Investors are able to mitigate the risks associated with their portfolios and investments to a greater extent when stock prices can be accurately predicted. Prices of stocks do not move in a linear fashion. We propose artificial intelligence (AI) for multilayer perceptron (MLP) and long short-term memory (LSTM) models to predict fluctuations on the Saudi Stock Exchange (Tadawul). This paper focuses on the future forecasting of the stock exchange in the communication, energy, financial, and industrial sectors. The historical records from Tadawul were used as a basis for data collection for these sectors, in time periods from 2018 to 2020. For the purpose of predicting the future values of various stock market sectors, the AI algorithms were applied over a period of 60 days. They demonstrated highly effective performance when simulated using input data, which was carried out to validate the proposed model. In addition, the correlation coefficient (R) of the LSTM and MLP models for predicting the stock market in four sectors in the Saudi Stock Exchange (Tadawul) was >0.9950, which indicates that the outcomes were in good agreement with the predicted values. The outcomes of the forecasts were provided for each method based on four different measures. Among all the algorithms utilized in this work, LSTM demonstrated the most accurate findings and had the best capacity for model fitting.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.