Presenting an Explanatory Model of Stock Price Using Deep Learning Algorithm
الموضوعات :Mojtaba Bavaghar Zaeimi 1 , Gholamreza Zomorodian 2 , Mehrzad Minooee 3 , Amirreza Keyghobadi 4
1 - Department of Finance ,Central Tehran Branch , Islamic Azad University, Tehran,Iran
2 - Department of Business Management, Central Tehran Branch , Islamic Azad University, Tehran, Iran.
3 - Department of Industrial Management ,Islamic Azad University, Central Tehran Branch, Tehran, Iran
4 - Department of Accounting, Central Tehran Branch, Islamic Azad University, Tehran, Iran.
الکلمات المفتاحية: Stock Price , Learning Algorithm , Prediction ,
ملخص المقالة :
This study aimed to present an explanatory model of stock price using deep learning algorithm for companies listed in the Tehran Stock Exchange. In this study, a deep learning network was used to predict stock prices. The study was applied-developmental research in terms of purpose. To test the research questions, accounting data were prepared from 2011 to 2020 and input variables were calculated based on it for the model. The method of systematic elimination sampling has been used in this study. The results indicated that the precisions of prediction has a high precisions in the deep learning model. The proposed algorithm was reviewed according to its prediction accuracy and modeling cost. According to the data volume, it was found that the prediction accuracy in the deep learning model has a relative superiority and the diagram of performance characteristic and AUC criteria also showed this superiority in detection power.
[1] Akhgar, M., Amini, P., Moradi, A., Reviewing the effect of environmental performance on the risk of stock price falls with emphasis on political relationships in the Tehran Stock Exchange, Journal of Finan-cial Accounting Research, 2021; 13(2), 48:101-120. Doi:10.22108/FAR.2021.128585.1754
[2] Khosravi Nejad, A., Shabani Sadrpisheh, M., Linear and non-linear evaluation in predicting the stock price index in Tehran Stock Exchange, journal of financial economics (financial economics and develop-ment), 2014; 8(27):51 - 64. (in persion)
[3] Zeinaddini, Sh., Karimi, M., Khanzadi, A., Evaluating the effect of oil price shocks on the Iran stock market' performance, Journal of Financial Economics (Financial Economics and Development), 2020; 14(50):145-169.
[4] Shakeri, A., Theories and Policies of Macroeconomics, Pars Navisa Publication, 2008.
[5] Abdolmaleki, A., Hamidian, M., Baghani, A., Investigation of Fractal Property Price and Stock Returns of Tehran Stock Exchange Companies Using Nonlinear Arifma Model, Financial Engineering and Securi-ties Management (Portfolio Management), 2020; 11(44): 207-226. (in persion)
[6] Arab Salehi, M., Kamali Dehkordi, A., Comparative Investigating of Stock Valuation Discount Models in Companies Listed in Tehran Stock Exchange, Quarterly Journal of Management Perspective, 2020; 11(33): 12-32. Doi:10.52547/jfmp.2021.215093.0
[7] Farazmand, S., Asadi, Gh., Abdeh Tabrizi, H., Hamidizadeh, M., Reviewing the mass behavior of stock prices in Tehran Stock Exchange, Quarterly Journal of Quantitative Economics, online publication from March 3. 2020. Doi:10.22055/JQE.2021.36054.2310
[8] Karimi Dastgerdi, A., Zamani Borujeni, F., A review on deep learning methods for financial market prediction, National Congress of Basic Research in Computer Engineering and Information Technology. 2019.
[9] Kiani Mavi, R., Sayadi Nik, K., Using different learning algorithms in the stock price prediction by using neural networks, Journal of Development Evolution Management, 2015; special issue:75-81.
[10] Mohammadi, M., Sadr, N., Presenting a method for predicting stock market prices with a deep learn-ing approach (Case study: Stock market), Master's Thesis in Computer Science, Faculty of Engineering of Ishraq, Bojnourd, 2018.
[11] Mehrara, A., Atf, Z., Askari, Z., Data Mining Techniques for predicting Stock Market, National Con-ference on Accounting, Financial Management and Investment, 2012.
[12] Momeni, A., Mohammadi, M., Reviewing the relationship between cost stickiness and stock price crash risk in companies listed in the Tehran Stock Exchange, Journal of New Research Approaches in Management and Accounting, 2020; 62:73 -90. (in persion)
[13] Mir Hashemi Dehnavi, S. M., Asymmetric effects of oil price shocks on the stock market: Case Study: Oil Exporting Countries, Quarterly Journal of Fiscal and Economic Policies, 2015; 77: 11-711.
[14] Namazi, M., Kiamehr, M. M., Predicting the daily stock returns of companies listed in the Tehran Stock Exchange using artificial neural networks, Financial Research Journal, 2007; 115-134.
[15] Cha, K, H., Hadjiiski, L. M., Samala, R. K., et al., Blad-der Cancer Segmenttion in CT for Treatment Response Assessment: Application of Deep‐Learning Convolu-tion Neural Nework Pilot Study, Tomog-raphy A Journal for Imaging Research, 2016; 2(4):421-429. Doi: 10.18383/j.tom.2016.00184
[16] Chan, M.C., Wong, C.C., Lam, C.C., Financial time series forecasting by Neural Network using Conju-gate Gradient Learning Algorithm and Multiple Linear Regression, Weight initialization, Department of computing, 2000.
[17] Chih, M. H., a hybrid procedure for stock price prediction by integrating self-organizing map and genetic programming, Expert Systems with Applications, 2011; 38: 14026-14036. Doi;10.1016/j.eswa.2011.04.210
[18] Das, S. P., Padhy, S., A novel hybrid model using teachinglearningbased optimization and a support vector machine for commodity futures index forecasting, International Journal of Machine Learning & Cybernetics, 2018; 9(1): 97111. Doi:10.1007/s13042-015-0359-0
[19] Göçken M, Özçalıcı, Mehmet, Boru A, et al., Integrat-ing metaheuristics and Artificial Neural Networks for improved stock price prediction, Ex-pert Systems with Applications, 2016, 44(C), P.320‐331.
Doi: 10.1016/j.eswa.2015.09.029
[20] Jie W., Wang J., Forecasting stochastic neural network based on financial empirical mode decomposition, Neural Networks, 2017; 90 :8‐20. Doi: 10.1016/j.neunet.2017.03.004
[21] Kim, K. J., Han, I., Genetic algorithms approach to characteristic discrimination in artificial neural networks for the prediction of stock price index, Published by Elsevier science, Ltd, Expert systems with applications, 2000; 19: 125 132. Doi:10.1016/S0957-4174(00)00027-0
[22]Lahmiri S., A Technical Analysis Information Fusion Approach for Stock Price Analysis and Modeling, Fluctuation and Noise Letters, 2018; 17(1): 1850007. Doi:10.1142/S0219477518500074
[23] Mahmud, M., Kaiser, M. S., Hussain, A., et al., Applica-tions of Deep Learning and Reinforcement Learning to Biological Data, IEEE Transactions on Neural Networks and Learning Systems, 2017; 29(6):2063-2079. Doi: 10.1109/TNNLS.2018.2790388
[24] Meihua, X., Haiyan, L., Yuanjun, Z., Blockchain financial investment based on deep learning network algorithm, Journal of Computational and Applied Mathematics, 2020; 372(8):112723.
Doi: 10.1016/j.cam.2020.112723
[25] Oh, K. J., Kim, K. J., Analyzing stock market tick data using piecewise nonlinear model, Expert Sys-tem with Applications, 2002; 22(3): 249–255.
[26] Pang X, Zhou Y, Pan W, et al., An innovative neural network approach for stock market prediction, Journal of Supercomputing, 2018; 76: 2098–2118. Doi: 10.1007/s11227-017-2228-y
[27]Sato M, Horie K, Hara A, et al., Application of deep learning to the classification of images from colposcopy, Oncology Letters, 2018; 15(3):3518‐3523. Doi: 10.3892/ol.2018.7762
[28]Song, W., et al., A Double‐Layer Neural Network Framework for High‐Frequency Forecasting, Acm Transactions on Management Information Systems, 2017; 7(4): 1‐17. Doi:10.1145/3021380
[29] Ubbens, J., Cieslak, M., Prusinkiewicz, P., et al., The use of plant models in deep learning: an application to leaf counting in rosette plants, Plant Methods, 2018; 14(1):6. Doi: 10.1186/s13007-018-0273-z
[30] Zhang, G.P., Time Series Forecasting Using a Hybrid ARIMA and Neural Network Model Neuro com-puting, 2003; 50: 159-175. Doi:10.1016/S0925-2312(01)00702-0
[31] Lendasse, A., Non-Linear financial time series forecasting application to Bell 20 stock market Index, European Journal of Economic and social system, 2000; 14(1): 81-91
[32] Park, C.H., Irwin, S.H., What Do We Know About the Profitability of Technical Analysis? , Journal of Economic Surveys, 2007; 21: 786–826. Doi: 10.1111/j.1467-6419.2007.00519.x
[33] Monajemi, S. A., Abzari, M., Rayati, A., predicting the stock price in the stock market using fuzzy neural network and genetic algorithm and comparing it with artificial neural network, Quarterly Journal of Quantitative Economics (Former Economic Studies), 2009; 6(3):1-26. Doi: 10.22055/JQE.2009.10697
Adv. Math. Fin. App., 2024, 9(3), P.1099-1109 | |
| Advances in Mathematical Finance & Applications www.amfa.iau-arak.ac.ir Print ISSN: 2538-5569 Online ISSN: 2645-4610 Doi: 10.22034/amfa.2023.1954455.1717 |
Original Research
Presenting an Explanatory Model of Stock Price Using Deep Learning Algorithm Mojtaba bavaghar Zaeimia, Gholamreza Zomorodianb,*, Mehrzad Minoueia, Amirreza Keyghobadic
a Department of Industrial Management, Central Tehran Branch, Islamic Azad University, Tehran ,Iran b Department of Business Management, Central Tehran Branch, Islamic Azad University, Tehran, Iran c Department of Accounting ,Central Tehran Branch, Islamic Azad University, Tehran, Iran
| |||
Article Info Article history: Received 2022-03-07 Accepted 2023-01-01
Keywords: Stock Price Learning Algorithm Prediction
|
| Abstract | |
This study aimed to present an explanatory model of stock price using deep learning algorithm for companies listed in the Tehran Stock Exchange. In this study, a deep learning network was used to predict stock prices. The study was applied-developmental research in terms of purpose. To test the research questions, accounting data were prepared from 2011 to 2020 and input variables were calculated based on it for the model. The method of systematic elimination sampling has been used in this study. The results indicated that the precisions of prediction has a high precisions in the deep learning model. The proposed algorithm was reviewed according to its prediction accuracy and modeling cost. According to the data volume, it was found that the prediction accuracy in the deep learning model has a relative superiority and the diagram of performance characteristic and AUC criteria also showed this superiority in detection power. |
1 Introduction
Achieving the economic growth and creating the investment motivation is accelerated in a country when it has active and reliable capital markets. The existence of active capital markets always encourages many investors and leads capital and financial resources to productive sectors [14]. Prediction in capital markets has always encountered challenges, doubts and errors, and the used methods have weaknesses that restrict their application. The stock price prediction has always considered as a challenging topic for researchers [32]. This market's high rates of return and uncertainty has caused the investors to use a variety of methods to facilitate the decision-making process [33]. The stock price information is one of the most important information in the capital market for investors, which is fundamentally nonlinear, non-parametric and chaotic dynamics [25]. This indicates that investors should use time series that are non-stationary and have a chaotic structure [17]. Therefore, stock price prediction is not only very challenging but also very popular with investors today [17]. Stock price and its related information are the criterion which is important to shareholders and capital market actors are attempting to scientifically be able to predict stocks in the future. By presenting new models of stock price prediction can help investors. The closer these predictions are to reality, the more correct the decisions that are made based on such predictions [10]. With increasing scientific progress, computer learning has precious and infinite energy, order, and capability of data processing compared to traditional investment [24].There are numerous models for computer learning methods that deep learning algorithm is among the most important and well-known models in this field. This study aimed to present an explanatory model of stock price using two methods of deep learning algorithm, and ultimately it reviewed the predictability of the model’s prediction and suggested the appropriate model.
2 Theoretical Foundations and Research Background
The information of companies' risk and stock returns has a particular importance for investors and shareholders. Stock price changes over different time intervals and cash flows of companies, such as dividends, play a very important role in determining the risk and stock return [1]. It is necessary to reviewed the existing pricing models permanently and introduce more appropriate models to make the right decisions for investment and allocate the capital resources optimally. The results of previous studies represent that in the Tehran Stock Exchange, cash profit items as well as cash flows are more accepted as a criterion for buying and selling stocks than other accounting information [6]. A company's risk and stock price changes are a function of transferring information from inside to outside. By analyzing the studied companies' cost stickness, it is argued that operational risk is also an important factor that influences the stock prices crash risk [12]. There are many evidences representing the complexity of time series, such as stock market prices, and their random nature; this causes they be unpredictable by changes. Whereas, it is possible that these time series are a certain dynamic nonlinear process, or that is chaotic, and as a result can be predictable [5]. Although, in existing theories, the mass behavior of stock price is mainly defined based on a kind of imitation and behavior repetition, but it is difficult to provide a mathematical model to identify this phenomenon. Iran's capital market is facing the phenomenon of closing the symbol and this can influence the stock prices [7]. According to that the problem of stock price prediction is a matter of learning and optimization [10], this issue has been in the center of attention in recent years, and much has been said in the societies related to artificial intelligence and machine learning. Deep learning refers to a subset of learning algorithms and machine learning-based methods that attempts to discover complex patterns in data and model high-level abstractions. This property of deep learning has brought significant successes for this type of methods in the area of machine learning; so that they perform better than humans in some areas, such as identifying objects. Some deep learning techniques focus on analyzing and predicting the time series, which help us predict by discovering unknown patterns from the data. According to the nonlinear and chaotic system of the stock market, the traditional analysis does not have enough precisions [8]. So, what is investigated in this study is to present an explanatory model of stock price using deep learning algorithm and comparing it with neural network. In this way, the researcher considers the modeling of deep learning algorithm in order to predict stock prices and provides an optimal model for predicting stock prices in the long-term with the least error.
2.1 Experimental Background
Zhang, G.P [30] express that the precision of the combined model of autoregressive stacked moving aver model is accumulated and the neural network was better than the combination of each model alone. The results of Chan, M.C. [16] represented that the neural network can satisfactorily predict better time series and weight selection method led to lower computational costs. Kim, K. J., Han, I [21] express that genetic algorithm and neural network can be used to reduce the future complexity of the price time series. Lendasse et al. [31] predict the index using the neural network. The results of their research represented that the use of neural networks works better than linear methods. Lahmiri S. [22] believed that most neural network inputs used to predict the exchange rate were single-variable, whereas neural network inputs used to predict the market price index and economic growth were multivariate in most cases. In terms of performance, there is a combined comparison between the neural network and other models. The reasons may be data differences, prediction levels and type of neural network model.
Das S. P. & Padhy [18] suggest that artificial neural networks have excellent learning capability, but they often are incompatibility and unpredictability for performance of data with disruption. Results of Sang et al. [28] represent that the genetic algorithm is considered as a promising method for immediate selection of artificial neural network. Pang et al. [26] suggest the use of monitored neural networks as learning technology in order to design a prediction for financial time series. Mahmud et al. [23] propose a fault detection model, a generalized intelligence and deep regression neural network, which is a supervised deep learning model, has a low precision and speed. The results of analysis and simulation by Cha et al. [15] indicate that this algorithm can achieve an average detection accuracy of 93.4% or higher for continuous wave signals of FM (frequency modulation), Frank, Costas, and phase shift keying/frequency shift keying. Sato M. et al. [27] express that deep learning networks are very useful compared to traditional manual methods to extract secret characteristics. Ubbens J. et al. [29] suggest the use of deep learning theory for studying the characteristics of active response of candidate and transforming the problem of extracting the response of property learning and categorization which is the use of words vectors to represent the problem properties.
The results of Kiani Mavi et al. [9] on the prediction of the company's stock price represent that the prediction by the standard back propagation (SBP) algorithm with momentum is better than the standard BP. Mehrara et al. [11] express that stock price prediction is useful using data mining techniques, including neural network and decision trees and logical regression. The results of Momeni and Mohammadi [12] indicate that a company's stock price crash risk is a function of transfering its information from inside to outside. By analyzing the studied companies' cost stickness, it is argued that operational risk is also an important factor that influences the stock prices crash risk. The probability of crash risk is reduced for companies with cost stickiness. Arab Salehi and Kamali Dehkordi [6] point out that it is necessary to reviewed the existing pricing models permanently and introduce more appropriate models to make the right decisions for investment and allocate the capital resources optimally. The results of their studies represent that in the Tehran Stock Exchange, cash profit items as well as cash flows are more accepted as a criterion for buying and selling stocks than other accounting information. The results of Khosravi Nejad and Shabani Sadr Pisheh [2] represent that there is no a significant difference between linear and nonlinear models in predicting the stock price index.
3 Based on Previous Researches at Home and Abroad, the Following Hypotheses Were Tested in This Study
The most important questions of the study are:
ü Question 1: Is the deep learning algorithm model a suitable model for stock price prediction?
ü Question 2: What are the most important variables of stock price prediction based on the learning algorithm model?
4 Methodology
This study was an applied research and was descriptive in terms of data collection method; and the scale of data measurement was relative. The population was consisted of all companies listed in the Tehran Stock Exchange from 2011 to 2020; their characteristics were as follows:
1) They followed the fiscal year ending March.
2) They were not a financial and credit institution.
3) Their stock market information was available.
4) They had not changed their fiscal year during the research period.
So, all companies listed in the stock exchange were used which were qualified between 2011 to 2020. The required information for this study and financial information of companies has been collected in the sections related to the literature from library resources and from the stock exchange and the Rahavard Novin software, respectively.
4.1 Research Model
The research conceptual model is as follows:
Fig.1: The Research Conceptual Model
Source: Taken from of the researcher findings from the literature of the research subject
5 Introducing the Model Variables
5.1 Dependent Variables
The stock price is the dependent variable used in this study which has been extracted from the information available on the site of Tehran Stock Exchange for sample companies.
5.2 Independent Variables
The independent variables used in this study are divided into two groups of market surface variables and macro variables as follows:
Independent variables at the market level are: open price, close price, lowest price, highest price, trading volume, total stock market index. The information related to these variables has been extracted from the existing information on the website of Tehran Stock Exchange for sample companies.
The macro-independent variables are: coin price, dollar price, oil price. Information related to these indicators has been extracted from the website of the Central Bank of the Islamic Republic of Iran.
Table 1: Explaining the Independent and Dependent Variables Used in the Study
Details | Category | Symbols | Variable name |
A price which is traded per share at the start time of trading | Intra-company | Open | Open price |
The lowest price which is traded on a daily time interval per share. | Intra-company | Low | Lowest price |
The highest price which is traded on a daily time interval per share. | Intra-company | High | Highest price |
The last price which is traded on a daily time interval per share. | Intra-company | Close | Close price |
The trading volume per each trading day | Intra-company | Volume | Trading volume |
Daily stock price index | Macroeconomics | TEP IX | Total stock market index |
Daily coin price | Macroeconomics | Coin | Coin price |
Daily U.S dollar price | Macroeconomics | Dollar | Dollar price |
Daily price of Brent oil | Macroeconomics | Oil | Oil price |
In this study, we use the logarithmic return method to preprocessing the properties.
(Relation (1))
Xi = difference (log (Xi)), (i = 1, number of characteristics) | (1) |
First, we calculate the logarithm of the values of each property and then calculate the return values (xi + 1 - xi) per each property. Now, we consider creating the target variable.
i. , (i = 1, number of observation)
| (2) |
| (3) |
| (4) |
Variables | Average | Median | Standard deviation | Minimum | Maximum | Range |
Open | 5341.13986 | 1574 | 13656.2189 | 15 | 749260 | 749245 |
High | 5457.98172 | 1605 | 13951.2216 | 15 | 749260 | 749245 |
Low | 5191.26794 | 1540 | 13208.7795 | 14 | 690000 | 689986 |
Close | 5323.36732 | 1572 | 13583.5419 | 14 | 749260 | 749246 |
Volume | 5272162.75 | 570273.5 | 38073633.8 | 1 | 6104750214 | 6104750213 |
TEPIX | 174881.953 | 79393.8 | 293230.306 | 11178.5 | 2065114.3 | 2053935.8 |
Coin | 22801754 | 12032000 | 20943474.5 | 2480000 | 113490000 | 111010000 |
Dollar | 64682.3188 | 37380 | 50516.3024 | 9910 | 229410 | 219500 |
Oil | 69.5594857 | 63.69 | 24.8802179 | 9.12 | 128.14 | 119.02 |
Source: Researcher findings
According to the average values of the variables and their standard deviation, it is found that there is a high range of oscillation and dispersion around the average in the 10-year period of data. Also, if we pay attention to the minimum, maximum and change range of these variables, we can justify this high value of standard deviation.
The importance of normality of data distribution is because of this that the normality of dependent variable distribution is usually one of the basic assumptions in statistical inferences such as linear regression model; while this problem is solved in the machine learning approach and the inference basically does not matter. Therefore, if the dependent or target variable does not observe the normal distribution, there is no interruption in the work and this is an advantage.
7.1 Testing the Research Questions
7.1.1 Testing the Research Questions Using Deep Learning Model
In order to examine the results of data analysis using the deep learning model, first the data set was divided into two groups: training and test. In such a way that 80% of the data was considered for training and 20% for test. Accordingly, the number of 340305 data from 648 companies were allocated to the training set and the number of 85775 data were allocated to the test set. Also, the data belonging to five companies were evaluated separately using created models.
Table 3: The Results of Prediction Accuracy of Deep Learning Model
FPR (1- Specificity) | Specificity | Sensitivity | Precision | Model description |
24% | 76% | 69% | 73% | Deep learning |
Considering Table 3, we found that the deep learning model has an accuracy of 73% with a sensitivity of 69% that the obtained coefficients have the necessary adequacy to predict stock prices. Consequently, it can be acknowledged that the deep learning model has the necessary adequacy to predict stock prices.
Table 4: Confusion Matrix of Deep Learning Model
Description | positive | negative | Details |
TRUE | 33087 | 9140 | Total positive (-1) |
FALSE | 14592 | 29740 | Total negative (1) |
According to Table 3, we find that the deep learning model can make true prediction with accuracy of 73 percent. Also, we can use the concepts of Sensitivity (true positive rate) and Specificity (true negative rate), if we want to examine the test results separately based on the levels of the objective function (binary). Based on Table 4, true positive rate and true negative rate are 69% and 76%, respectively, in the deep learning model. That is, the model was able to correctly recognize 69% of the down trend and 76% of the uptrend. Therefore, it can be concluded that deep learning model can be a suitable approach to predict the daily price trend of companies listed in stock market using macro and intra-company variables. The results confirm the results of Sato et al. [27] on the suitability of deep learning models for predicting stock price; So, the answer to this question can be a positive answer that whether the deep learning algorithm model is a suitable model for stock price prediction?
Another evaluable result is Receiver Operating Characteristics (ROC) curve, which is created by drawing the true positive rate ratio in terms of false positive rate. A Figure 2 is continues according to the variability of its values threshold.
Fig. 2: Characteristic Curve of the Performance of Deep Learning Model
Another criterion is the AUC or the level below the Receiver Operating Characteristics (ROC) curve, indicating the detection power or correctness of a test results. The correctness of the test results depends on how well the test method is able to show the difference between the true positive (TP) and true negative (TF) results correctly. If this number is close to 1, it means that the true positive rate is high and the test method has a good detection power or correctness. According to the given details, the AUC value is equal to 80% per the test of the deep learning model, which the test has an excellent detection power based on the general rules by Hosmer. While this criterion is 77% for the neural network model, which the test has a good detection power based on the general rules by Hosmer.
Fig. 3: The Importance of Properties in Predicting the Target Variable in the Deep Learning Model
According to Figure 3, which illustrates the importance of input variables in predicting the daily stock price trend of the studied companies, we find the Close variable, which is the symbol the close price of daily trading and an intra-company variable, has the most effect on the target variable, i.e. the daily price trend as well as in the deep learning model. Then, the High variable is in lower priority, which is the symbol of the highest price of daily trading. Among the macroeconomic variables, the dollar price in free market and the total stock market index with Dollar and TEPIX symbols, respectively, are more important than other macroeconomic indexes in the daily price trend; therefore, we can refer to variables such as the close price of daily trading, the highest price of daily trading, the dollar price in free market, and the total stock market index in answer to this question: "What are the most important variables in stock price prediction based on the learning algorithm model?"
8 Conclusion and Discussion
In this study, the researcher used the model of deep learning to solve the problem of classifying the prediction of the daily stock price trend. The machine learning algorithm should be selected based on the type of classification problem as well as data volume and computational power and other related cases. Thus, the proposed algorithm was reviewed according to its prediction accuracy and modeling cost. According to the data volume, it was found that the prediction accuracy in the deep learning model has a relative superiority and the diagram of performance characteristic and AUC criteria also showed this superiority in detection power. But it is possible to consider the algorithm’s performance from another aspect, and it is the speed of convergence to model, which clearly refers to the time factor. In the modeling process, we observed that the deep learning model converges to 75% in the prediction accuracy under the same conditions for running the algorithm. By performed review, it was found that the convergence time of the deep learning model to 70% prediction accuracy is approximately 0.4 times. On the other hand, the simple neural network model should spend about 3 times in order to converge to the prediction accuracy at the level of the deep learning model. This study's results confirm the results of the research by Mehrara et al. [11], Chan [16], Lendasse et al. [31], Das and Padhy [18] and Sato et al. [27] on the satisfactorily predict of time series by deep learning model. Based on this study's results, it is suggested to use a deep learning model to predict stock price.
References
[1] Akhgar, M., Amini, P., Moradi, A., Reviewing the effect of environmental performance on the risk of stock price falls with emphasis on political relationships in the Tehran Stock Exchange, Journal of Financial Accounting Research, 2021; 13(2), 48:101-120. Doi:10.22108/FAR.2021.128585.1754
[2] Khosravi Nejad, A., Shabani Sadrpisheh, M., Linear and non-linear evaluation in predicting the stock price index in Tehran Stock Exchange, journal of financial economics (financial economics and development), 2014; 8(27):51 - 64. (in persion)
[3] Zeinaddini, Sh., Karimi, M., Khanzadi, A., Evaluating the effect of oil price shocks on the Iran stock market' performance, Journal of Financial Economics (Financial Economics and Development), 2020; 14(50):145-169.
[4] Shakeri, A., Theories and Policies of Macroeconomics, Pars Navisa Publication, 2008.
[5] Abdolmaleki, A., Hamidian, M., Baghani, A., Investigation of Fractal Property Price and Stock Returns of Tehran Stock Exchange Companies Using Nonlinear Arifma Model, Financial Engineering and Securities Management (Portfolio Management), 2020; 11(44): 207-226. (in persion)
[6] Arab Salehi, M., Kamali Dehkordi, A., Comparative Investigating of Stock Valuation Discount Models in Companies Listed in Tehran Stock Exchange, Quarterly Journal of Management Perspective, 2020; 11(33): 12-32. Doi:10.52547/jfmp.2021.215093.0
[7] Farazmand, S., Asadi, Gh., Abdeh Tabrizi, H., Hamidizadeh, M., Reviewing the mass behavior of stock prices in Tehran Stock Exchange, Quarterly Journal of Quantitative Economics, online publication from March 3. 2020. Doi:10.22055/JQE.2021.36054.2310
[8] Karimi Dastgerdi, A., Zamani Borujeni, F., A review on deep learning methods for financial market prediction, National Congress of Basic Research in Computer Engineering and Information Technology. 2019.
[9] Kiani Mavi, R., Sayadi Nik, K., Using different learning algorithms in the stock price prediction by using neural networks, Journal of Development Evolution Management, 2015; special issue:75-81.
[10] Mohammadi, M., Sadr, N., Presenting a method for predicting stock market prices with a deep learning approach (Case study: Stock market), Master's Thesis in Computer Science, Faculty of Engineering of Ishraq, Bojnourd, 2018.
[11] Mehrara, A., Atf, Z., Askari, Z., Data Mining Techniques for predicting Stock Market, National Conference on Accounting, Financial Management and Investment, 2012.
[12] Momeni, A., Mohammadi, M., Reviewing the relationship between cost stickiness and stock price crash risk in companies listed in the Tehran Stock Exchange, Journal of New Research Approaches in Management and Accounting, 2020; 62:73 -90. (in persion)
[13] Mir Hashemi Dehnavi, S. M., Asymmetric effects of oil price shocks on the stock market: Case Study: Oil Exporting Countries, Quarterly Journal of Fiscal and Economic Policies, 2015; 77: 11-711.
[14] Namazi, M., Kiamehr, M. M., Predicting the daily stock returns of companies listed in the Tehran Stock Exchange using artificial neural networks, Financial Research Journal, 2007; 115-134.
[15] Cha, K, H., Hadjiiski, L. M., Samala, R. K., et al., Blad-der Cancer Segmenttion in CT for Treatment Response Assessment: Application of Deep‐Learning Convolu-tion Neural Nework Pilot Study, Tomography A Journal for Imaging Research, 2016; 2(4):421-429. Doi: 10.18383/j.tom.2016.00184
[16] Chan, M.C., Wong, C.C., Lam, C.C., Financial time series forecasting by Neural Network using Conjugate Gradient Learning Algorithm and Multiple Linear Regression, Weight initialization, Department of computing, 2000.
[17] Chih, M. H., a hybrid procedure for stock price prediction by integrating self-organizing map and genetic programming, Expert Systems with Applications, 2011; 38: 14026-14036. Doi;10.1016/j.eswa.2011.04.210
[18] Das, S. P., Padhy, S., A novel hybrid model using teachinglearningbased optimization and a support vector machine for commodity futures index forecasting, International Journal of Machine Learning & Cybernetics, 2018; 9(1): 97111. Doi:10.1007/s13042-015-0359-0
[19] Göçken M, Özçalıcı, Mehmet, Boru A, et al., Integrating metaheuristics and Artificial Neural Networks for improved stock price prediction, Expert Systems with Applications, 2016, 44(C), P.320‐331.
Doi: 10.1016/j.eswa.2015.09.029
[20] Jie W., Wang J., Forecasting stochastic neural network based on financial empirical mode decomposition, Neural Networks, 2017; 90 :8‐20. Doi: 10.1016/j.neunet.2017.03.004
[21] Kim, K. J., Han, I., Genetic algorithms approach to characteristic discrimination in artificial neural networks for the prediction of stock price index, Published by Elsevier science, Ltd, Expert systems with applications, 2000; 19: 125 132. Doi:10.1016/S0957-4174(00)00027-0
[22]Lahmiri S., A Technical Analysis Information Fusion Approach for Stock Price Analysis and Modeling, Fluctuation and Noise Letters, 2018; 17(1): 1850007. Doi:10.1142/S0219477518500074
[23] Mahmud, M., Kaiser, M. S., Hussain, A., et al., Applications of Deep Learning and Reinforcement Learning to Biological Data, IEEE Transactions on Neural Networks and Learning Systems, 2017; 29(6):2063-2079. Doi: 10.1109/TNNLS.2018.2790388
[24] Meihua, X., Haiyan, L., Yuanjun, Z., Blockchain financial investment based on deep learning network algorithm, Journal of Computational and Applied Mathematics, 2020; 372(8):112723.
Doi: 10.1016/j.cam.2020.112723
[25] Oh, K. J., Kim, K. J., Analyzing stock market tick data using piecewise nonlinear model, Expert System with Applications, 2002; 22(3): 249–255.
[26] Pang X, Zhou Y, Pan W, et al., An innovative neural network approach for stock market prediction, Journal of Supercomputing, 2018; 76: 2098–2118. Doi: 10.1007/s11227-017-2228-y
[27]Sato M, Horie K, Hara A, et al., Application of deep learning to the classification of images from colposcopy, Oncology Letters, 2018; 15(3):3518‐3523. Doi: 10.3892/ol.2018.7762
[28]Song, W., et al., A Double‐Layer Neural Network Framework for High‐Frequency Forecasting, Acm Transactions on Management Information Systems, 2017; 7(4): 1‐17. Doi:10.1145/3021380
[29] Ubbens, J., Cieslak, M., Prusinkiewicz, P., et al., The use of plant models in deep learning: an application to leaf counting in rosette plants, Plant Methods, 2018; 14(1):6. Doi: 10.1186/s13007-018-0273-z
[30] Zhang, G.P., Time Series Forecasting Using a Hybrid ARIMA and Neural Network Model Neuro computing, 2003; 50: 159-175. Doi:10.1016/S0925-2312(01)00702-0
[31] Lendasse, A., Non-Linear financial time series forecasting application to Bell 20 stock market Index, European Journal of Economic and social system, 2000; 14(1): 81-91
[32] Park, C.H., Irwin, S.H., What Do We Know About the Profitability of Technical Analysis? , Journal of Economic Surveys, 2007; 21: 786–826. Doi: 10.1111/j.1467-6419.2007.00519.x
[33] Monajemi, S. A., Abzari, M., Rayati, A., predicting the stock price in the stock market using fuzzy neural network and genetic algorithm and comparing it with artificial neural network, Quarterly Journal of Quantitative Economics (Former Economic Studies), 2009; 6(3):1-26. Doi: 10.22055/JQE.2009.10697
© 2024. All rights reserved. |