Impact of Technical Indicators and Leading Indicators on Stock Trends on the Internet of Things

The Internet of things (IoT) has had an enormous impact on the ﬁ nancial industry. With IoT, people can obtain real-time ﬁ nancial information; moreover, investment and ﬁ nancial management have become more ﬂ exible and diverse. Because of their high returns and strong liquidity, stocks have become essential commodities through which people invest and manage money. However, high returns are often associated with high risks. Therefore, it is important for investors to forecast the trends of future stock prices. This study uses a new stock trend prediction framework to predict changes in the stock price direction on the next trading day using data from the past 30 trading days. This framework uses two-dimensional convolutional neural networks to classify stock prices into three categories: up, down, and ﬂ at. In addition, to analyze the in ﬂ uence of di ﬀ erent types of input on the prediction model, historical data, futures, options, technical indicators, and mixed data are taken as the model ’ s input. Experiments on US and Taiwan stocks proved the validity of the prediction model. The method proposed in this study is compared with buy-and-hold and random choice trading strategies. Results show that the model ’ s pro ﬁ tability is better than the two baseline strategies.


Introduction
The rapid development of the Internet of things (IoT) [1,2] technology has intricately connected all things possible, bringing in efficiency and vitality to all walks of life [3,4]. Now, IoT has been used in various environments [5][6][7]. In the financial industry, financial risks [8], fraud [9], and crises [10,11] can be detected in time through IoT. In addition, investors can obtain real-time financial information through IoT to invest in appropriate instruments [12]. The financial market is an integral part of social and economic development. Changes in the financial market reflect changes in an economy's operations. As a prominent financial exchange center, the stock market also plays an essential role in society and the economy. Therefore, research and forecasting of stocks have been an appealing topic to many scholars and investors.
Early econometric researchers mainly used the timeseries analysis method in stock price prediction research. They used statistical means to analyze and model past stock prices to identify potential stock price patterns. Classical algorithms include the autoregressive and moving average (ARMA) model [13], autoregressive integrated moving average (ARIMA) model [14], generalized autoregressive conditional heteroscedasticity (GARCH) model [15,16], and the fusion of several statistical models [17,18]. However, these statistical models have specific preconditions for the series: the ARMA model requires a stationary series, the ARIMA model requires the series to be stationary after difference, the GARCH model requires the series to be stationary, and the residual of the sequence is a pure random series with zero mean and heteroscedasticity. Stock price series are usually nonstationary or difference-stationary. Although the difference can make the nonstationary series stationary, it loses the time-series correlation.
In the 1980s, there was an upsurge in machine learning research worldwide and machine learning technology developed rapidly in various fields. Various shallow machine learning models have been widely used, such as support vector machines (SVM) [19,20]. These studies show that machine learning is feasible for stock forecasts. Subsequently, some researchers combined the metering economic model with the machine learning model [21,22], attempting to obtain the advantages of the two types of methods, thereby achieving better predictive performance. However, it is challenging for conventional shallow machine learning models to fit the complex stock-forecasting problem. In the 21st century, with the advent of big data and advanced computer technology, deep learning technology has gained importance. As complex nonlinear functions can be fitted and features can be extracted automatically, deep learning is a promising method for predicting stocks. Convolutional neural networks (CNNs) [23] and long short-term memory (LSTM) [24] are most frequently used in stock-forecasting research. Numerous studies have shown that deep learning models outperform classic machine learning models [25][26][27].
Most previous deep learning models use the historical data of stocks to predict stock prices. However, the stock market is ineffective and investors are not rational. Therefore, the historical prices of stocks cannot fully reflect the future change trends of stocks and the predictive ability of the model using only historical stock price data is limited. Researchers have added macrofinancial information [28], financial news [29], and social media sentiment [30,31] to the input characteristics to resolve this limitation. However, economic news and social media sentiments tend to lag. By the time the information is released on the social network, the event's impact on the stock price would have taken effect, and the stock price would have begun to correct. Moreover, the cost of obtaining accurate and valuable information is high.
This study uses a two-dimensional convolutional neural network (CNN) prediction framework. It can capture the correlation between features and the time dependence of the features. In addition, this study uses historical stock data, technical analysis indicators, and leading indicators (futures and options) as inputs for the forecasting model. To a certain extent, technical analysis and leading indicators reflect future changes in stock prices. Leading indicators change the trend before the stock prices change, which can send market signals in advance, and technical indicators can reflect the inherent connotation of the stock market. In addition, we experimented and analyzed the effects of different input information on the prediction performance and profitability of the model. Furthermore, we discuss the input characteristics that are more appropriate in various stock markets. The main contributions of this study can be summarized as follows: (1) A three-classification framework based on CNN is used to predict the change direction of stock price. It uses historical data, technical indicators, and leading indicators as input. Compared with previous work, it increases the number of influencing variables and decreases the lag.
(2) Experiments are conducted with different inputs on different stock data and the influence of different inputs on the prediction results is analyzed.
(3) Stock trading was simulated to calculate the rate of return and compare the proposed prediction framework with buy-and-hold and random choice strategies. The results show that the proposed prediction framework is better than the two baseline strategies.
The remainder of this paper is organized as follows. Section 2 briefly reviews the applications of machine learning and deep learning to stock forecasting. Section 3 introduces stock forecasting, data processing, and the framework of the proposed forecasting method. Section 4 presents the experimental setup and results. Finally, Section 5 summarizes the results.

Related Work
This section reviews recent research on the application of machine learning in stock forecasting, mainly in stock price trend forecasting. These studies can be divided into traditional machine learning and deep learning research, as described in Subsections 2.1 and 2.2, respectively. Table 1 presents a brief overview of this section.

Traditional Machine Learning in Stock Forecasting.
Traditional machine learning methods, such as support vector machine (SVM), random forest (RF), and artificial neural network (NN), have been widely used and have achieved relatively accurate results in stock forecasting.
Kara et al. [32] used NN and SVM to predict the Istanbul Stock Exchange's National 100 Index (ISE 100). They used ten technical indicators, such as 10-day simple moving average, 10-day weighted moving average, and momentum, as inputs. The experimental results showed that NN has a better prediction performance than SVM. Ballings et al. [33] collected yearly data from 5767 listed European companies. They used various machine-learning techniques to predict stock movements one year later than one day later. Among these methods, RF was the best predictor, followed by SVM, kernel factory (KF), AdaBoost, NN, and k-nearest neighbor (KNN). The worst was logistic regression (LR). A wavelet neural network (WNN) is a variant of a neural network. It used a wavelet base instead of a nonlinear sigmoid function in the hidden layer. Fang et al. [34] used WNN to predict the next trading day's opening price; they also used genetic algorithms (GA) to find the best parameters and weights.
As the prediction performance of a machine learning model largely depends on the input features, researchers have used various feature selection methods to extract the best feature subset to improve the accuracy of the prediction model. Ni et al. [35] proposed a fractal feature selection SVM prediction model, which combined the fractal dimension with the ant colony algorithm (ACO) for feature selection of 19 technical indicators and then used SVM for prediction. They compared their method with five featureselection methods: Information gain, symmetrical uncertainty, ReliefF, correlation-based feature selection, and OneR. Finally, it was proved that the SVM could obtain higher precision with relatively few features using the fractal 2 Wireless Communications and Mobile Computing feature selection method. Lin et al. [36] first used a correlation-based SVM filter to rank and select technical indicators to generate feature subsets and weights and then used a quasilinear SVM to predict the Taiwanese stocks.
As is well known, if there are N features, we can obtain 2 N − 1 combinations. When the feature dimension is extremely high, the number of combinations increases exponentially. Traditional feature selection methods are timeconsuming and prone to a "combinatorial explosion" of search. Therefore, many intelligent optimization algorithms have been developed to solve these complex optimization problems. Göçken et al. [37] used two heuristic algorithms, genetic algorithm (GA), and harmony search (HS) to select the optimal feature subset from 45 technical indicators and then used NN for stock closing price prediction. The heuristic algorithm also determines the number of hidden layer neurons. The experiment on the BIST 100 Index showed that the hybrid model using an intelligent optimization algorithm has a better prediction performance than an ordinary NN. Yun et al. [38] also used the GA for feature selection. However, they extracted the best feature subset from historical price data and technical indicators and used XGBoost as a predictor.

Deep Learning in Stock
Forecasting. Deep learning has been one of the most used stock forecasting methods in recent years. Among various depth learning models, CNNs and recurrent neural networks (RNNs) are two essential models for time-series prediction.
Gunduz et al. [39] used a two-dimensional (2D) CNN to predict the daily stock price trend of the BIST 100 Index. They proposed a CNN-Corr classifier, which rearranged the features according to the correlation between the fea-tures and then input the rearranged features into the CNN for prediction. Hoseinzade and Haratizadeh [40] proposed a CNNpred architecture with two variations, 2D-CNNpred and 3D-CNNpred. 2D-CNNpred was aimed at training a general model for all markets using historical data and technical indicators. 3D-CNNpred trains a model for each market by adding market dimensions to consider the correlation between different stock markets.
Kamalov [41] used NNs to predict significant changes in stock prices. They set a threshold of significance and used NNs to predict when stock prices would exceed that threshold. They also compared the RF and RSI models with NN models, CNN, LSTM, and MLP. The results showed that the NN model is more accurate at predicting significant changes in asset prices than other methods. LSTM is best as it is suitable for processing time series. CNN followed because it could extract the spatial relationships between the data. Wu et al. used stock futures and options data as additional information. They conducted experiments on CNN [42], LSTM [43], and hybrid models of CNN and LSTM [44]. Experiments proved that futures and options data made sense for predicting stock prices and the prediction performance of the hybrid model was better than that of the single model.
In addition to CNN and RNN, other deep learning models have been applied to stock forecasts. Ding et al. [45] constructed a new neural tensor network (NTN) to extract meaningful information from news texts and predict the impact of news events on stock prices for better trade. Yoo et al. [46] proposed a new stock movement prediction method, data-axis transformer with multilevel contexts (DTML). This method considers the influence of a stock's historical data on its future prices. It takes advantage of the

Methodology
This section details the problem definition, data processing method, and the proposed stock prediction framework. In addition, historical data, futures, options, and technical indicators are described. Figure 1 shows the stock price trend prediction process used in this study. First, the original data, which refers to historical data, futures, options, technical indicators, or combinations, were processed. Samples were then collected from the processed data and divided into training, verification, and test sets. These samples were then input into the prediction model. The details of the dataprocessing method and model architecture are introduced later.

Problem Definition.
In actual investments, investors do not buy or sell stocks on the rise or fall of stock price. They only buy or sell stocks when the stock price goes up or down beyond their set limits. Therefore, the two-category model that predicts whether future stock prices will rise or fall is unable to meet the problem requirement. Therefore, the stock forecast is defined as a three-category problem in this study to predict the future stock price rise, fall, or no rise or fall. In other words, it predicts the buy, sell, and hold signals. However, investors have different risk preferences; therefore, they set different boundaries. Steady investors can tolerate lower losses. They prefer relatively stable to high profits. In contrast, active investors can tolerate greater risks because they know that higher returns often accompany higher risk. Thus, stock prices can be divided into rising, falling, and flat categories by setting thresholds for rising and falling. In this study, the direction of stock price change is defined as follows: where y i is the price direction on trading day i, c i is the value of the change in the closing price on trading day i, upperbound is the rising threshold, and lowerbound is the falling threshold. c i can be calculated as follows.
where p i is the closing price on trading day i. For the closing price sequence of a stock, P = fp 1 , p 2 , p 3 , ⋯, p N g, where N denotes the number of trading days. Stock price change The traders can set these two thresholds. In particular, when upperbound = lowerbound = 0, it is equivalent to a binary classification model.
where d is the number of past days and m is the dimension of the input features. The problem is to predictŷ t+1 , the price change direction of the next trading day, using data matrix X t .

Data and Preprocessing.
This section explains the data used in this study and how they were handled. The data included historical, futures, options, and technical indicators.
3.2.1. Historical Data. These refer to certain basic information for stock trading. The properties are as follows. The opening price refers to the transaction price of the first transaction per share after the trading day's opening. The highest/lowest price is the highest/lowest of all transaction prices on the current trading day. Close price is the weighted average price of all transactions in a minute before the last transaction of the trading day. Transaction volume is the trading quantity of a trading day. Factors that have influential stocks are reflected in historical prices. Moreover, the price of stocks has certain regularities. Hence, finding potential laws from historical stock data can help predict future share prices.

Futures.
It refers to the futures contract. Like stocks, futures contracts also have opening price, highest price, lowest price, closing price, and trading volume. Futures reflect investors' expectations for stock prices. The futures contract agrees to deliver assets at a specified price over a period of time. The trader must perform the contract at the agreed price on the delivery date, regardless of the current stock price. When the futures contract expires, the stock price rises or falls, and there will be some futures contracts that are Wireless Communications and Mobile Computing higher than or lower than the current stock price. Therefore, near delivery days, traders will long or short futures for cash out so that the futures price and the spot price gradually converge. Therefore, futures can help predict stock prices.

Options.
Like futures, options are also a type of contract. However, options trade not in material object assets but in the right to buy or sell. The options market deals with the right to buy or sell a certain number of commodities agreed in the contract at a specific price within a certain period. There are two types of options: call options and put options. A call option is a right to buy and a put option is a right to sell. The options owner can choose to exercise or not exercise or sell the right. When investors are optimistic about a stock, they will buy the call options of the stock in the options market; otherwise, they will buy put options. Therefore, options trading can reflect investors' sentiment to a certain extent. These data are helpful for predicting stock prices, especially futures and options data, which are leading indicators that change before the price of a stock. In the original data-set, the features had different orders of magnitude. Features of a larger order of magnitude dominate the predictive model results. Correspondingly, a small order-of-magnitude feature has little effect on the results. However, small-magnitude features may also be critical. Therefore, to eliminate the adverse effects of different orders of magnitude, the data must be normalized or standardized to scale in a specific range. This study used a sliding window method to normalize and generate samples. Algorithm 1 shows the method. Each sample includes data from the past d trading days, normalized using the maximum, minimum, and average values of the past T trading days (Lines 3 to 9).
The stock series has autocorrelation, which decays over time. Therefore, to select the appropriate T, autocorrelation function (ACF) graphs and partial autocorrelation function (PACF) graphs are drawn and partially shown in Figure 2. In the ACF graph, the x-axis coordinate represents the order of delay. The y-axis coordinates represent the autocorrelation coefficient between the closing price sequence S t = fp x+1 , p x+2 , ⋯, p t g and the closing price sequence of delay x-order S t−x = fp 1 , p 2 , p t−x g. In the PACF graph, the x-axis coordinates represent delay order. The y-axis coordinate represents the autocorrelation coefficient between the closing price y t and the closing price of the delayed x-order y t−x after excluding the influence of the middle x − 1 intermediate variables. The blue area in the figure represents the error band and the data in this area are considered to be insignificant. As shown in Figure 2, the influence of the closing price history on the current closing price decays over time, and this effect is cyclical. Careful consideration sets T to 30, that is, sets the length of the historical data to 30 days. Moreover, d is set to 120, which is approximately the number of trading days in half a year.

Model Architecture.
In this section, we describe the structure of the proposed predictive model. In this study, a two-dimensional CNN was used. Figure 3 illustrates the model framework.
This model consists of two parts: convolution and full connection. The convolution part was used for feature  [47] in 2015 to solve the lag of the moving average. It is smoother than the general moving average and more sensitive to price changes. The formulas are as follows: HMA n ðpriceÞ = WMA ffiffi 3.3.1. Input Layer. The input layer treats the input tensor as an image with shape (d, m,1). d is the number of the past trading days, representing the model using the data of the past d days for prediction. m is the dimension of the input feature.

Convolutional
Layer. The convolution layer implements convolution operation on the input feature map to obtain local information. The two-dimensional tensor x L ∈ ℝ H L ×W L represents the L layer input of the CNN. x L u,v is the element in row u and column v of this tensor. The convolution operations can be represented by Equation 3.
The convolution kernel of this layer is w ∈ ℝ H×W , w i,j is the value in row i column j of the convolution kernel, and b is the bias term. W and H are the width and height of the convolution kernel. The convolution kernels are generally square. Figure 4 shows an example of a convolution Input: X: X = fX 1 , X 2 , ⋯, X N g, raw data; T: sliding windows length; d: length of time period; Output: sample set S: 1: initial i = T; 2: repeat 3: mean = meanðX i−T+1 , ⋯, X i Þ;  Wireless Communications and Mobile Computing operation with a bias of 0. In this example, 2 × 1 + 1 × 0 + 3 × 1 + 0 × 1 + 3 × 1 + 1 × 0 + 2 × 0 + 2 × 0 + 1 × 1 = 9. Similarly, other values can be obtained. The convolutional layer contains multiple convolutional kernels. After the convolution operation, each convolution kernel extracts a type of feature and generates a new feature map. The convolution layer is used to extract features in this way. After the convolution operation, the activation function is also required, which adds nonlinearity to the network so that the network can fit nonlinear problems. The activation function uses ReLU. The formula is shown in Equation 4.
3.3.3. Pooling Layer. It is also called the downsample layer. It mainly uses the pooling operation to select features. There are two kinds of pooling operations: max and average pooling. The example is shown in Figure 4. Max (average) pooling takes the maximum (average) of all values in the region covered by the pooling kernel as a result.

Fully Connected Layer.
It integrates the local information extracted from the convolution layer or pooling layer and then maps the learned features to the sample label space. The operation in Equation (5) is carried out in the part of the full connection.
where σ is the activation function (ReLU, Softmax), i is a neuron in the L layer, L is a neuron in the L + 1 layer, x L i is the value of unit i, w i,j is the weight of neuron i connected to neuron j, and b is the bias term. The Softmax activation function is used for classification in the last fully connected layer. Equation (6) shows the formula.
where x i is the output value of neuron i, and C is the number of categories. It produces a value between 0 and 1, representing the probability of being classified as a class.

Batch Normalization Layer.
Before executing the activation function, a batch normalization layer is added to improve the network performance. In 2015, Ioffe and Szegedy [48] first proposed batch normalization to alleviate the gradient dispersion problem of deep network, make the network more stable, and speed up the convergence speed of the model. Currently, it is widely used and has attracted extensive attention.
3.3.6. Dropout Layer. Dropout can effectively prevent overfitting. It will randomly discard some neurons during training to avoid the model falling into the optimal local solution. However, dropouts are not preferred in most networks after batch normalization is presented because Ioffe and Szegedy [48] have found that adding dropout to networks containing batch normalization often degrades network performance.    Wireless Communications and Mobile Computing Therefore, Li et al. [49] recommended adding the dropout after all batch normalization layers. Therefore, this study adds a dropout layer before the output layer.
The method first processes the feature matrix into feature images and then the feature images are input into the prediction model for training and testing. The goal of model training is to minimize classification errors. The errors are expressed in Equation (7).
where C denotes the number of categories. For the training data, the Adam optimization algorithm was used to minimize the loss of all samples.

Experiments
This section presents the experimental setup and results. For stock forecasting models, profit is of significance. Therefore, simulated transactions were also conducted to evaluate the model's profitability. In addition, the forecasting model was compared to other trading strategies.

Experimental Settings.
To analyze the influence of different input data on the prediction models, ten stocks were selected to conduct experiments, five of which are from the US market and five from the Taiwan market. In addition to historical data, the five US stocks have options, and the five Taiwan stocks have both options and futures. Data were collected from Yahoo Finance (http://finance.yahoo.com) and Taiwan Fubon Securities (https://www.fubon-ebroker .com). Options data are collected on each trading day for the 11 pairs of calls and puts closest to the spot price. The stock symbols and names of the companies are listed in Table 3. After collecting and collating the data, a threshold setting method based on historical data was used to ensure that the sample categories of the training set were balanced. First, according to the change sequence in the past period, we find the upperbound and lowerbound such that the number of samples classified as rising, falling, and flat in this time range is approximately equal. Then, the new data are classified with the determined upperbound and lowerbound. Next, the data are marked and preprocessed using the aforementioned methods. The data were then split into training, validation, and testing sets. Owing to the characteristics of the time series, the splitting of the datasets is in chronological order. The first 80% were training sets, the next 10% were validation sets, and the last 10% were test sets. The price trend of the dataset is shown in Figures 5 and  6. The methods in this study used Python and Keras implementations.
The purpose of forecasting stock trends is to make a profit, so the profitability of the forecasting model is important. This study uses a simple trading strategy to buy stocks at low prices and then sell them at high prices. Algorithm 2 presents the pseudocode. If the stock price of the next trading day is predicted to rise, all funds are used to purchase stocks, and then the number of shares and remaining funds is calculated (Lines 3 to 5). The stocks are maintained until the stock price of the next trading day is predicted to decrease. Then, all shares are sold and the current funds are calculated (Lines 8 to 10). This process is repeated until the end of the period (Line 18). The total assets are calculated if the shares are still held (Lines 19 to 21). Finally, the rate of return is calculated (Line 22). Then, the buyand-hold (B&H) and random choice (RC) trading strategies are used as the baseline to compare profit levels. The buyand-hold strategy buys the stock at the beginning of the testing phase, holds it until the end of the testing phase, and sells it. The random choice strategy decides to buy, sell, or maintain the same probability.

Experimental
Results. This section presents the results for ten stocks using different input data. After combining the different data types, there are seven types of input data for US stocks and 15 types for Taiwan stocks. Experiments were conducted on ten stocks using different inputs. Figures 7-10 show a comparison of the model accuracy and profit rate of different inputs, where "H" represents historical data, "F" represents futures, "O" represents the options, and "T" represents technical indicators. The other symbols are combinations of the four types of data. The experimental results show that the performance of the model and the return on the test set vary significantly with different inputs and the appropriate inputs are different for different stocks.
Overall, using technical indicators as input, predictive models can obtain better results for the five US stocks, especially AAPL. The US stock market is mature and dominated by institutional investors. Stock price is related to a company's performance and investor sentiment about the stock. In addition, stock price fluctuations are relatively stable, with no sharp rise or fall, and the price trend is relatively smooth. Technical indicators are useful tools for traders to make decisions. They can identify current trends more quickly and help predict future trends. Therefore, the technical indicators can improve the accuracy of the model.  8 Wireless Communications and Mobile Computing In five Taiwan stocks, using historical data and futures or futures, options, and technical indicators as input, the model's performance is better, with an accuracy of 0.4 or more. Taiwan's stock market is still immature, with more retail investors and speculators in the market. Moreover, stock prices fluctuate widely. Futures react to the expected stock prices by traders. If the trader is bullish on a stock, he or she will buy a certain number of stock futures at a specific price and sell it at a high price when the stock price rises. However, if the trader is bearish about a stock, he/she will sell futures, and if the stock price falls, he/she buys it at a low price. When investors buy many futures, futures prices rise; conversely, when they sell many futures, futures prices fall. Therefore, futures price changes can signal stock price  Wireless Communications and Mobile Computing changes. Thus, using futures price movements as additional information can improve stock prediction performance.
Surprisingly, it is not always that the more the dimensions of the model's input data, the better the performance. For example, in the case of FB stocks, the accuracy of the model is lower than that of a single input when futures and options data are taken as input. A similar situation exists for the other stocks. There are two possible reasons for this.
First, the data may have included some unrelated information for the model. These may have added noises that could have affected the model's performance. Second, the amount of data used was small. In model training, the sample size was small, but the feature dimension was large, and the model overfits the training sample, thus reducing the generalization ability. Collecting more data or using data enhancement methods can alleviate this problem.

Wireless Communications and Mobile Computing
In terms of stock profits, the profit of the CNN prediction model is almost always better than the two baseline strategies. However, the model's profit with high prediction accuracy is not necessarily high. For example, in AMZN stock, using historical data and technical indicators, the model's prediction accuracy is the highest, reach-ing 55%. Nevertheless, in simulated trading, the yield using only futures data was the highest. Using historical data and technical indicators on five stocks in the US and futures or options on five stocks in Taiwan, the income obtained is not necessarily the highest, but is relatively stable.

Conclusion and Future Work
In this study, a three-class stock-forecasting model was proposed. By setting the rising and falling thresholds, stock prices were divided into three categories: up, down, and flat. The forecasting model used data from the past 30 trading days to predict whether the stock price volatility will exceed the threshold on the next trading day. If the change value of the stock price exceeds the threshold, a signal will be given to the investor to help in their decision. Subsequently, this study used historical data, leading indicators, and technical indicators as the model's input and analyzed the influence of different input data on the model. Experiments were conducted on ten stocks in the US and Taiwan stock markets. The results show that future stock trends can be predicted using technical index data. In the US market, the accuracy of the model can be improved by adding technical index data. In the Taiwanese market, futures data are even more helpful. In addition, the simulation transaction experiment further proves that the prediction model is profitable. In the future, the structure of the model can be improved to improve the prediction accuracy further and provide more reliable results for investors. In addition, it is not always that more data added will lead to better prediction. Additional data may introduce noise or overfitting in the models. Therefore, feature selection methods can be used to select important features. Additionally, in the trading simulation, all funds are used to buy or sell all the stocks. Designing a better trading strategy to help investors determine the share of each transaction can result in a higher, more stable return. Moreover, a complete trading system can be built by combining a predictive model with trading strategies and risk assessments.

Data Availability
No data were used to support this study.

Conflicts of Interest
The authors declare that they have no conflicts of interest.