Seasonality forecasting stock market movement direction

Author: bodik76 Date of post: 18.06.2017

Discover a faster, simpler path to publishing in a high-quality journal. PLOS ONE promises fair, rigorous peer review, broad scope, and wide readership — a perfect fit for your research every time.

Learn More Submit Now. For more information about PLOS Subject Areas, click here. Total Mendeley and CiteULike bookmarks. Paper's citation count computed by Scopus.

S | The Logistics & Supply Chain Management Society

Sum of PLOS and PubMed Central page views and downloads. Sum of Facebook and Twitter activity. Affiliation Department of Systems Management, Fukuoka Institute of Technology, Fukuoka, Japan. In the business sector, it has always been a difficult task to predict the exact daily price of the stock market index; hence, there is a great deal of research being conducted regarding the prediction of the direction of stock price index movement.

There are numerous research studies that use similar indicators to forecast the direction of the stock market index. In this study, we compare two basic types of input variables to predict the direction of the daily stock market index. To improve the prediction accuracy of the trend of the stock market index in the future, we optimize the ANN model using genetic algorithms GA.

We demonstrate and verify the predictability of stock price direction by using the hybrid GA-ANN model and then compare the performance with prior studies. Empirical results show that the Type 2 input variables can generate a higher forecast accuracy and that it is possible to enhance the performance of the optimized ANN model by selecting input variables appropriately.

Qiu M, Song Y Predicting the Direction of Stock Market Index Movement Using an Optimized Artificial Neural Network Model. PLoS ONE 11 5: March 5, ; Accepted: April 25, ; Published: This is an open access article distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data on the closing values of the Nikkei can be found at the URL http: The authors have declared that no competing interests exist.

The direction of the stock market index refers to the movement of the price index or the trend of fluctuation in the stock market index in the future. Accurate forecast of the trends of the stock index can help investors to acquire opportunities for gaining profit in the stock exchange.

Hence, precise forecasting of the trends of the stock price index can be extremely advantageous for investors [ 1 ]. Leung, Daouk [ 2 ] hold the view that trading could be made profitable by an accurate prediction of the direction of movement of the stock index. Mostafa [ 3 ] also believes that accurate predictions of the direction of stock price indices are very important for investors. However, the behavior of stock markets depends on many qualitative factors such as political, economic, and natural factors, among many others.

The stock markets are dynamic and exhibit wide variation, and the prediction of the stock market thus becomes a highly challenging task because of the highly non-linear nature and complex dimensionality [ 4 , 5 ]. Forecasting of the financial index is characterized by data intensity, noise, non-stationarity, unstructured nature, high degree of uncertainty, and hidden relationships [ 6 — 8 ].

Previous studies have applied various models in forecasting the direction of the stock market index movement. Huang, Nakamori [ 9 ] forecasted stock market movement using support vector machines SVM , and concluded that the model was good at predicting the direction. Kara, Boyacioglu [ 10 ] applied Artificial Neural Network ANN and SVM in predicting the direction of the Istanbul stock exchange. Their study proves that the two different models are both useful prediction tools, and ANN is significantly better than the SVM model.

The ANN model has been popularly claimed to be a useful technique for stock index prediction because of its ability to capture subtle functional relationships among the empirical data even though the underlying relationships are unknown or hard to describe [ 12 , 13 ]. Application of ANN has become the most popular machine learning method, and it has been proven that such an approach can outperform most conventional methods [ 14 — 20 ].

In this study, we attempt to apply an ANN model to forecast the direction of the Japanese stock market index. The most popular neural network training algorithm for financial forecasting is the back propagation BP algorithm, which is also a widely applied classical learning algorithm for neural networks [ 21 — 24 ].

The BP network has been widely used in the area of financial time series forecasting because of its broad applicability to many business problems and its preeminent learning ability [ 25 ].

However, many papers have reported that the ANN model, trained by the BP algorithm, has some limitations in forecasting, and it can easily converge to the regional local minimum because of the tremendous noise and complex dimensionality of the stock market data.

In view of these limitations, genetic algorithms GA has been proposed to overcome the local convergence issue for nonlinear optimization problems.

We attempt to determine the optimal set of weights and biases to enhance the accuracy of the ANN model by using GA. The main objective of this study is to improve the prediction accuracy of the direction of stock price index movement by using the ANN model. First, we focus on the selection of the input variables for forecasting the future trend of the stock market index.

The selection of effective indicators that can be used to forecast the output variable of an ANN model is significant prior to modeling. In this study, we compare two basic types of input variables that have been widely used in previous studies to predict the direction of the daily stock market index. To evaluate the performance of these two sets of input variables, the Japanese stock market index is used as an illustrative example.

In addition, we improve the prediction accuracy according to the optimization of the learning algorithm of the ANN model. The BP algorithm is a widely applied classical learning algorithm for neural networks. However, it has significant drawbacks that need to be improved using other training algorithms.

In this study, genetic algorithm GA is employed to improve the prediction accuracy of the ANN model and overcome the local convergence problem of the BP algorithm. The empirical results suggest that the proposed method improves the accuracy further for predicting stock market direction, in comparison with previous studies. The remainder of this paper is organized as follows.

Section 2 describes the ANN model trained by the BP algorithm, and the improvement using the GA. Then, we plot the data and showcase two basic types of input variables that are used to forecast the direction, and the procedure of predicting the stock market direction in Section 3.

Section 4 provides the experimental results and compares it with similar studies. Finally, Section 5 presents the discussion and conclusion. Formulas and summary of the statistics for each feature of input variables are given in S1 Appendix. Funahashi [ 26 ], Hornik, Stinchcombe [ 27 ] have shown that neural networks with sufficient complexity could approximate any unknown function to any degree of desired accuracy with only one hidden layer.

Therefore, the ANN model in this study consists of an input layer, a hidden layer, and an output layer, each of which is connected to the other in the same sequence as listed here.

The architecture of the ANN is shown in Fig 1. The input layer corresponds to the input variables. We analyze two basic types of input variables for comparing the forecasting accuracy. The hidden layer is used for capturing the nonlinear relationships among variables. In this study, the output layer consists of only one neuron that represents the predicted direction of the daily stock market index.

seasonality forecasting stock market movement direction

The BP algorithm is a widely applied classical learning algorithm for neural networks [ 22 , 23 ]. As shown in Fig 1 , the BP process determines the weights for the connections among the nodes e. The network weights and biases are assigned initial values first, and the error between the predicted and actual output values is back-propagated via the network for updating the weights and biases repeatedly [ 28 ].

When the error is less than a specified value or when the termination criterion is satisfied, training is considered to be completed and the weights and bias values of the network are stored.

Proceedings of the International Conference on Soft Computing for Problem - Google Livres

Detailed descriptions of using the BP algorithm for training the ANN model can be found in Ref. Although researchers have commonly trained the ANN model by using the gradient technique of the BP algorithm, limitations of gradient search techniques are more apparent when ANNs are applied to complex nonlinear optimization problems [ 30 ]. The BP algorithm has two significant drawbacks, i. In view of these limitations, global search techniques, such as GA, are proposed to overcome the local convergence problem for nonlinear optimization problems.

In this study, we propose to apply the GA technique to optimize the weights and biases of the ANN model, and then predict the direction of the daily closing price movement of the stock market index.

There are many studies that have used GA-based hybrid models to overcome the drawbacks of the BP approach [ 32 — 34 ]. The results of these studies support the notion that GA can enhance the accuracy of ANN models and can decrease the time required for experimentation [ 35 ]. In this study, the GA algorithm is utilized to optimize the initial weights and bias of the ANN model. Subsequently, the ANN model is trained by the BP algorithm using the determined weights and bias values.

Fig 2 shows the procedural flow of the proposed hybrid GA and BP algorithm. The Nikkei index is the most widely used market index for the Tokyo stock exchange. It includes equally weighted stocks and has been calculated daily ever since In this study, we attempt to predict the direction of the daily Nikkei index. The research data used in this study are technical indicators that are calculated from the daily price of the Nikkei index.

The total number of samples is 1, trading days, from January to December The total 1, data points of the daily Nikkei closing cash prices in the data set are plotted in Fig 3. We divide the entire data into two parts, The in-sample data is used to determine the specifications of the model and parameters whereas the out-of-sample data is reserved for the evaluation of the model.

The financial data used in this study is obtained from Yahoo Finance. The original data are normalized before being subjected to the ANN algorithm routine. The goal of linear scaling is to independently normalize each feature component to a specified range.

It also ensures that the larger value input attributes do not overwhelm smaller value inputs, which in turn helps decrease prediction errors. The prediction performance Hit ratio is evaluated using the following equation: The variable y t denotes the actual value of the closing stock index for the i th trading day, and is the predicted value for the i th trading day.

The variable n denotes the number of test samples. In the light of previous studies, it is hypothesized that various technical indicators may be used as input variables in the construction of prediction models to forecast the direction of movement of the stock price index [ 36 ].

Most financial managers and investors agree on the efficiency of technical indicators and exploit them as a signal for forecasting future trends. On the basis of the reviews of domain experts and prior studies, we notice that most researchers prefer to choose the input variables as shown in Table 1 , whereas a few others utilize the variables of Type 2 input variables shown in Table 2.

Tables 1 and 2 list the selected features and their formulas, and we select these technical indicators as the feature subsets based on reviews of prior research studies [ 11 , 37 , 38 ]. One of the aims of this study is to conduct the experiments by using the ANN model with two types of input variables, and then compare the performance of these two experiments with prior studies.

By reviewing previously published studies [ 7 , 10 , 11 , 25 , 39 ], we set 13 technical indicators as Type 1 feature subset and 9 technical indicators as Type 2 feature subset. Tables 1 and 2 show these indicators, their formulas, and the summary of the statistics for each feature of the two types is presented in S1 Appendix.

Technical indicators of the two types of input variables are usually used to predict the future trends, and they are derived from the real stock composite index. After we finish the work of collecting the real stock composite index data and calculating the two types of input variables that we will compare in the following process, we plug in the data into the optimized ANN model to forecast the future direction of the stock market.

We conduct the prediction process as follows: First, we calculate all the indicators for the two types of input variables. Then, we normalize the data to decrease the experimental errors. Before we enter the data into the ANN model, we optimize all the weights and biases of the ANN model using the GA algorithm.

US Dollar :: The Market Oracle ::

After we finish all the experiments, the performance among the two types of input variable sets is compared with prior reports. For training the GA-ANN hybrid model, we used the in-sample data. In this section, we test the performance of the two sets of input variables by using out-of-sample data, which includes data points.

The hybrid model requires a number of parameters that can influence the performance of the model, and these parameters are described here in Table 3. First, we conducted experiments based on the initial parameter setting, which is mentioned in Table 3. Then, we tested the performance of the two types of indicators by changing the different parameter combinations of the GA-ANN hybrid model.

Table 4 shows the best performance of each type of input variables. The hit ratio denotes the percentage of trials when the predicted direction was correct.

From Table 4 , we observe that the best hit ratio for forecasting the direction correctly by applying Type 1 input variables is We conclude that Type 2 input variables are more effective in predicting the direction of the daily closing price of the Nikkei index than the Type 1 input variables.

Predicting the direction of the stock market index is an important topic for most investors. There are many studies published in the recent past that focus on the prediction of these movements. Table 5 lists out some of these prior studies that aim to predict the direction of the stock market indices using various methods. The results of this study are also compared with these research studies in Table 5.

According to Table 5 , we find that the prediction accuracy is significantly different in various studies, and our model is superior to all the other models. Thus, we consider the set of input indicators and the GA algorithm adopted in this study to be more appropriate for prediction. In light of the previous studies, many researchers have compared ANN with SVM. For example, Kim [ 21 ] applied SVM to predict the stock price index, and compare it with the back-propagation neural networks.

Their study shows that SVM outperforms BP neural networks in financial time-series forecasting. We suppose that researchers usually focus on the parameter selection of BP neural networks when they compare it with other models. If they combine the selection of input variables and the optimal adjustment of the weights and biases of the ANN model, the optimized ANN model may still provide a promising alternative to stock market prediction.

We adjusted the weights and biases of the ANN model using the GA algorithm and then tested the performance of the GA-ANN hybrid model by applying these two types of input variables and comparing the predictions with actual data. The experiments revealed that Type 2 input variables can provide better performance and the hit ratio for predicting the direction is We also compared the performance of the GA-ANN hybrid model with similar studies and the results showed that our method was more effective and resulted in higher prediction accuracy.

However, the prediction performance of this study may be improved further in three means. The first method is to combine the two types of input indicators, or test a subset of these variables.

In addition, we can include a few other variables that may affect the prediction performance. Second, optimal methods other than the GA may also be utilized to adjust the parameters of ANN model. We may even use models based on probabilistic neural networks for predicting the movement of the stock index. Lastly, we could even propose an investment strategy portfolio based on the prediction outcomes of this study for future research, practical use and further validation.

Conceived and designed the experiments: Is the Subject Area "Artificial neural networks" applicable to this article? Is the Subject Area "Stock markets" applicable to this article? Is the Subject Area "Forecasting" applicable to this article? Is the Subject Area "Finance" applicable to this article? Is the Subject Area "Neural networks" applicable to this article?

Is the Subject Area "Machine learning algorithms" applicable to this article? Is the Subject Area "Algorithms" applicable to this article?

Is the Subject Area "Genetic algorithms" applicable to this article? PLOS is a nonprofit c 3 corporation, C, and is based in San Francisco, California, US. PLOS ONE Publish Submissions Getting Started Submission Guidelines Figures Tables Supporting Information LaTeX Revising Your Manuscript Submit Now Policies Best Practices in Research Reporting Human Subjects Research Animal Research Competing Interests Disclosure of Funding Sources Licenses and Copyright Data Availability Materials and Software Sharing Ethical Publishing Practice Authorship Downloads and Translations Manuscript Review and Publication Criteria for Publication Editorial and Peer Review Process Reviewer Guidelines Accepted Manuscripts Corrections and Retractions Comments Article-Level Metrics Submit Your Manuscript Discover a faster, simpler path to publishing in a high-quality journal.

Click through the PLOS taxonomy to find articles in your field. Loading metrics Article metrics are unavailable at this time. Please try again later. Article metrics are unavailable for recently published articles. Save Total Mendeley and CiteULike bookmarks. Citation Paper's citation count computed by Scopus. View Sum of PLOS and PubMed Central page views and downloads. Share Sum of Facebook and Twitter activity. Open Access Peer-reviewed Research Article. Reader Comments 0 Media Coverage Figures.

All Figures Next Previous. Abstract In the business sector, it has always been a difficult task to predict the exact daily price of the stock market index; hence, there is a great deal of research being conducted regarding the prediction of the direction of stock price index movement.

Zhen Wang, Kyushu University, JAPAN Received: May 19, Copyright: The authors have no support or funding to report. Introduction The direction of the stock market index refers to the movement of the price index or the trend of fluctuation in the stock market index in the future.

Prediction Model Artificial neural network ANN model Funahashi [ 26 ], Hornik, Stinchcombe [ 27 ] have shown that neural networks with sufficient complexity could approximate any unknown function to any degree of desired accuracy with only one hidden layer.

The architecture of the back propagation neural network. Back propagation neural network The BP algorithm is a widely applied classical learning algorithm for neural networks [ 22 , 23 ].

Improvement using genetic algorithms GA There are many studies that have used GA-based hybrid models to overcome the drawbacks of the BP approach [ 32 — 34 ]. Experimental Design Data The Nikkei index is the most widely used market index for the Tokyo stock exchange. Plots showing the daily Nikkei closing prices from January 23, to December 30, Input variables In the light of previous studies, it is hypothesized that various technical indicators may be used as input variables in the construction of prediction models to forecast the direction of movement of the stock price index [ 36 ].

Selected technical indicators and their formulas Type 1. Selected technical indicators and their formulas Type 2. Prediction process After we finish the work of collecting the real stock composite index data and calculating the two types of input variables that we will compare in the following process, we plug in the data into the optimized ANN model to forecast the future direction of the stock market. Experimental Results Comparison of the performances between the two types of input variables For training the GA-ANN hybrid model, we used the in-sample data.

Description of parameters that are used in the hybrid model. Comparison of the hit ratio between the two types of input variables. Comparison with similar studies Predicting the direction of the stock market index is an important topic for most investors. Author Contributions Conceived and designed the experiments: Gholamiangonabadi D, Mohseni Taheri SD, Mohammadi A, Menhaj MB, editors.

Investigating the performance of technical indicators in electrical industry in Tehran's Stock Exchange using hybrid methods of SRA, PCA and Neural Networks. Therm Power Plants IEEE ; Leung MT, Daouk H, Chen A. Forecasting stock exchange movements using neural networks: Empirical evidence from Kuwait. Guresen E, Kayakutlu G, Daim TU. Using artificial neural network models in stock market index prediction.

Lee T, Chiu C. Neural network forecasting of an opening cash price index. Int J Syst Sci. Financial volatility forecasting by nonlinear support vector machine heterogeneous autoregressive model: Int J Econ Finance. Tay FE, Cao L. Application of support vector machines in financial time series forecasting. Adaptive selection of US stocks with neural nets, trading on the edge: Neural, genetic, and fuzzy systems for chaotic financial markets. Huang W, Nakamori Y, Wang S. Forecasting stock market movement direction with support vector machine.

Predicting direction of stock price index movement using artificial neural networks and support vector machines: The sample of the Istanbul Stock Exchange. Stock price direction prediction using artificial neural network approach: Vellido A, Lisboa PJ, Vaughan J. Neural networks in business: Zhang G, Patuwo BE, Hu MY.

Forecasting with artificial neural networks: The state of the art. Fernando FR, Christian GM, Simon SR. On the profitability of technical trading rules based on artificial neural networks: Evidence from the Madrid stock market.

Integrating independent component analysis-based denoising scheme with neural network for stock price prediction. Versace M, Bhatt R, Hinds O, Shiffer M.

Predicting the exchange traded fund DIA with a combination of genetic algorithms and neural networks. A general regression neural network. IEEE Trans Neural Netw. Wang Z, Wang L, Szolnoki A, Perc M. Evolutionary games on multilayer networks: Eur Phys J B. Wang Z, Kokubo S, Jusup M, Tanimoto J. Universal scaling for the dilemma strength in evolutionary games.

Wang Z, Zhao DW, Wang L, Sun GQ, Jin Z. Immunity of multiplex networks via acquaintance vaccination. VTG schemes for using back propagation for multivariate time series prediction.

Sexton RS, Gupta JN. Comparative evaluation of genetic algorithm and backpropagation for training neural networks. The roots of backpropagation: Wang Z, Andrews MA, Wu ZX, Wang L, Bauch CT. Coupled disease—behavior dynamics on complex networks: Financial time series forecasting using support vector machines.

On the approximate realization of continuous mappings by neural networks. Hornik K, Stinchcombe M, White H. Multilayer feedforward networks are universal approximators. Nonlinear neural network forecasting model for stock index option price: Chauvin Y, Rumelhart DE. Salchenberger LM, Cinar E, Lash NA. A new tool for predicting thrift failures. Lee Y, Oh S, Kim M.

The effect of initial weights on premature saturation in back propagation learning. Int Jt Conf Neural Netw. Montana DJ, Davis L. Training feedforward neural networks using genetic algorithms. Int Jt Conf Artif Intell. Kim K, Han I. Genetic algorithms approach to feature discretization in artificial neural networks for the prediction of stock price index. Nair BB, Sai SG, Naveen A, Lakshmi A, Venkatesh G, Mohandas V. A GA-artificial neural network hybrid system for financial time series forecasting.

Inf Techno Mob Commun. Jadav K, Panchal M. Optimizing weights of artificial neural networks using genetic algorithms. Int J Adv Res Comput Sci Electron Eng. Saad EW, Prokhorov DV, Wunsch DC. Comparative study of stock trend prediction using time delay, recurrent and probabilistic neural networks. Huang C, Tsai C. A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting.

Armano G, Marchesi M, Murru A. A hybrid genetic-neural architecture for stock indexes forecasting. Yixin Z, Zhang J. Stock data analysis based on BP neural network. Int Conf Commun Softw Netw. Print Print article EzReprint. We want your feedback. Do these Subject Areas make sense for this article? Click the target next to the incorrect Subject Area and let us know. Thanks for your help! Yes No Thanks for your feedback.

Archived Tweets Load more. Privacy Policy Terms of Use Advertise Media Inquiries. Publications PLOS Biology PLOS Medicine PLOS Computational Biology PLOS Currents PLOS Genetics PLOS Pathogens PLOS ONE PLOS Neglected Tropical Diseases.

Rating 4,4 stars - 854 reviews
inserted by FC2 system