You are currently viewing a new version of our website. To view the old version click .
Systems
  • Article
  • Open Access

3 December 2022

A Time Series Model Based on Deep Learning and Integrated Indicator Selection Method for Forecasting Stock Prices and Evaluating Trading Profits

,
and
1
Department of Information Management, National Yunlin University of Science & Technology, Douliou, Yunlin 640301, Taiwan
2
Department of Business Administration, I-Shou University, Kaohsiung 840301, Taiwan
*
Author to whom correspondence should be addressed.

Abstract

A stock forecasting and trading system is a complex information system because a stock trading system needs to be analyzed and modeled using data science, machine learning, and artificial intelligence. Previous time series models have been widely used to forecast stock prices, but due to several shortcomings, these models cannot apply all available information to make a forecast. The relationship between stock prices and related factors is nonlinear and involves nonstationary fluctuations, and accurately forecasting stock prices is not an easy task. Therefore, this study used support vector machines (linear and radial basis functions), gene expression programming, multilayer perceptron regression, and generalized regression neural networks to calculate the importance of indicators. We then integrated the five indicator selection methods to find the key indicators. Next, we used long short-term memory (LSTM) and gated recurrent units (GRU) to build time series models for forecasting stock prices and compare them with the listing models. To evaluate the effectiveness of the proposed model, we collected six different stock market data from 2011 to 2019 to evaluate their forecast performance based on RMSE and MAPE metrics. It is worth mentioning that this study proposes two trading policies to evaluate trading profits and compare them with the listing methods, and their profits are pretty good to investors. After the experiments, the proposed time series model (GRU/LSTM combined with the selected key indicators) exhibits better forecast ability in fluctuating and non-fluctuating environments than the listing models, thus presenting an effective reference for stakeholders.

1. Introduction

High-dimensional data lead to an increase in the complexity of interrelated components in stock trading systems, which in turn lead to the creation of complex information systems. Complex stock trading systems require understanding and modeling, and the role of data science, machine learning, and artificial intelligence in modeling stock trading. Therefore, stock forecasting and trading systems are complex information systems. Stock price forecasting is a very important issue in the financial field because accurate forecasting will bring great potential benefits to investors. Financial experts are interested in forecasting behavior models of stock prices, and investors are also interested in these patterns. In an economically frustrated and complicated investment environment, there is an urgent need to develop a tool that can reflect the future price index. For example, developing price forecasts for different stock markets and providing advice to decision makers can make investors profitable. However, time series forecasting in financial markets is considered one of the most challenging tasks in modern time series forecasting []. Many economists adopt the efficient market hypothesis (EMH), which believes that price changes are independent of the past and follow random walks []. Although there are many arguments for EMH, Abu-Mostafa and Atiya [] argued that financial markets are somewhat predictable. Although the stock fluctuations are nonlinear and non-stationary, they will cause unexpected results. Currently, the powerful computing and problem-solving capabilities of artificial intelligence can take into account relevant available information, including past trading volume and prices, to forecast stock prices. Therefore, many researchers have established and are working on effective and accurate forecast models based on artificial intelligence. There are two methods commonly used to forecast stock prices: fundamental analysis and technical indicators. The former involves macroeconomic indicators and uses them as a general assessment; however, it is difficult to apply them to a complex stock market environment. The latter obtains new signals by inputting prices and selecting technical indicators to achieve the purpose of forecasting. This study will discuss and use technical indicators to explore forecasts of stock prices.
Today, there are many tools for forecasting stock prices, but forecasting stock prices is still extremely challenging. Since it involves obtaining stock market-related data, the original data often face high-dimensional problems; hence, forecasting stock prices without data preprocessing may lead to higher computational costs or overtraining. To solve this problem, most studies have used important variables based on the variable selection method as input variables to build forecast models for reducing the dimensionality of the original data [,,,,,,]. The dimensionality reduction method reduces the dimensionality of the data to decrease the resources required for calculation and improve the performance of the model while retaining most of the information from the original data. Nobre and Neves [] applied principal component analysis to reduce high-dimensional data and used the discrete wavelet transform to model the data after dimensionality reduction, and their profit was better than that of the buy and hold strategy. Chen et al. [] used the Granger causality test to determine whether a time series has a positive impact on the forecast of another time series because this test method provides meaning to the causality of the time series. Based on the statistical test, their forecast of the stock index in the multilayer perceptron regression had a good performance.
There are many time series forecast models for stock market forecasting. Models for forecasting stock prices can be divided into two categories: statistical and machine learning models. Statistical models usually assume that stock price movements are generated linearly and follow a normal distribution, but the actual stock price movement is often not an assumption of normal distribution and linear relation. Time series statistical models include an autoregressive integrated moving average (ARIMA), generalized autoregressive conditional heteroskedasticity [], etc. One shortcoming of the traditional statistical time series model is that the data sequence needs to be stationary, but this phenomenon is inconsistent with the non-stationarity and non-linearity of stock price fluctuations. In recent years, deep learning (DL) has been a hot topic in data science, and its technologies have been successfully applied in the financial field. DL has the advantages of not requiring prior feature extraction and automatically extracting features based on deeper and more complex networks. Hence, it has more powerful computing capabilities to build models. DL technologies include fuzzy neural networks, artificial neural networks, long short-term memory (LSTM), and gated recurrent unit (GRU), and their algorithms can construct many complex forecast models based on experience with no restrictive or statistical assumptions. Therefore, this study compared DL technology with listing methods for forecasting six different stock indexes.
How can decision makers trust the recommendations of deep learning and justify them []? From previous studies, we find that the research on the stock market is quite diversified, including forecasting the volatility of stock prices, stock price trends, and stock price returns, and trying to obtain more effective forecasts. Experts have struggled to develop effective forecasting methods based on empirical evidence; regardless of the statistical model, DL and the combined time series with DL provide considerable empirical literature support. Previous studies have some limitations: (1) traditional time series models are based on data stationarity and statistical assumptions; (2) a simple time series model cannot consider multiple variables and be limited by linear relationships; (3) selecting important technical indicators using statistical test methods, which are limited by relevant assumptions and which could not guarantee the degree of correlation to stock prices; and (4) previous studies applied moving windows to forecast future data, and their results showed that the time series model would be unstable and have large errors for data forecast.
To improve the problems mentioned above, this study proposes a time series deep learning model based on integrated multiple variable selection methods for forecasting short-period stock prices. The contributions of this study are as follows:
(1)
Screen technical indicators as research variables from the literature review, and then transfer the four basic information (opening, highest, lowest, and closing price) of stock trading into the technical indicators;
(2)
Find the key variables using an integrated indicator selection method (IISM) to synthesize the chosen variable of support vector machines (linear and radial basis function), gene expression programming, multilayer perceptron regression, and generalized regression neural network;
(3)
Apply LSTM and GRU to build time series models for forecasting stock prices and compare with the listing methods, and we use one-step ahead forecasting to accurately reflect the trading situations of investors in the stock market;
(4)
Propose two trading policies to compare their profits with the listing methods, and the results can provide investors with a reference to the direction of future investment strategies.
The remaining sections of the current study are arranged as follows. Section 2 describes the relevant literature, including technical indicators, variable selection, and time series deep learning algorithms. Section 3 presents the proposed computational steps and trading policy. The experimental results and discussions are presented in Section 4. The final section presents the conclusions and future work.

3. Proposed Method

A stock price trend is considered nonlinear, uncertain, and unstable, and even financial experts cannot accurately forecast prices. Investors believe that stock investment must have a good profit to boost investors’ confidence. However, complete historical data and related literature still cannot accurately forecast stock prices. Technical analysis is a good portfolio tool that uses past prices, transaction volumes, and other available data to predict future price trends. Technical indicators from past stock data are related to the forecast stock price trend, and the rise and fall of the trend signal investors entering and exiting the stock market. Technical indicators are usually composed of lagging and leading indicators: the lagging indicators are usually used to measure trends, and the leading indicators are usually applied to buy or sell signals. Furthermore, technical indicators perform better than economic indicators for portfolio allocation []. Therefore, this study converts historical data (opening, highest, lowest, and closing prices) of the stock market into technical indicators as research variables.
Stock analysts and investors can use many technical indicators and market indicators as the basis for investment strategies, but not all technical indicators are suitable as input variables for forecast models. In the past, technical analysts used subjective judgments to determine which technical indicators were suitable for the timely reflection of data at a given time and whether the model was effective, but subjective judgments do not provide any factual evidence. Tan [] stated that the selection of stock data and technical indicators to be used would depend on the following factors: correlation between technical indicators and the stock price, availability (the data must be easily obtainable), the sufficiency of the historical databases (there must be enough sample data), periodicity of the data, and reliability of the data. Therefore, we collected six stock markets as datasets: Taiwan weighted index (TAIEX), Nikkei average index (Nikkei 225), Hang Seng index (HSI), Standard & Poor’s index (S&P 500), SSE (China A Shares), and Dow Jones industrial average (DJI). To objectively select important technical indicators, this study applies SVM, GEP, MLPR, and GRNN to screen the important indicators, and then we use the proposed IISM to synthesize the chosen indicators of SVM, GEP, MLPR, and GRNN. The reason for choosing these four models is listed as follows: (1) MLPR can perform regression based on their activation functions and it uses a high-performance method in random schemes, fitness approximation, and regression analysis []. (2) SVR is well-known in regression forecast. Previous studies applied SVR to forecast time series patterns [,] and their results were better performance in nonlinear forecasting. (3) GRNN uses a radial function as its core and has good nonlinear computing performance []; there are no model parameters to be trained and the convergence speed is fast. (4) GEP is an evolutionary algorithm and can be used in forecast problems; the advantage of GEP is that all decisions related to the growth of the tree are calculated using the algorithm itself without any manual entry [].
Although there are many time series models to forecast stock prices, there is still room for improvement. Current models have (1) assumptions for data stationarity and statistical distribution, (2) no consideration for multiple variables and handling nonlinear relationships, and (3) no strategy for comprehensively selecting important indicators. To address these problems, this study proposes a time series deep learning model based on the IISM method for forecasting stock prices and presents a trading policy to evaluate the profits of different stock markets. In comprehensively selecting important technical indicators, the current study considers that different combinations of lagging and leading indicators will impact the forecast results. We selected the most commonly used technical indicators in the past literature as research variables. Furthermore, we used support vector machines (linear and radial basis functions), gene expression programming, multilayer perceptron regression, and generalized regression neural networks to select important variables and find the key variables by IISM. In building a forecast model, we applied deep learning LSTM and GRU to build a time series model for forecasting stock prices and compare them with three intelligent time series forecast models. In other words, the proposed model is LSTM/GRU combined with the selected key indicators. Therefore, we list the research hypothesis to describe what this research expects to experiment and demonstrate as follows.
Hypothesis 1:
The proposed model based on the selected key indicators is a good forecast model for stock markets.
Hypothesis 2:
The proposed model with the selected key indicators has the best total profits.
Hypothesis 3:
The proposed trading policy has better total profits in the stock markets.

3.1. Proposed Computational Steps

To easily understand the proposed method, this section explains the five computational steps and a visualization procedure used in this study, as shown in Figure 1. The detailed calculation steps are described below.
Figure 1. Proposed computational procedure [Source: Authors’ own processing].
  • Step 1: Data collection and preprocessing
This study uses the pandas-DataReader of Python programming language [] to collect six stock markets’ data from Yahoo Finance []. The six stock markets are the Taiwan weighted index (TAIEX), Nikkei average index (Nikkei 225), Hang Seng index (HSI), Standard & Poor’s index (S&P 500), SSE (China A Shares), and Dow Jones industrial average (DJI), and their descriptions are shown in Table A1. In the data preprocessing, the collected time series data of six stock markets are from 2011 to 2019, and we used each year’s data as the dataset unit (six stock markets × nine-year datasets = 54 datasets). The dataset of each year was partitioned into the training data (from January to October) and the testing data (from November to December).
Next, the four basic data (opening, highest, lowest, and closing price) of the stock market were converted into technical indicators; however, different technical indicators had different lag periods, such as EMA(26) with 26 lag periods. To avoid missing data, the current study used the latest data from the previous year to make up the number of lag periods for calculating the technical indicators, and subsequently, we obtained the full technical indicators of each year’s data. The collected 23 technical indicators are most commonly used in the past literature as research variables and include the moving average (MA), the relative difference in percentage (RDP), BIAS, relative strength index (RSI), exponential moving average (EMA), moving average convergence and divergence (MACD), psychological line (PSY), William indicator (WMS%R), stochastic K%D, price rate of change (PROC), momentum (MO), lag period (LAG), and basic trading volume (Volume). The definitions of the detailed technical indicators are provided in Table A2.
  • Step 2: Indicator selection
To reduce the computational complexity and the high cost of the forecast model, this step introduces how to objectively select important technical indicators to solve high-dimensional problems. This study applies SVM (the kernel function is linear and RBF), GEP, MLPR, and GRNN to select important technical indicators for each year’s dataset of the six stock markets (a total of 54 datasets). These algorithms ranked the impact of 23 technical indicators on the closing price. The most important indicator took 100 as the highest score, and the other indicators were between 0 and 99 points, depending on their importance. We set a score of less than 1 as the threshold for discarding indicators because their impact is relatively small. Then, we summarized the selected indicators of five algorithms for each year’s dataset of the six stock markets (54 datasets). In Table 1, we present only the important indicators selected by the five algorithms in the 2019 DJI stock market as an example.
To find the key variables, the current study proposed a simple integrated indicator selection method (IISM) to synthesize the chosen indicators of SVM, GEP, MLPR, and GRNN. The IISM’s purpose is to join the selected indicators of the five algorithms, which is the concept of the union in set theory, to integrate the indicators selected by the five algorithms. Similarly, we used the DJI stock market in 2019 as an example to illustrate that IISM integrated the results of the indicators selected by the five algorithms, as shown in the last column of Table 1.
  • Step 3: Model building
Most stock markets usually use time series data; hence, the current step chooses two deep learning algorithms that can handle time series as a forecast model. After selecting key indicators using the IISM method of Step 2, the current step uses the selected key indicators to build a time series deep learning forecast model using LSTM and GRU algorithms (the proposed model). Furthermore, we also used LSTM and GRU algorithms based on the full indicators (23 indicators) to build a time series deep learning forecast model for comparison with the proposed model. Based on the minimum root mean square error (RMSE), in this step, we used the training data to adjust and optimize the parameters of the forecast model, and the time series forecast model was established when the optimized parameters were obtained.
  • Step 4: Forecast
In each dataset of different markets for forecast, the first 10-month period is used for initial training, and those from November to December are selected for testing. Time series forecasting describes forecasting observations at the next time step; hence, it is called one-step ahead forecasting because only a one-time step is forecasted. After the time series forecast model is established (initial training), the current step uses one-step ahead forecasting to forecast the testing data of six stock markets (a total of 54 testing data are implemented) because one-step ahead forecasts can accurately reflect the trading situations of investors in the stock market. In the forecasting process, we forecast only one observation of the testing data each time. That is: (1) when forecasting the first observation, we directly use the established model to forecast the closing price; (2) when forecasting the second observation, the first observation of the testing data will be added to the training data, and we check whether the established model has been corrected before forecasting the second one; (3) when forecasting the third observation, the first and second observations of the testing data will be added to the training data, and we check whether the established model has been corrected before making a forecast; and (4) we repeat this forecasting steps until the last observation of the testing data.
  • Step 5: Forecast evaluation
This study uses the two most common metrics in the literature, RMSE [] and the mean absolute percentage error (MAPE) [], to measure forecasting performance and compare the proposed model with the listed models. Furthermore, we use standard deviation (SD) to evaluate forecast stability. The equations of RMSE and MAPE metrics are defined as follows:
R M S E = i = 1 n y i y i ^ 2 n
M A P E = 100 n i = 1 n y i y i ^ y i
where yi denotes the actual closing price at time i, y i ^ . represents the closing price forecasted at time i, and n means the number of the testing data.
To strengthen the verification of the proposed model comparison, we compared the proposed model with the other three models (SVR, GRNN, and MLPR) based on the two metrics.

3.2. Proposed Trading Policy

Profit maximization can be based on estimates of potential profits and risks. However, designing a profit policy in a complex and volatile stock market is challeng-ing. Every investor wants a winning policy. There is no doubt that in such a complex and volatile stock market, it is not easy to design a profitable strategy. In powerful computation, it is important to use deep learning algorithms to forecast stock prices accurately. However, an accurate stock price forecast is not enough because profitabil-ity is more important for investors. To maximize profits, a good trading policy can bring investment profit, and the greatest profit is the most important thing for decision makers. Therefore, this study proposes two trading policies to compute a profitable unit; further, we also consider the stamp duty of different stock markets in this work. The stamp duty of different countries can refer to [] (HK, China, and Taiwan are 0.1%; Japan is no financial transaction tax; US is 1.5%). Trading policy 1 is as follows: (1) when the forecast rises >0, buy at the opening price of the next day; and (2) when the forecast falls <0, sell at the opening price of the next day. The first trading policy can be expressed as Equations (3) and (4), and the proposed algorithm for trading pol-icy 1 is shown in Algorithm 1.
Buy signal:
If forecast (t + 1)−actual(t) > 0, then buy the opening price of the next day
If forecast (t + 1)−actual(t) < 0, then sell the opening price of the next day
Trading policy 2 is: (1) buy the opening price of the next day when the forecast rises 1%; (2) sell the opening price of the next day when the forecast falls 1%. The second trading rule can be expressed as Equations (5) and (6).
Buy signal:
If   f o r e c a s t t   + 1 a c t u a l t a c t u a l t > 0.01 ,   then   buy   the   opening   price   of   the   next   day
Sel signal:
If   f o r e c a s t t   + 1 a c t u a l t a c t u a l t < 0.01 ,   then   sell   the   opening   price   of   the   next   day
Algorithm 1: Proposed Trading “Policy 1”
Input: forecast_close, actual_close, actual_open, forecast_length
Output: profit
  • stock = 0
  • Sig = []
  • for i in range(forecast_length) do
  •   if forecast_close[i + 1] − actual_close[i]) > 0 and stock == 0:
  •     stock += 1
  •     sig add 1
  •   elif (forecast_close[i + 1] − actual_close[i]) < 0 and stock == 1:
  •     stock −= 1
  •     sig add −1
  •   else:
  •     sig add 0
  • buy_price = 0
  • sell_price = 0
  • stock = 1
  • profit = 0
  • for i in range(forecast_length) do:
  •   If sig[i] == 1:
  •     buy_price = actual_open[i+1]
  •     stock +=1
  •   elif sig[i] == −1 and stock == 1:
  •     sell_price = actual_open[sig.index[i+1]]
  •     stock −= 1
  •     profit = profit + (sell_price-buy_price)
  •     buy_price = 0
  •     sell_price = 0−
  •   if stock == 1 and buy_price! = 0 and sell_price == 0:
  •     sell_price = actual_open[len(sig) − 1]
  •     stock −= 1
  •     profit = profit + (sell_price − buy_price)
  • return profit
  • end
The main differences between the proposed trading policy 1 and the trading policy of Chen et al. [] are that the proposed trading policy 1: (1) changes its sell signal to a buy signal, and changes its buy signal to a sell signal and (2) changes its closing price to the opening price at the trading time point. To verify, we will compare the profitability of the two proposed trading policies with the trading policy of Chen et al. [] in Section 4.3.

4. Experiments and Results

This section introduces the experimental environment, experiment and comparison, profit comparison, and discussion.

4.1. Experimental Environment

The experimental environment of this study was a computer with a GTX1650 display card, RAM 16G, and Python 3.7 installed on a Win10 system, and PyCharm was used for programming and compilation. The five forecast algorithms used in this experiment are LSTM, GRU, SVR, GRNN, and MLPR. The current experiment used Python to develop these five forecast models, and we imported LSTM, GRU, and MLPR models using the Keras suite, GRNN model with neupy, and SVR model with sklearn. Among them, adaptive moment estimation (Adam) was selected for optimizing the hyperparameters of LSTM, GRU, and MLPR, and linear and RBF kernel functions were selected for SVR. The parameter settings of the five forecast models are shown in Table 2.
Table 2. Parameter setting of the five algorithms [Source: Authors’ own processing].

4.2. Experiment and Comparison

This section describes the proposed computational steps for implementing the experiments, and we introduce these experimental results according to the key indicators, descriptive statistics, and forecast comparison as follows.
(A)
Key indicators
In selecting key indicators, the current study applies SVM (kernel function is linear and RBF), GEP, MLPR, and GRNN to select important technical indicators for each year dataset of the six stock markets, and then we use IISM in computational step 2 of Section 3.1 to find the key technical indicators from all 54 datasets (six stock markets × nine-year datasets = 45 datasets), as shown in Table 3. We found that the indicators that were not selected were RSI, PSY(12), %K, and Volume; the ones that were selected once were PSY(24), W%R, and PROC; and the ones that were selected twice were %D. Further, we observed that the indicator LAG had the highest frequency of 45 times, which is the most key indicator in all 45 datasets of this study. Secondly, EMA(26) was selected 44 times, and EMA(12) was selected 43 times. The remaining indicators are shown in Table 3. Lastly, we ranked the ordering of the 15 key indicators selected as follows: LAG > EMA(26) > EMA(12) > MA(5) > BIAS(24) > MO > MA(20) > BB up > BIAS(6) > BB down > DIF > BIAS(12) > DEM > OSC > RDP.
Table 3. Frequencies of technical indicators in all 54 datasets [Source: Authors’ own processing].
  • (B) Descriptive statistics
To understand the volatility of closing prices in different stock markets, we summarized the descriptive statistics to facilitate the understanding of the forecast ability of different forecasting models, as shown in Table 4. We observed that the standard deviation of the closing price in the DJI market from 2011 to 2015 was relatively less volatile, while it fluctuated sharply in 2017. The fluctuations in the closing prices of the S&P 500, SSE, and TAIEX were relatively stable compared to other stock markets. The closing prices in the HSI fluctuated drastically in 2011 and 2015–2019 because their standard deviations were large, and the closing prices of Nikkei 225 in 2013 and 2017 fluctuated significantly.
Table 4. Descriptive statistics of closing prices for different stock markets [Source: Authors’ own processing].
  • (C) Forecast comparison
After selecting the key indicators, the current study used all 23 indicators (full) of each dataset to forecast closing prices using the proposed model and compared them with the SVR, GRNN, and MLPR models. Based on RMSE and MAPE metrics, the forecast results of full indicators are shown in Table 5 and Table 6. We observed that the GRU model was stable with a smaller standard deviation and superior to the other four models in most of the datasets for the six stock markets. The LSTM model was the second-best model, and it performed better than the SVR, GRNN, and MLPR models.
Table 5. Forecast results of full indicators for five forecast models (RMSE) [Source: Authors’ own processing].
Table 6. Forecast results of full indicators for five forecast models (MAPE) [Source: Authors’ own processing].
As previously mentioned, the LSTM and GRU models had better performances. Hence, we compared the selected key indicators of each dataset with full indicators of the LSTM and GRU models, and the results are shown in Table 7 and Table 8. From the RMSE and MAPE metrics, the GRU combined with the selected key indicators was a better forecast model in the DJI, NIKKE225, and TAIEX stock markets. In the HSI and S&P 500 stock markets, the LSTM combined with the selected key indicators was better than the other forecast models in terms of RMSE, and it had a relatively low MAPE in the HSI stock market. In summary, the proposed model (GRU/LSTM combined with the selected key indicators) is a good forecast model for stock markets.
Table 7. Comparative forecast results between full and selected indicators (RMSE) [Source: Authors’ own processing].
Table 8. Comparative forecast results between full and selected indicators (MAPE) [Source: Author’s own processing].
From Table 4 of the descriptive statistics, the DJI, HSI, and Nikkei 225 stock markets had large volatility in 2017. Therefore, we plotted the forecast and actual closing prices of the testing data for LSTM and GRU models combined with full and selected key indicators, which are shown in Figure 2, Figure 3 and Figure 4. The results showed that the proposed combined LSTM and GRU models with the selected key indicators were the best forecast model in a large fluctuation of stock markets.
Figure 2. Four forecast models vs. actual 2017 data from the DJI [Source: Authors’ own processing].
Figure 3. Four forecast models vs. actual 2017 HSI data [Source: Authors’ own processing].
Figure 4. Four forecast models vs. actual 2017 data of the Nikkei 225 [Source: Authors’ own processing].

4.3. Profit Comparison

This section describes the application of the two proposed trading policies to the calculation of profits. We also compared these policies with the trading rules proposed by Chen et al. []. The comparitive profits of proposed policy 1 and Chen et al.’s [] trading policy are shown in Table 9, and the comparitive profits between proposed policy 2 and Chen et al.’s [] trading policy are shown in Table 10.
Table 9. Comparative profits of proposed policy 1 and Chen et al.’s [] trading policies [Source: Authors’ own processing].
Table 10. Comparative profits of proposed policy 2 and Chen et al.’s [] trading policies [Source: Author’s own processing].
Table 9 and Table 10 show that the total profits of the two proposed trading policies were better than Chen et al.’s [] in the six stock markets. To compare the total profits of trading policies 1 and 2, we summarized Table 9 and Table 10 into Table 11. The proposed model (combined GRU with the selected key indicators) had the best total profits, except for HSI and SSE (China A Shares), as shown in trading policy 1 of Table 11. In trading policy 2, the proposed combined model won the total profits in the TAIEX stock market. Figure 5 shows the total profits of trading policies 1 and 2 for the six stock markets, and it shows that the best policy was the proposed trading policy 1 in DJI, S&P 500, HSI, SSE (China A Shares), and Nikkei 225; investing in TAIEX, the proposed trading policy 2 was the best policy. In summary, we suggest using the proposed trading policy 1 in DJI, S&P 500, HSI, SSE (China A Shares), and Nikkei 225, but we recommend investing in TAIEX using the proposed trading policy 2 because investments in TAIEX must wait for a strong trading signal (forecasted rise and fall >1%).
Table 11. Total profits of trading policies 1 and 2 for the six stock markets [Source: Author’s own processing].
Figure 5. Comparative total profits of trading policies 1 and 2 for the six stock markets [Source: Authors’ own processing].

4.4. Discussion and Practical Applicability

In what follows, we discuss some major observations from the experiments and the results of the study.
(1)
Selecting key indicators
Selecting important indicators can effectively reduce computational requirements and improve forecast performance []. This study used SVM (the kernel function is linear and RBF), GEP, MLPR, and GRNN to select important indicators, and then we used the proposed IISM to find the key indicators for all 54 datasets. From Table 3, we found that the indicators PSY_12, PSY_24, RSI, %K, %D, W%R, PROC, and Volume were selected between 0 and 2 times and that these indicators had little influence on forecasting stock prices. Thus, we could carefully remove these indicators in future research. Lastly, we selected 15 key indicators and ranked them as LAG > EMA(26) > EMA(12) > MA(5) > BIAS(24) > MO > MA(20) > BB up > BIAS(6) > BB down > DIF > BIAS(12) > DEM > OSC > RDP. These 15 indicators can be merged into eight technical indicators: LAG, EMA, MA, BIAS, MO, BB, DIF, and MCAD. However, the 23 technical indicators are selected as important indicators in the nine datasets of SSE (China A Shares), and the PSY_12 and PSY_24 appear frequently.
Further, this study used the selected key indicators to test the lag period using the autoregressive distributed lag model, and the lag period and the key indicators were input into the proposed model. This did not yield better results because the technical indicators were effective in obtaining information about the gap period without excessively adding the lagged indicators. Thus, we suggest that traders and investors prioritize the above eight key indicators and add their own practical experiences in analyzing stock price trends. Further, the influence of investor psychological factors must be considered when investing in China’s A-shares.
(2)
Fluctuation and forecast ability
The volatility indicator was introduced 30 years ago, and many studies on forecasting the actual volatility of the stock market and the exchange rate have demonstrated its superior ability []. Fluctuation can be measured in a number of ways, including technical indicators (such as Cboe volatility index, BB, and average true range) and descriptive statistics (such as standard deviation and range). The current study used simple standard deviations and ranges that were both large to simultaneously determine whether the stock market has large volatility because technical indicators were used to measure the short-term volatility. From the descriptive statistics in Table 4 for 2017, the DJI, HSI, and Nikkei 225 stock markets had large volatility because 2017 was the year the market finally saw the end of a ten-year financial crisis [], and the stock market hit a record high that encouraged investor psychology again, allowing a full frenzy. Further, HSI stock fluctuated drastically from 2015 to 2019 because China’s stock market bubble occurred in 2015–2016 [], and many of China’s investors moved to the nearby Hong Kong stock market.
In forecasting, we observed that the proposed combined LSTM/GRU with the selected key indicators reduced the RMSE and MAPE, and it was the best forecast model for the large fluctuation market of 2017, as shown in Table 7 and Table 8 and Figure 2, Figure 3 and Figure 4. In a relatively stable market, the GRU combined with the selected key indicators was a better forecast model for the DJI, NIKKE225, and TAIEX stock markets, and the LSTM combined with the selected key indicators was better than the other forecast models in terms of RMSE in the HSI and S&P 500 stock markets. In summary, the results showed that the proposed model was not affected by fluctuation and non-fluctuation markets and showed good forecast ability.
(3)
LSTM and GRU advantages
Due to the rapid development of computer science, deep learning can handle many parameter problems and has higher speed, higher accuracy, and better robustness in complex situations. One of the main advantages of deep learning is that its feature layers are not designed by humans []. Conversely, features are learned from data using a universal learning procedure. The advantage of LSTM is that it can capture time information in time series data, and it can solve the disappearance of the gradients of RNN as the network layer deepens []. Furthermore, LSTM is very suitable for forecasting stock prices, and LSTM has an advantage compared to memory-free methods []. GRU is a kind of RNN proposed by Cho et al. [] and it can accelerate execution and reduce memory consumption to improve the shortcomings of LSTM []. GRU does not lose to the performance of LSTM, and it is easier to train and greatly improves implementation efficiency. From Table 5, Table 6, Table 7 and Table 8, the GRU combined with the selected key indicators is a better forecast model than the listing models for the DJI, NIKKE225, and TAIEX stock markets; hence, we are more inclined to use GRU in forecasting stock prices.
(4)
Trading policy
In previous studies, all stocks were traded at the closing price during the period []. However, this work proposes trading policy 1, in which the stocks are traded at the opening price to compute the profitable unit, and changes the concept of “buy on lows and sell on highs” to “sell on lows and buy on highs.” To verify the proposed trading policy 1, we conducted a comparative experiment, and the results showed that the total profits of the proposed trading policy 1 were better than those of Chen et al. [] in the six stock markets. Further, this study proposes trading policy 2 to verify whether we need to wait until the forecasted value rises and falls >1% and the profit is relatively high. The results showed that the proposed trading policy 2, only investing in TAIEX, had higher profits among the six stock markets. Based on the experimental results in Section 4.3, we recommend that: (1) the trading time should change the closing price to the opening price at the trading time point, (2) changing the concept of “buy on lows and sell on highs,” and (3) determining whether to wait until the forecasted value rises and falls >1%, based on the characteristics of different markets.
(5)
Research hypothesis
Based on Section 4.2 and 4.3 experimental results, this research has shown that the proposed three hypotheses are true as follows.
Hypothesis 1:
The proposed model based on the selected key indicators is a good forecast model for stock markets. Accepted, as shown in Table 7 and Table 8.
Hypothesis 2:
The proposed model with the selected key indicators has better total profits. Accepted, as shown in Table 11.
Hypothesis 3:
The proposed trading policy 1 has better total profits in the stock markets. Accepted, as shown in Table 11.
(6)
Practical applicability
  • From the market profits perspective and each year’s investment in six markets, we find the benchmarks as follows.
    (i)
    In terms of profits of six markets, we see that the Dow Jones stock market has the most profits, as shown in Table 11, and then we set the Dow Jones stock market as the benchmark.
    (ii)
    From profits of each year for six markets (as Table 9), we observe that 2019 (HSI, GRU_full), 2018 (DJI, GRU_selected), 2017 (HSI, LSTM_selected), 2016 (Nikkei, GRU_selected), 2015 (DJI, LSTM_selected), 2014 (HSI, LSTM_selected), 2013 (HIS, GRU_selected), 2012 (Nikkei, GRU_full), 2011 (DJI, GRU_selected) can be marked as benchmarks.
  • Based on the results of this study, we provide four suggestions for investors as references.
    (i)
    Consider the eight technical indicators (LAG, EMA, MA, BIAS, MO, BB, DIF, and MCAD) and add their own practical experience in analyzing stock price trends.
    (ii)
    Apply GRU combined with the selected key indicators to forecast stock prices because the proposed model can accelerate execution and reduce memory consumption.
    (iii)
    Use one step ahead to forecast stock prices because it can accurately reflect the trading situations of investors in the stock market.
    (iv)
    Employ the proposed trading policy 1 in the six stock markets and could consider the proposed trading policy 2 in the TAIEX stock market.
(7)
Opportunity costs
Opportunity cost is the potential benefit that an investor misses out on when choosing an alternative []. Understanding the opportunities that investors may miss when choosing one investment over another allows them to make better decisions. From the benchmarks of discussion, the Dow Jones stock market is a benchmark, and we calculate some simple opportunity costs based on DJI and 2018 as benchmarks, as shown in Table 12. The results show that investing in the S&P 500 instead of DJI will lose an opportunity cost of 17,669 units based on total profits of six markets; if we invest in S&P 500 but not in DJI, we will lose an opportunity cost of 3782.79 units from the total profits of six markets in 2018.
Table 12. Opportunity cost computations.

5. Conclusions

Investment has profits and risks; finding how to avoid risks and make profits is the ultimate goal of investors. Many investors have applied the relevant information systems to collect data and investment experience for ultimate gainful goals, which can bring profitable confidence. In the global investment market, stock investment is affected by many external environmental factors, and the stock market has many uncertain factors. It is difficult to correctly identify the influencing factors. Moreover, relevant factors and the stock price are nonlinear and nonstationary; hence, it is not easy to accurately forecast the stock price.
Although previous studies have proposed many forecast stock price models based on statistics and machine learning, their forecast abilities are still sub-optimal. Thus, investors need a forecasting model that has accurate time series forecast capabilities and considers the influence of different factors. Therefore, this study proposed a deep learning LSTM/GRU combined with the selected key indicators, which used a one-step ahead forecast to accurately reflect the trading situations of investors in the stock market. The experimental results show that the proposed model is not affected by fluctuation and non-fluctuation markets and shows good forecast ability. This study also proposed two trading policies to verify the validation of profits. The results show that the total profit of our proposed trading policy 1 is better than that of Chen et al. [] in six stock markets. Based on the results of this study, we list the innovative aspects as follows.
(1)
This study collects technical indicators that have appeared in recent high-quality journals and financial market transactions, and then we summarize the technical indicators that frequently recur in the collected literature as the technical indicators of this study.
(2)
This paper proposes the IISM method to integrate the results of MLPR, SVR, GRNN, and GEP indicator selection and find 15 key technical indicators. These 15 indicators can be summarized as eight technical indicators: LAG, EMA, MA, BIAS, MO, BB, DIF, and MCAD.
(3)
This study proposes the combined LSTM and GRU models with the selected key indicators are better than the listing methods in a large fluctuation of stock markets, and we use one-step ahead forecasting to accurately reflect investors’ trading situations in the stock market.
(4)
Two trading strategies are proposed, and their profits are compared with the listing methods. The results can provide investors with a reference for future investment.
Although we use the one-step ahead forecast to accurately reflect the trading situation of investors in the stock market, the limitations of this study are that the stock price forecast is a short-term forecast, and our collected stock data is daily data instead of minute-by-minute data. Future studies may collect more indicators (fundamental, economic, and commodity) from the market and literature to build a time series forecast model and combine the intelligent method with a deep learning algorithm to develop a forecast system of stock prices.

Author Contributions

Conceptualization, C.-H.C. and M.-C.T.; methodology, C.-H.C. and M.-C.T.; software, C.C. and M.-C.T.; validation, C.C., C.-H.C. and M.-C.T.; formal analysis, C.C.; investigation, C.C. and M.-C.T.; resources, C.-H.C.; data curation, C.C. and M.-C.T.; writing—original draft preparation, C.C. and M.-C.T.; writing—review and editing, C.-H.C.; visualization, C.C. and M.-C.T.; supervision, C.-H.C. and M.-C.T.; project administration, C.-H.C. and M.-C.T.; funding acquisition, C.-H.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

Adamadaptive moment estimation
ANNartificial neuro network
ARautoregressive
ARIMAautoregressive integrated moving average
BBBollinger band
BIASbias lags
DEMDemand index
DIFdifference
DJIDow Jones industrial average
DLdeep learning
EMAexponential moving average
EMHefficient market hypothesis
GEPgene expression programming
GRNNgeneralized regression neural network
GRUgated recurrent units
HSIHang Seng index
Iintegral
IISMintegrated indicator selection method
IVSMintegrated support vector machine
K%Dstochastic line
LAGlag period
LSTMlong short-term memory
MAmoving average
MACDmoving average convergence and divergence
MAPEmean absolute percentage error
MLPmultilayer perceptron
MLPRmultilayer perceptron regression
MOmomentum
Nikkei 225Nikkei average index
OSCOscillator
PROCprice rate of change
PSYpsychological line
RBFradial basis function
RDPrelative differences in percentage
RMSEroot mean square error
RNNrecurrent neural network
RSIrelative strength index
S&P 500Standard & Poor’s index
SSEShanghai Stock Exchange (China A Shares).
SVMsupport vector machine
SVRsupport vector regression
TAIEXTaiwan weighted index
Volumebasic trading volume
WMS%RWilliam indicator

Appendix A

Table A1. Six stock markets [Source: Authors’ own processing].
Table A1. Six stock markets [Source: Authors’ own processing].
Stock IndexDescription
HSIThe HSI is an important indicator that reflects the Hong Kong stock market, and the index is calculated from the market value of fifty constituent stocks of the Hang Seng Index.
TAIEXTAIEX is a weighted index of Taiwan, which is regarded as an indicator of the trend of Taiwan’s economy.
Nikkei 225Nikkei 225 is a stock price index of 225 varieties of the Tokyo Stock Exchange.
S&P 500The US Standard & Poor 500 is the average record of the US stock market since 1957, covering 500 listed companies in the US.
DJIThe Dow Jones industrial average includes the 30 largest and most well-known listed companies in the United States.
SSEThe Shanghai Stock Exchange (SSE) is one of the two Chinese A shares.
Table A2. Technical indicators used in this study [Source: Authors’ own processing].
Table A2. Technical indicators used in this study [Source: Authors’ own processing].
IndicatorDescriptionReference
MA(5) MA(20)Moving average is used to underline the direction of a trend and smooth out price and volume fluctuations, and it is defined in the following:
MA(n) = i = 1 n p r i c e t i n , where n = 5, and 20.
Kannan et al. []
BB up
BB down
A Bollinger band defined by a set of trend lines plotted two standard deviations (positively and negatively) away from a simple moving average (MA) of a security’s price.Leung and Chong []
RDP(1)The actual closing price is transformed into a relative difference in the percentage of the price, and it is defined in the following formula:
RDP(1) = p r i c e t p r i c e t 1 p r i c e t 1 × 100 .
Tay and Cao []
BIAS(6) BIAS(12) BIAS(24)Bias ratio is the difference between closing price and moving average, and it is defined in the following formula:
B I A S t = c l o s e M A t M A t , where t = 6, 12, and 24.
Chang et al. []
RSIThe relative strength index shows the most recent stock profit and loss comparison, and the purpose is to determine the overbought and oversold conditions of assets.Tsai et al. []
EMA(12) EMA(26)The exponential moving average is calculated by the weighted average from the current price to the past price, and it is defined as follows:
E M A t i = α × p r i c e t + 1 α × p r i c e t + + 1   α i p r i c e t i ,   w h e r e   α = 2 i + 1 ,     i = 12 ,   a n d   26 .
Nakano et al. []
MACD (DEM)
DIF
OSC
Moving average convergence/divergence shows the difference between the fast and slow exponential moving average of the closing price, and MACD is composed of three elements: difference (DIF), Demand index (DEM, signal line also called MACD), Oscillator (OSC). They are defined as follows:
DIF = E M A 12 E M A 26 ,   D E M = E M A 9 , and O S C = D I F D E M .
Ahmar []
PSY(12) PSY(24) The psychological line is a ratio of rising over a period, and it reflects the purchasing power relative to the sales ability. It is defined as follows:
PSY(N) = the   number   of   rising   days   in   N   days N × 100 , where N = 12, and 24.
Lai et al. []
WMS%RWilliams %R is a momentum indicator range from 0 to −100, and it is used to measure overbought and oversold levels. Williams %R can be used to find market entry and exit points, and this indicator is very similar to the stochastic %K and %D.Naik and Mohan []
Stochastic K% Stochastic D%Stochastic oscillator %K and %D are momentum indicators, which can show the position relative to the high/low range over a period of time.Chang and Fan []
PROCPercentage of price change measures the percentage change in price between the current price and the price of a certain number of periods ago.Anish and Majhi []
MO(1)Momentum measures the amount of change in security prices in a given time and displays the rate of change in stock prices, and its formula is defined as follows:
M O 1 = p r i c e t p r i c e t 1 t t 1 .
Tanaka-Yamawaki et al. []
LAG(1)The first-order lag period, and the formula is defined as follows:
LAG(1) = Price(t−1).
Chen et al. []
VolumeTrading volume is a measure of the completed transactions of specific security within a specific period of time. It measures two very important factors: market activity and liquidity.Ahmar []

References

  1. Tay, F.E.H.; Cao, L. Application of support vector machines in financial time series forecasting. Omega 2001, 29, 309–317. [Google Scholar] [CrossRef]
  2. Fama, E.F. Random Walk in Stock Market Prices. Financ. Anal. J. 1995, 51, 75–80. [Google Scholar] [CrossRef]
  3. Abu-Mostafa, Y.S.; Atiya, A.F. Introduction to financial forecasting. Appl. Intell. 1996, 6, 205–213. [Google Scholar] [CrossRef]
  4. Ariyo, A.A.; Adewumi, A.O.; Ayo, C.K. Stock price prediction using the ARIMA model. In Proceedings of the 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, Cambridge, UK, 26–28 March 2014; pp. 106–112. [Google Scholar] [CrossRef]
  5. Bao, W.; Yue, J.; Rao, Y. A deep learning framework for financial time series using stacked autoencoders and long-short term memory. PLoS ONE 2017, 12, e0180944. [Google Scholar] [CrossRef]
  6. Barak, S.; Modarres, M. Developing an approach to evaluate stocks by forecasting effective features with data mining methods. Expert Syst. Appl. 2015, 42, 1325–1339. [Google Scholar] [CrossRef]
  7. Chen, K.; Zhou, Y.; Dai, F. A LSTM-based method for stock returns prediction: A case study of China stock market. In Proceedings of the 2015 IEEE International Conference on Big Data (Big Data), Santa Clara, CA, USA, 29 October–1 November 2015; pp. 2823–2824. [Google Scholar] [CrossRef]
  8. Chong, E.; Han, C.; Park, F.C. Deep learning networks for stock market analysis and prediction: Methodology, data representations, and case studies. Expert Syst. Appl. 2017, 83, 187–205. [Google Scholar] [CrossRef]
  9. Fischer, T.; Krauss, C. Deep learning with long short-term memory networks for financial market predictions. Eur. J. Oper. Res. 2018, 270, 654–669. [Google Scholar] [CrossRef]
  10. Nassirtoussi, A.K.; Aghabozorgi, S.; Wah, T.Y.; Ngo, D.C.L. Text mining of news-headlines for FOREX market prediction: A multilayer dimension reduction algorithm with semantics and sentiment. Expert Syst. Appl. 2015, 42, 306–324. [Google Scholar] [CrossRef]
  11. Nobre, J.; Neves, R.F. Combining principal component analysis, discrete wavelet transform and XGBoost to trade in the financial markets. Expert Syst. Appl. 2019, 125, 181–194. [Google Scholar] [CrossRef]
  12. Chen, T.L.; Cheng, C.H.; Liu, J.W. A Causal Time-Series Model Based on Multilayer Perceptron Regression for Forecasting Taiwan Stock Index. Int. J. Inf. Technol. Decis. Mak. 2019, 18, 1967–1987. [Google Scholar] [CrossRef]
  13. Franses, P.H.; Ghijsels, H. Additive outliers, GARCH and forecasting volatility. Int. J. Forecast. 1999, 15, 1–9. [Google Scholar] [CrossRef]
  14. Zhang, J.; Xie, Y.; Li, Y.; Shen, C.; Xi, Y. COVID-19 Screening on Chest X-ray Images Using Deep Learning based Anomaly Detection. arXiv 2020, arXiv:2003.12338. [Google Scholar]
  15. Cowles, A., 3rd. Can Stock Market Forecasters Forecast? Econometrica 1933, 1, 309–324. [Google Scholar] [CrossRef]
  16. Neely, C.J.; Rapach, D.E.; Tu, J.; Zhou, G. Forecasting the equity risk premium: The role of technical indicators. Manag. Sci. 2014, 60, 1772–1791. [Google Scholar] [CrossRef]
  17. Peng, Y.; Albuquerque, P.H.M.; Kimura, H.; Saavedra, C.A.P.B. Feature selection and deep neural networks for stock price direction forecasting using technical analysis indicators. Mach. Learn. Appl. 2021, 5, 100060. [Google Scholar] [CrossRef]
  18. Wang, Y.; Liu, L.; Wu, C. Forecasting commodity prices out-of-sample: Can technical indicators help? Int. J. Forecast. 2020, 36, 666–683. [Google Scholar] [CrossRef]
  19. Tsai, C.F.; Lin, Y.C.; Yen, D.C.; Chen, Y.M. Predicting stock returns by classifier ensembles. Appl. Soft Comput. 2011, 11, 2452–2459. [Google Scholar] [CrossRef]
  20. Leung, J.M.J.; Chong, T.T.L. An empirical comparison of moving average envelopes and Bollinger Bands. Appl. Econ. Lett. 2003, 10, 339–341. [Google Scholar] [CrossRef]
  21. Chang, P.C.; Liao, T.W.; Lin, J.J.; Fan, C.Y. A dynamic threshold decision system for stock trading signal detection. Appl. Soft Comput. 2011, 11, 3998–4010. [Google Scholar] [CrossRef]
  22. Ahmar, A.S. Sutte Indicator: A Technical Indicator in Stock Market. Int. J. Econ. Financ. Issues 2017, 7, 223–226. Available online: https://dergipark.org.tr/en/pub/ijefi/issue/32035/354468 (accessed on 10 July 2021).
  23. Lai, H.W.; Chen, C.W.; Huang, C.S. Technical analysis, investment psychology, and liquidity provision: Evidence from the Taiwan stock market. Emerg. Mark. Financ. Trade 2010, 46, 18–38. [Google Scholar] [CrossRef]
  24. Verleysen, M.; François, D. The curse of dimensionality in data mining and time series prediction. In Computational Intelligence and Bioinspired Systems, Proceedings of the International Work-Conference on Artificial Neural Networks, Warsaw, Poland, 10–15 September 2005; Lecture Notes in Computer, Science; Cabestany, J., Prieto, A., Sandoval, F., Eds.; Springer: Berlin/Heidelberg, Germany, 2005; Volume 3512, pp. 758–770. [Google Scholar] [CrossRef]
  25. Chandrashekar, G.; Sahin, F. A survey on feature selection methods. Comput. Electr. Eng. 2014, 40, 16–28. [Google Scholar] [CrossRef]
  26. Guyon, I.; Elisseeff, A. An Introduction of Variable and Feature Selection. J. Mach. Learn. Res. 2003, 3, 1157–1182. [Google Scholar]
  27. Guyon, I.; Weston, J.; Barnhill, S.; Vapnik, V. Gene selection for cancer classification using support vector machines. Mach. Learn. 2002, 46, 389–422. [Google Scholar] [CrossRef]
  28. Van Der Malsburg, C.; Rosenblatt, F. Principles of neurodynamics: Perceptrons and the theory of brain mechanisms. In Brain Theory; Palm, G., Aertsen, A., Eds.; Springer: Berlin/Heidelberg, Germany, 1986; pp. 245–248. [Google Scholar] [CrossRef]
  29. Sezer, O.B.; Gudelek, M.U.; Ozbayoglu, A.M. Financial time series forecasting with deep learning: A systematic literature review: 2005–2019. Appl. Soft Comput. 2020, 90, 106181. [Google Scholar] [CrossRef]
  30. Lee, S.-J.; Tseng, C.-H.; Lin, G.T.–R.; Yang, Y.; Yang, P.; Muhammad, K.; Pandey, H.M. A dimension-reduction based multilayer perception method for supporting the medical decision making. Pattern Recognit. Lett. 2020, 131, 15–22. [Google Scholar] [CrossRef]
  31. Cortes, C.; Vapnik, V. Support vector machine. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  32. Yang, H.; Chan, L.; King, I. Support vector machine regression for volatile stock market prediction. In Intelligent Data Engineering and Automated Learning—IDEAL 2002, Proceedings of the International Conference on Intelligent Data Engineering and Automated Learning, Manchester, UK, 24–26 November 2002; Yin, H., Allinson, N., Freeman, R., Keane, J., Hubbard, S., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2002; Volume 2412, p. 2412. [Google Scholar] [CrossRef]
  33. Karmy, J.P.; Maldonado, S. Hierarchical time series forecasting via support vector regression in the European travel retail industry. Expert Syst. Appl. 2019, 137, 59–73. [Google Scholar] [CrossRef]
  34. Crone, S.F.; Guajardo, J.; Weber, R. The impact of preprocessing on support vector regression and neural networks in time series prediction. In Proceedings of the International Conference on Data Mining DMIN’06, Las Vegas, NV, USA, 26–29 June 2006; CSREA: Providence, RI, USA; pp. 37–42. [Google Scholar]
  35. Specht, D.F. A general regression neural network. IEEE Trans. Neural Netw. 1991, 2, 568–576. [Google Scholar] [CrossRef]
  36. Ferreira, C. Gene Expression Programming: A New Adaptive Algorithm for Solving Problems. arXiv 2001, arXiv:0102027. [Google Scholar] [CrossRef]
  37. Wang, B.; Li, T.; Yan, Z.; Zhang, G.; Lu, J. Deep PIPE: A distribution-free uncertainty quantification approach for time series forecasting. Neurocomputing 2020, 397, 11–19. [Google Scholar] [CrossRef]
  38. Box, G.E.P.; Jenkins, G.M. Time Series Analysis: Forecasting and Control; Holden-Day: San Francisco, CA, USA, 1976. [Google Scholar]
  39. Hyndman, R.J.; Athanasopoulos, G. Forecasting: Principles and Practice, 3rd ed.; OTexts: Melbourne, Australia, 2021. [Google Scholar]
  40. Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
  41. Kim, T.; Kim, H.Y. Forecasting stock prices with a feature fusion LSTM-CNN model using different representations of the same data. PLoS ONE 2019, 14, e0212320. [Google Scholar] [CrossRef]
  42. Cho, K.; van Merrienboer, B.; Bahdanau, D.; Bengio, Y. On the properties of neural machine translation: Encoder-decoder approaches. arXiv 2014, arXiv:1409.1259. [Google Scholar] [CrossRef]
  43. Wang, W.; Yang, N.; Wei, F.; Chang, B.; Zhou, M. R-NET: Machine Reading Comprehension with Self-Matching Networks; Technical Report 5; Natural Language Computer Group, Microsoft Research Asia: Beijing, China, 2017. [Google Scholar]
  44. Man, J.; Dong, H.; Yang, X.; Meng, Z.; Jia, L.; Qin, Y.; Xin, G. GCG: Graph Convolutional network and gated recurrent unit method for high-speed train axle temperature forecasting. Mech. Syst. Signal Process. 2022, 163, 108102. [Google Scholar] [CrossRef]
  45. Tan, C.N.W. A hybrid financial trading system incorporating chaos theory, statistical and artificial intelligence/soft computing methods. In Proceedings of the Queensland Finance Conference, Brisbane, Australia, 30 September–1 October 1999; Available online: http://machine-learning.martinsewell.com/ann/Tan99.pdf (accessed on 1 July 2021).
  46. The PyData Development Team, Python Programming Language. Available online: https://pypi.org/project/pandas-datareader/ (accessed on 1 July 2021).
  47. Yahoo Finance. Available online: https://finance.yahoo.com/ (accessed on 10 July 2021).
  48. Financial Transactions Taxes around the World. Available online: https://cepr.net/report/financial-transactions-taxes-around-the-world/ (accessed on 10 November 2022).
  49. Chen, Y.S.; Cheng, C.H.; Chiu, C.L.; Huang, S.T. A study of ANFIS-based multi-factor time series models for forecasting stock index. Appl. Intell. 2016, 45, 277–292. [Google Scholar] [CrossRef]
  50. Chang, C.-C.; Lin, C.-J. LIBSVM: A library for support vector machines. ACM Trans. Intell. Syst. Technol. 2011, 2, 1–27. [Google Scholar] [CrossRef]
  51. Busch, T.; Christensen, B.J.; Nielsen, M.Ø. The role of implied volatility in forecasting future realized volatility and jumps in foreign exchange, stock, and bond markets. J. Econom. 2011, 160, 48–57. [Google Scholar] [CrossRef]
  52. Ending 10-Year Financial Crisis. 2017. Available online: https://www.marketwatch.com/story/financial-crisis-is-now-officially-over-and-heres-the-chart-that-proves-it-2017-12-01 (accessed on 10 July 2021).
  53. China’s Stock Market Crash: One Year Later. 2016. Available online: https://www.forbes.com/sites/sarahsu/2016/07/13/chinas-stock-market-crash-one-year-later/?sh=63a9e1335503 (accessed on 10 July 2021).
  54. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef]
  55. Shi, Y.; Li, W.; Zhu, L.; Guo, K.; Cambria, E. Stock trading rule discovery with double deep Q-network. Appl. Soft Comput. 2021, 107, 107320. [Google Scholar] [CrossRef]
  56. Du, N.; Yan, Y.; Qin, Z. Analysis of financing strategy in coopetition supply chain with opportunity cost. Eur. J. Oper. Res. 2022, 305, 85–100. [Google Scholar] [CrossRef]
  57. Kannan, K.S.; Sekar, P.S.; Sathik, M.M.; Arumugam, P. Financial stock market forecast using data mining techniques. In Proceedings of the International Multiconference of Engineers and Computer Scientists, Hong Kong, China, 17–19 March 2010. [Google Scholar]
  58. Nakano, M.; Takahashi, A.; Takahashi, S. Generalized exponential moving average (EMA) model with particle filtering and anomaly detection. Expert Syst. Appl. 2017, 73, 187–200. [Google Scholar] [CrossRef]
  59. Naik, N.; Mohan, B.R. Optimal feature selection of technical indicator and stock prediction using machine learning technique. In Proceedings of the International Conference on Emerging Technologies in Computer Engineering, Jaipur, India, 1–2 February 2019; Springer: Singapore, 2019; pp. 261–268. [Google Scholar] [CrossRef]
  60. Chang, P.C.; Fan, C.Y. A hybrid system integrating a wavelet and TSK fuzzy rules for stock price forecasting. IEEE Trans. Syst. Man Cybern. Part C Appl. Rev. 2008, 38, 802–815. [Google Scholar] [CrossRef]
  61. Anish, C.M.; Majhi, B. Hybrid nonlinear adaptive scheme for stock market prediction using feedback FLANN and factor analysis. J. Korean Stat. Soc. 2016, 45, 64–76. [Google Scholar] [CrossRef]
  62. Tanaka-Yamawaki, M.; Tokuoka, S. Adaptive use of technical indicators for the prediction of intra-day stock prices. Phys. A Stat. Mech. Appl. 2007, 383, 125–133. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.