| Literature DB >> 27196055 |
Mingyue Qiu1, Yu Song1.
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. Many factors such as political events, general economic conditions, and traders' expectations may have an influence on the stock market index. 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. The main contribution of this study is the ability to predict the direction of the next day's price of the Japanese stock market index by using an optimized artificial neural network (ANN) model. 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.Entities:
Mesh:
Year: 2016 PMID: 27196055 PMCID: PMC4873195 DOI: 10.1371/journal.pone.0155133
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1The architecture of the back propagation neural network.
Fig 2Process flow of the hybrid GA and BP algorithm.
Fig 3Plots showing the daily Nikkei 225 closing prices from January 23, 2007 to December 30, 2013.
Selected technical indicators and their formulas (Type 1).
| Name of feature | Formulas |
|---|---|
| Type 1 input variables | |
| Stochastic %K | ( |
| Stochastic %D | |
| Stochastic slow %D | |
| Momentum | |
| ROC (rate of change) | |
| LW%R (Larry William’s %R) | ( |
| A/O Oscillator (accumulation/distribution oscillator) | ( |
| Disparity in 5 days | |
| Disparity in 10 days | |
| OSCP (price oscillator) | |
| CCI (commodity channel index) | ( |
| RSI (relative strength index) |
C is the closing price and L is the lowest price of the Nikkei 225 index at time t. L is the lowest low price of the Nikkei 225 index in the last n days, H is the highest price of the Nikkei 225 index at time t, H is the highest high price of the Nikkei 225 index in the last n days. MA is the moving average of the price value in the last n days: . . Up is the upward price change of the Nikkei 225 index at time t and Dw is the downward price change of the Nikkei 225 index at time t.
Selected technical indicators and their formulas (Type 2).
| Name of feature | Formulas |
|---|---|
| Type 2 input variables | |
| OBV | |
| BIAS6 | |
V is the volume of trade of the Nikkei 225 index at time t, . PSYn is the ratio of the number of rising periods over the n day period. Variable A is number of rising days in the last n days. SY represents the return of the Nikkei 225 index at time t, SY =(ln C − ln C) × 100. ASY is the average return in the last n days.
Description of parameters that are used in the hybrid model.
| Variable | Value | Definition |
|---|---|---|
| n | 10 | number of neurons in the hidden layer of the ANN model |
| ep | 3000 | number of iterations for the hybrid model |
| mc | 0.4 | momentum constant of the ANN model |
| l | 0.1 | value of learning rate of the ANN model |
| pcro | 0.7 | crossover rate of the GA-ANN model |
| pmut | 0.2 | mutation rate of the GA-ANN model |
| popu | 100 | Initial population number of the GA-ANN model |
Comparison of the hit ratio between the two types of input variables.
| Type 1 | Type 2 | |
|---|---|---|
| 60.87 | 81.27 |
Comparison of our study with prior research reports.
| Studies | Methods | Stock market | Hit ratio (%) |
|---|---|---|---|
| Kim and Han [ | GA feature discretization | Korea | 61.70 |
| Leung et al. [ | Classification model | US, UK, Japan | 68 (Nikkei 225) |
| Huang et al. [ | SVM | Japan | 75 |
| Kara et al. [ | BPNN | Istanbul | 75.74 |
| Our study | GA-ANN hybrid model | Japan | 81.27 |