Abstract
Trading signal detection is a very popular yet challenging research topic in the financial investment area. This paper develops a novel method integrating piecewise linear representation (PLR), improved particle swarm optimization (IPSO) and a feature-weighted support vector machine (FW-WSVM) to analyze the nonlinear relationships between trading signals and the stock data hidden in historical data. First, PLR is applied to generate numerous trading points (valleys or peaks) based on the historical data. These turning points’ prediction is formulated as a three-class classification problem. Then, IPSO is utilized to find the optimal parameters of FW-WSVM. Lastly, we conduct a series of comparative experiments between IPSO-FW-WSVM and PLR-ANN on 25 stocks with 2 different investment strategies. The experiment results show that our proposed method achieves higher prediction accuracy and profitability, which indicates the IPSO-FW-WSVM method is effective in the prediction of trading signals.
1. Introduction
Designing and implementing various predictive techniques for complex data analysis has attracted great scientific interest [1,2]. Among the research, stock trading point prediction has been an attractive yet challenging research topic. Therefore, many investors and researchers have conducted plenty of research in this field. However, the stock market is a nonlinear, changeable and complex system affected by many factors such as government policies, international situations, economic environments, interest rates and market capitalization. Despite the volatility of the stock market, researchers are still trying to develop more effective prediction techniques due to the benefits involved in accurate predictions.
With regard to the techniques used to find optimal trading points, some of them are based on financial analysis, and others are artificial intelligence methods. Financial analysis usually uses two main analysis methods, which are fundamental and technical analysis [3,4]. Fundamental analysis uses macroeconomic, industrial and business indicators to predict trend reversals [5,6,7]. Technical analysis assumes that past behavior has an impact on price evolution and trading decisions are made based on historical prices and some useful technical indicators such as moving averages and the relative strength index [8,9,10]. Financial time series data are inherently dynamic, nonlinear [11,12] and do not follow the fixed patterns. Therefore, making the right trading decisions is very difficult through financial analysis. In contrast, artificial intelligence algorithms excel at handling dynamic and nonlinear data in financial markets and are widely applied to predict trading points.
Over the past few decades, many artificial intelligence and machine learning algorithms have been developed as major tools in the financial investment field, such as artificial neural networks [13,14,15], support vector machines [16,17,18,19], rough set theory [20,21,22,23], Bayesian analysis [24,25,26,27] and evolutionary learning algorithms [28,29,30,31]. However, most past studies have focused on the accurate prediction of stock prices rather than trading decisions, since it is more difficult to predict the buying and selling points of stocks than to predict the changes in stock prices.
In recent years, artificial neural networks have been widely used to predict the turning points of a stock. For example, Chiang et al. proposed an adaptive intelligent stock trading decision support system using a particle swarm algorithm and neural network to predict the future movement direction [32]. This method overcame the weakness of the selection of inputs and parameter settings in the traditional ANN approach. However, artificial neural networks have many disadvantages, such as black box technology, easy overfitting, large computational complexity, slow convergence speed and easily falling into local minima. To overcome these disadvantages, the SVM [33] has attracted much attention. It has become a very popular research method in the financial investment field. Luo et al. conducted a set of improvements to the PLR-WSVM by adding some relative indicators with more valuable information into the input variables [34], simplifying the turning point prediction into a two-class problem, adapting the threshold values of PLR and using the WSVM to find the stock trading signals. Chen and Hao proposed a novel method, PLR-FW-WSVM, to predict trading points [35]. Despite the SVM having good generalization performance, whether the parameters are appropriate often affects its classification performance and the generalization ability [36,37]. The traditional grid search algorithm has low efficiency and a large amount of calculations, in addition to being time-consuming and having an unsatisfactory effect [38]. PSO not only has the global optimization ability but also has an efficient convergence ability and strong local optimization ability [39]. The optimal solution can be found through coordination and information exchange among individuals. In order to find the optimal solution to the FW-WSVM model, this paper proposes improved particle swarm optimization (IPSO) and integrates it into FW-WSVM to find the trading signals in the financial field (IPSO-FW-WSVM). First, the turning points are generated by a PLR algorithm. Secondly, the information gain is calculated in order to set the weight of each feature. Lastly, we utilize IPSO to optimize the FW-WSVM model parameters for stock trading decision.
The rest of this paper is organized as follows. In Section 2, we briefly present the theories of PLR, the FW-WSVM based on the information gain and FW-WSVM parameter optimization based on IPSO. In Section 3, we present the research design, which contains input variable selection, data labeling and performance measuring. Section 4 presents some experimental results to validate the performance of our proposed method. Section 5 gives a summary of this work and some brief future work.
2. Methodology
This paper utilizes the IPSO-FW-WSVM method to detect trading signals in financial time series data. PLR first generates trading points from the historical stock price database. Secondly, the whole dataset is divided into a lot of overlapping training-testing sets, which can reduce the time-varying characteristics of stock data. Thirdly, the IPSO-FW-WSVM model is applied to learn the relationship between the input features and trading signals. Finally, the trained model is adopted to compute the accuracy of the model and evaluate the profitability with two investment strategies. The flow chart of the proposed framework is shown in Figure 1.
Figure 1.
The flow chart of the proposed framework.
2.1. PLR
PLR was developed for pattern matching, and it can be used to generate turning points in financial time series data. Let denote the financial time series data. X can be divided into M segments, which are expressed as follows:
where is the end of the segment. Therefore, provides a lot of segments belonging to an uptrend or a downtrend with low and high price points, as shown in Figure 2.
Figure 2.
The segments generated by PLR.
The threshold of segment representation is a significant parameter affecting the results of PLR. Figure 3 shows some different segmentation graphs based on different threshold values for the Shenzhen Stock Exchange Component Index (SZSE COMP SUB IND). As shown in Figure 3, the higher threshold value created longer trend patterns and generated only a few segments, while a smaller threshold generated a lot of segments. Therefore, it should be more reasonable to specify different thresholds for different price fluctuations. In this paper, we utilized the SD algorithm [34] to automatically select the threshold, and different thresholds for different price fluctuations were calculated according to a percentage of turning points in the parameter .
Figure 3.
The turning points obtained using different thresholds. (a) Results for PLR (threshold = 0.1). (b) Results for PLR (threshold = 0.15). (c) Results for PLR (threshold = 0.2).
2.2. FW-WSVM Based on the Information Gain
In this section, a brief introduction for the FW-WSVM method based on information gain is given, and more details can be found in [35]. Let be the training dataset, where denotes the () input vector, n is the size of vector and denotes the label. The dataset is separated into two classes through the hyperplane , where P is a feature-weighted matrix. The classifier should satisfy the following conditions:
where is used to map the input space to the high-dimensional feature space and is the slack variable. Therefore, The objective optimization can be expressed as follows:
where is the weighted constant parameter, which is defined as follows:
where is the weight of the instance . Thus, the corresponding Lagrangian function is Equation (5):
where and are the non-negative Lagrange multipliers. Therefore, the dual problem can be expressed as follows:
The decision function of the classification problem can be obtained with Equation (7):
where is the number of the support vectors and P is the feature-weighted matrix.
How to obtain the weighted matrix P is the key to the FW-WSVM algorithm. In this research, information gain is used to measure the weighted matrix P. Let be the size of the dataset . The probability of a sample belonging to class / can be approximately calculated through . The expected information is as follows:
Let be the feature selected to split the set , and let have v different values. It can produce v subsets, indicated by . Then, the expected information is as follows:
where is the size of the set , is the size of samples belonging to the class / in set and . Thus, the information gain is as follows:
If the information gain is greater, then the corresponding feature is more important, and the contribution to classification is greater. Consequently, the feature-weighted matrix P is as follows:
where describes the weight of each feature and .
2.3. FW-WSVM Parameter Optimization Based on IPSO
In the FW-WSVM algorithm, the value of factor C and the value of in the kernel function can obviously affect the performance of the system. It is difficult to choose the two important optimal parameters (C and ) by virtue of expert experience. In order to find the optimal values for these parameters with the smallest generalization error, PSO is used to optimize the parameter selection of the FW-WSVM model.
The PSO algorithm is a heuristic search algorithm which was derived from the flocking behavior of insects, herds of animals, flocks of birds, schools of fish, etc. The algorithm searches the solution space of the problem by simulating the foraging behavior of birds. In the PSO algorithm, each particle moves at a certain speed in the search space, changes its position according to the fitness value in the environment and shares the information with other particles.
Let the total number of particles be n, the dimension be d, the position of the i particle be and the corresponding velocity be , where . In each iteration, the particle updates its position by tracking two optimal solutions. The first one is the individual historical optimal solution, indicated as pbest, where , and the other is the global optimal solution, indicated as gbest, where . The particle updates its velocity and position as follows:
where is the inertia weight, and are the local search ability and global search ability learning factors, respectively, and represent random numbers between and is the factor to speed up the convergence speed of the algorithm when updating the positions of particles:
where is the maximum evolutionary quantity.
The setting of the inertia weight has a great influence on the convergence speed of the algorithm. A larger inertia weight has a stronger global search ability for jumping out of the local optimal solution, and a smaller inertia weight is conducive to local searches, increasing the convergence speed of the algorithm. The inertia weight has a great influence on the performance of the algorithm, and there have been many studies on it [40,41,42,43]. The more successful one is the linearly adjusted inertia weight particle swarm algorithm [44]. The idea is that the inertia weight decreases linearly with the increase in the number of iterations of the algorithm. The actual search process of the PSO algorithm is nonlinear and highly complex, and the strategy of linearly decreasing the inertia weight often cannot reflect the actual optimal search process. In order to overcome the deficiency of a linearly decreasing weight, this paper proposes a non-linear decreasing strategy:
where and are the maximum and minimum of the inertial weight, respectively, and is expressed in the inertia weight value of the kth iteration.
In this paper, we control the better global searching and local searching of particles by changing the learning factors and [45]. In the early stage of a search, a larger cognition coefficient and a smaller social coefficient are set so individual cognition occupies a dominant position, and the particles can develop new search areas in a larger search space. In the later stage, a larger social coefficient and a smaller cognitive coefficient are set. The updated formulas of and are as follows:
The flow of optimization of the FW-WSVM parameters using IPSO is illustrated in Algorithm 1.
| Algorithm 1: Description of FW-WSVM parameter optimization based on IPSO |
|
3. Research Design
3.1. Input Variable Selection
Let S be the dataset, which is described as follows:
where , , , and denote the opening, lowest, highest and closing price, respectively, while is the trading volume for the day. In the stock prediction problem, , , , and provide very useful information and can usually be used as the input features. Recently, some research has shown that some technical indicators are more informative than prices [16,46,47,48,49]. Consequently, many important technical indicators will be taken into consideration as input features. These technical indicators are defined in Table 1. A brief description of each indicator is described here:
Table 1.
Used technical indicators with formulae.
- (i)
- Simple Moving Average (SMA)The SMA is a method of statistical analysis that averages prices within a certain period of time for smoothing data.
- (ii)
- Exponential Moving Average (EMA)The EMA is a trend indicator. Its construction principle is to carry out a weighted arithmetic average on the price to judge the change trend for the price in the future.
- (iii)
- Moving Average Convergence/Divergence (MACD)The MACD is a technical indicator that uses the aggregation and separation between the short-term exponential moving average and the long-term exponential moving average of the closing price to judge the time of buying and selling.
- (iv)
- Average Transaction Price (ATP)The ATP is used to identify the average cost of a transaction and can provide more useful information.
- (v)
- Relative Strength Index (RSI)The RSI is a technical curve made according to the ratio of the sum of the rise and fall in a certain period of time. It can reflect the prosperity of the market in a certain period of time.
- (vi)
- Average True Range (ATR)The ATR measures volatility, taking into account any gaps in the price movement.
- (vii)
- William’s %R OscillatorThis is a momentum indicator that measures the overbought and oversold levels.
- (viii)
- Stochastic %K %DThis indicates the momentum of a stock and uses the current close price of the stock.
- (ix)
- Average Directional Movement Index (ADX)The ADX can be used to help measure the overall strength of a trend.
After adding technical indicators, the new dataset S is reformulated as follows:
where represents the technical indicators.
3.2. Data Labeling
We used PLR to generate class labels. We first used PLR to generate turning points for the stock data. We then classified these turning points into three categories, which were valley turning points, peak turning points and other turning points. The turning point with a trough was marked as a buying point, while the peak was marked as a selling point, and the other points were marked as holding points. The holding point, buying point and selling point were numbered zero, one and two, respectively. After generating the class labels , the variables were scaled between 0 and +1 using the standard min-max formula. The dataset S was reformulated as follows:
3.3. Performance Measure
The most important goal of stock forecasting is to obtain high and stable profits. We used two investment strategies to objectively test the profitability of the forecast effect. Let be the balance number, be the balance money, be the average price for day i, be the total investment money until day i and and be the transaction cost rates of buying and selling, respectively.
Strategy 1: This investment strategy is used to assess the benefits of having a large amount of funds.
(1) Buying strategy: If the forecast signal is a buying signal (), then the investors spend money to buy 100 shares. After buying the stock, , and are calculated as follows:
(2) Selling strategy: If the forecast signal is the selling signal () and , then the investors sell all their shares. After selling the stock, and are calculated according to Equations (24) and (25), respectively:
Strategy 2: This investment strategy is used to evaluate the return of having limited capital. The initial investment capital is set by , expressed in CNY.
(1) Buying strategy: If , then the investors spend the balance money to buy the number of shares , where denotes the minimal positive integer that is less than x. After buying the stock, , and are calculated as follows:
(b) Selling strategy: If and , then the investors always sell all their shares. Thus, and are updated according to Equations (24) and (25), respectively.
At the end of an investment cycle, all shares must be sold on the last day. The profit of this strategy is calculated as follows:
4. Experimental Results and Analysis
4.1. Data Collection and Experimental Set-Up
To demonstrate the IPSO-FW-WSVM model’s performance, 25 stocks were randomly selected from the Shanghai and Shenzhen exchange markets. Table 2 describes the collected datasets. The time span for these stocks was from 1 June 2012 to 30 June 2014. The 25 stocks could be divided into 3 types according to the change rate of the closing price: uptrend, downtrend and steady trend. If the rate of change of the closing price from the starting day to the end of the test period was higher than 10%, then it was classified as an uptrend. If the rate of change was lower than 10%, then it was classified as a downtrend; otherwise, it was classified as a steady trend.
Table 2.
Description of data samples.
In the experiments, Matlab 2016B and libsvm-3.11 [50] are used. Table 3 depicts the parameters used in the Shanghai and Shenzhen stock exchanges, where the size of each training set was 220, the size of each testing set was 20, the transaction fee for buying and selling was and the parameter was . Table 4 depicts the parameters used in IPSO. Table 5 depicts the technical indicators used as input variables.
Table 3.
Description of the parameters.
Table 4.
Description of parameters used in IPSO.
Table 5.
Technical indicators used as input variables.
4.2. Experimental Results
In this section, we conduct some comparative experiments between the IPSO-FW-WSVM and PLR-ANN models to illustrate the effectiveness of the proposed model. We used the neural network toolbox in Matlab R2016B to construct the compared ANN model, which had a three-layered feedforward structure, and the number of neurons in the hidden layer was selected using searching through five-fold cross-validation.
Table 6, Table 7 and Table 8 list the comparison results between the IPSO-FW-WSVM and PLR-ANN models on testing set in the uptrend stocks, the steady trend stocks and the downtrend stocks.
Table 6.
The comparison results between IPSO-FW-WSVM and PLR-ANN models for stocks in the uptrend.
Table 7.
The comparison results between IPSO-FW-WSVM and PLR-ANN models for stocks in the steady trend.
Table 8.
The comparison results between IPSO-FW-WSVM and PLR-ANN models for stocks in downtrend.
In Table 6, it can be seen that the IPSO-FW-WSVM model outperformed the PLR-ANN model in all five uptrend stocks listed in both aspects of trading point prediction accuracy and trading profits. The average accuracy for the trading signal prediction of the IPSO-FW-WSVM method was 52.85% while it was 46.61% for the PLR-ANN model in all five stocks. Even in the accuracy of individual stocks, the IPSO-FW-WSVM method also performed better than the PLR-ANN method. In terms of profit, the IPSO-FW-WSVM model outperformed the PLR-ANN model for all stocks using strategy 1, with the average profit being 42.66%, which was 34.39 points higher than that for the PLR-ANN model. Meanwhile, the IPSO-FW-WSVM algorithm requires less capital and less time to purchase than the PLR-ANN method, which shows that our proposed method is effective when using strategy 1. In the transaction with strategy 2, the IPSO-FW-WSVM model stood out against the PLR-ANN for five stocks receiving higher profits, in which the average profit of the IPSO-FW-WSVM model was 63.87%, while it was 11.18% for the PLR-ANN. In this way, we can conclude that our proposed method was more effective in the uptrend category and achieved better profitability using different investment strategies.
Table 7, demonstrates the similar comparative performances results between the IPSO-FW-WSVM and PLR-ANN models for the steady trend stocks and those for the uptrend stocks. The prediction accuracy of the IPSO-FW-WSVM model was higher than that for the PLR-ANN model for all steady trend stocks, being 51.56% for the IPSO-FW-WSVM while it was 47.80% in the PLR-ANN. In the transaction with strategy 1, the average profit for the IPSO-FW-WSVM method was 19.23%, while it was 7.04% for the PLR-ANN method. In the transaction with strategy 2, the IPSO-FW-WSVM also performed better than the PLR-ANN in terms of profit making with the same investment fund, with the average profit for the IPSO-FW-WSVM being 26.91%, while it was 0.41% for the PLR-ANN. The table also shows that the IPSO-FW-WSVM model needed to invest less capital and less time for purchases than the PLR-ANN model. From the above analysis, we can see that our proposed IPSO-FW-WSVM method can get better profit with different transaction strategies in the steady trend.
The results in Table 8 show that the IPSO-FW-WSVM model outperformed the PLR-ANN method for the downtrend stocks. Therefore, our proposed method was more effective in the downtrend category.
Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10, Figure 11, Figure 12, Figure 13, Figure 14, Figure 15, Figure 16, Figure 17, Figure 18, Figure 19, Figure 20, Figure 21, Figure 22, Figure 23, Figure 24, Figure 25, Figure 26, Figure 27 and Figure 28 show the buying and selling signals when adopting the IPSO-FW-WSVM model on testing set for the uptrend stocks, the steady trend stocks and the downtrend stocks with two strategies. In the figures, the upper triangle (▲) denotes the buying signal, and the lower triangle (▼) denotes the selling signal. In the Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10, Figure 11, Figure 12, Figure 13, Figure 14, Figure 15, Figure 16, Figure 17, Figure 18, Figure 19, Figure 20, Figure 21, Figure 22, Figure 23, Figure 24, Figure 25, Figure 26, Figure 27 and Figure 28, it is shown that the buy and sell signals for both strategies were still far from optimal. We think this is reasonable. Due to the characteristics of the stock market, such as uncertainty, noise, non-stationarity and nonlinearity, stock trend forecasting is a very hard problem.
Figure 4.
Trading signals for 600220 adopting IPSO-FW-WSVM.
Figure 5.
Trading signals for 600628 adopting IPSO-FW-WSVM.
Figure 6.
Trading signals for 600109 adopting IPSO-FW-WSVM.
Figure 7.
Trading signals for 600327 adopting IPSO-FW-WSVM.
Figure 8.
Trading signals for 000606 adopting IPSO-FW-WSVM.
Figure 9.
Trading signals for 600283 adopting IPSO-FW-WSVM.
Figure 10.
Trading signals for 600360 adopting IPSO-FW-WSVM.
Figure 11.
Trading signals for 600509 adopting IPSO-FW-WSVM.
Figure 12.
Trading signals for 600791 adopting IPSO-FW-WSVM.
Figure 13.
Trading signals for 600895 adopting IPSO-FW-WSVM.
Figure 14.
Trading signals for 601099 adopting IPSO-FW-WSVM.
Figure 15.
Trading signals for 000514 adopting IPSO-FW-WSVM.
Figure 16.
Trading signals for 000949 adopting IPSO-FW-WSVM.
Figure 17.
Trading signals for 002083 adopting IPSO-FW-WSVM.
Figure 18.
Trading signals for 002161 adopting IPSO-FW-WSVM.
Figure 19.
Trading signals for 600036 adopting IPSO-FW-WSVM.
Figure 20.
Trading signals for 600162 adopting IPSO-FW-WSVM.
Figure 21.
Trading signals for 600558 adopting IPSO-FW-WSVM.
Figure 22.
Trading signals for 600609 adopting IPSO-FW-WSVM.
Figure 23.
Trading signals for 600875 adopting IPSO-FW-WSVM.
Figure 24.
Trading signals for 601600 adopting IPSO-FW-WSVM.
Figure 25.
Trading signals for 000650 adopting IPSO-FW-WSVM.
Figure 26.
Trading signals for 002039 adopting IPSO-FW-WSVM.
Figure 27.
Trading signals for 002061 adopting IPSO-FW-WSVM.
Figure 28.
Trading signals for 002140 adopting IPSO-FW-WSVM.
5. Conclusions
An amount of research has been carried out on the behavior of stock price movements. However, investors are more interested in obtaining profits. Therefore, trading decisions are more important than forecasting the stock prices themselves. This paper proposes a comprehensive and efficient trading signal forecasting framework. First, we applied PLR to decompose the historical data into different segments and model trading signal prediction as a three-class classification problem. Then, we trained the IPSO-FW-WSVM model using historical training data and compared the proposed method with a PLR-ANN on the stocks under different trends in Chinese stock exchange markets. The experiment’s results clearly illustrate that the IPSO-FW-WSVM model can obtain a significantly higher forecasting accuracy than the PLR-ANN model for stocks in three different tends. Moreover, the proposed framework can make a significant amount of profit with different trading strategies, and the proposed system is very effective at predicting future trading points. However, there are still some problems to be studied further. Although the algorithm we proposed has many advantages, which we mentioned above, it also has some disadvantages. For example, it is difficult to implement for large-scale training samples and sensitive to missing data. Future research work will involve designing better forecasting models to make the results more accurate. Future research will also explore other good investment strategies, since different investment strategies have a large effect on profits, and an unsuitable strategy can lead to poor returns despite the high forecasting performance.
Author Contributions
Methodology, Y.C. and Z.Z.; Software, Y.C.; Validation, Y.C.; Formal analysis, Y.C.; Writing—original draft, Y.C.; Writing—review & editing, Z.Z. All authors have read and agreed to the published version of the manuscript.
Funding
The authors gratefully acknowledge financial support from the University Capacity Building Project of the Shanghai Science and Technology Commission (21010502800).
Institutional Review Board Statement
Not applicable.
Data Availability Statement
Not applicable.
Acknowledgments
The authors gratefully acknowledge financial support from the University Capacity Building Project of the Shanghai Science and Technology Commission (21010502800).
Conflicts of Interest
All authors declare that they have no conflict of interest.
References
- Liu, Y.; Shengdong, M.; Jijian, G.; Nedjah, N. Intelligent prediction of customer churn with a fused attentional deep learning model. Mathematics 2022, 10, 4733. [Google Scholar] [CrossRef]
- Cosma, O.; Pop, P.; Sabo, C.; Cosma, L. Forecasting the number of bugs and vulnerabilities in software components using neural network models. In Computational Intelligence in Security for Information Systems Conference, International Conference on European Transnational Education; Springer: Berlin/Heidelberg, Germany, 2023; pp. 159–168. [Google Scholar]
- Chavarnakul, T.; Enke, D. A hybrid stock trading system for intelligent technical analysis-based equivolume charting. Neurocomputing 2009, 72, 3517–3528. [Google Scholar] [CrossRef]
- Bagheri, A.; Peyhani, H.M.; Akbari, M. Financial forecasting using anfis networks with quantum-behaved particle swarm optimization. Expert Syst. Appl. 2014, 41, 6235–6250. [Google Scholar] [CrossRef]
- Samaras, G.D.; Matsatsinis, N.F.; Zopounidis, C. A multicriteria dss for stock evaluation using fundamental analysis. Eur. J. Oper. Res. 2008, 187, 1380–1401. [Google Scholar] [CrossRef]
- Chen, Y.-J.; Chen, Y.-M.; Lu, C.L. Enhancement of stock market forecasting using an improved fundamental analysis-based approach. Soft Comput. 2017, 21, 3735–3757. [Google Scholar] [CrossRef]
- Huang, Y.; Capretz, L.F.; Ho, D. Machine learning for stock prediction based on fundamental analysis. In Proceedings of the 2021 IEEE Symposium Series on Computational Intelligence (SSCI), Orlando, FL, USA, 5–7 December 2021; pp. 1–10. [Google Scholar]
- Shynkevich, Y.; McGinnity, T.; Coleman, S.; Belatreche, A.; Li, Y. Forecasting price movements using technical indicators: Investigating the impact of varying input window length. Neurocomputing 2017, 264, 71–88. [Google Scholar] [CrossRef]
- Detzel, A.; Liu, H.; Strauss, J.; Zhou, G.; Zhu, Y. Learning and predictability via technical analysis: Evidence from bitcoin and stocks with hard-to-value fundamentals. Financ. Manag. 2021, 50, 107–137. [Google Scholar] [CrossRef]
- Yao, Y.; Cai, S.; Wang, H. Are technical indicators helpful to investors in china’s stock market? a study based on some distribution forecast models and their combinations. Econ. Res.-Ekon. Istraž. 2022, 35, 2668–2692. [Google Scholar] [CrossRef]
- Guegan, D. Chaos in economics and finance. Annu. Rev. Control 2009, 33, 89–93. [Google Scholar] [CrossRef]
- Xue, G.; Zhong, M.; Li, J.; Chen, J.; Zhai, C.; Kong, R. Dynamic network embedding survey. Neurocomputing 2022, 472, 212–223. [Google Scholar] [CrossRef]
- Aras, S.; Kocakoç, İ.D. A new model selection strategy in time series forecasting with artificial neural networks: Ihts. Neurocomputing 2016, 174, 974–987. [Google Scholar] [CrossRef]
- Shahvaroughi Farahani, M.; Razavi Hajiagha, S.H. Forecasting stock price using integrated artificial neural network and metaheuristic algorithms compared to time series models. Soft Comput. 2021, 25, 8483–8513. [Google Scholar] [CrossRef] [PubMed]
- Sharma, D.K.; Hota, H.; Brown, K.; Handa, R. Integration of genetic algorithm with artificial neural network for stock market forecasting. Int. J. Syst. Assur. Eng. Manag. 2022, 13, 828–841. [Google Scholar] [CrossRef]
- Chen, Y.; Hao, Y. Integrating principle component analysis and weighted support vector machine for stock trading signals prediction. Neurocomputing 2018, 321, 381–402. [Google Scholar] [CrossRef]
- Hao, P.-Y.; Kung, C.-F.; Chang, C.-Y.; Ou, J.-B. Predicting stock price trends based on financial news articles and using a novel twin support vector machine with fuzzy hyperplane. Appl. Soft Comput. 2021, 98, 106806. [Google Scholar] [CrossRef]
- Nayak, R.K.; Tripathy, R.; Mishra, D.; Burugari, V.K.; Selvaraj, P.; Sethy, A.; Jena, B. Indian stock market prediction based on rough set and support vector machine approach. In Intelligent and Cloud Computing; Springer: Berlin/Heidelberg, Germany, 2021; pp. 345–355. [Google Scholar]
- Dash, R.K.; Nguyen, T.N.; Cengiz, K.; Sharma, A. Fine-tuned support vector regression model for stock predictions. Neural Comput. Appl. 2021, 1–15. [Google Scholar] [CrossRef]
- Tang, G.; Chiclana, F.; Liu, P. A decision-theoretic rough set model with q-rung orthopair fuzzy information and its application in stock investment evaluation. Appl. Soft Comput. 2020, 91, 106212. [Google Scholar] [CrossRef]
- Podsiadlo, M.; Rybinski, H. Financial time series forecasting using rough sets with time-weighted rule voting. Expert Syst. Appl. 2016, 66, 219–233. [Google Scholar] [CrossRef]
- Jiang, H.; Hu, B.Q. A decision-theoretic fuzzy rough set in hesitant fuzzy information systems and its application in multi-attribute decision-making. Inf. Sci. 2021, 579, 103–127. [Google Scholar] [CrossRef]
- Cao, B.; Zhao, J.; Liu, X.; Arabas, J.; Tanveer, M.; Singh, A.K.; Lv, Z. Multiobjective evolution of the explainable fuzzy rough neural network with gene expression programming. IEEE Trans. Fuzzy Syst. 2022, 30, 4190–4200. [Google Scholar] [CrossRef]
- Miao, J.; Wang, P.; Xu, Z. A bayesian dynamic stochastic general equilibrium model of stock market bubbles and business cycles. Quant. Econ. 2015, 6, 599–635. [Google Scholar] [CrossRef]
- Gong, X.; Si, Y.-W.; Fong, S.; Biuk-Aghai, R.P. Financial time series pattern matching with extended ucr suite and support vector machine. Expert Syst. Appl. 2016, 55, 284–296. [Google Scholar] [CrossRef]
- Chandra, R.; He, Y. Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic. PLoS ONE 2021, 16, e0253217. [Google Scholar] [CrossRef]
- Vo-Van, T.; Che-Ngoc, H.; Le-Dai, N.; Nguyen-Trang, T. A new strategy for short-term stock investment using bayesian approach. Comput. Econ. 2022, 59, 887–911. [Google Scholar] [CrossRef]
- Rout, A.K.; Dash, P.K.; Dash, R.; Bisoi, R. Forecasting financial time series using a low complexity recurrent neural network and evolutionary learning approach. J. King Saud Univ.-Comput. Inf. Sci. 2017, 29, 536–552. [Google Scholar] [CrossRef]
- Sheng, W.; Shan, P.; Chen, S.; Liu, Y.; Alsaadi, F.E. A niching evolutionary algorithm with adaptive negative correlation learning for neural network ensemble. Neurocomputing 2017, 247, 173–182. [Google Scholar] [CrossRef]
- Kumar, G.; Jain, S.; Singh, U.P. Stock market forecasting using computational intelligence: A survey. Arch. Comput. Methods Eng. 2021, 28, 1069–1101. [Google Scholar] [CrossRef]
- Kumar, G.; Singh, U.P.; Jain, S. Hybrid evolutionary intelligent system and hybrid time series econometric model for stock price forecasting. Int. J. Intell. Syst. 2021, 36, 4902–4935. [Google Scholar] [CrossRef]
- Chiang, W.-C.; Enke, D.; Wu, T.; Wang, R. An adaptive stock index trading decision support system. Expert Syst. Appl. 2016, 59, 195–207. [Google Scholar] [CrossRef]
- Vapnik, V.N.; Vapnik, V. Statistical Learning Theory; Wiley: New York, NY, USA, 1998; Volume 1. [Google Scholar]
- Luo, L.; You, S.; Xu, Y.; Peng, H. Improving the integration of piece wise linear representation and weighted support vector machine for stock trading signal prediction. Appl. Soft Comput. 2017, 56, 199–216. [Google Scholar] [CrossRef]
- Chen, Y.; Hao, Y. A novel framework for stock trading signals forecasting. Soft Comput. 2020, 24, 12111–12130. [Google Scholar] [CrossRef]
- Huang, L.; Wu, K.; Huang, W.; Dong, Y.; Ma, H.; Liu, Y.; Liu, L. Detection of fusarium head blight in wheat ears using continuous wavelet analysis and pso-svm. Agriculture 2021, 11, 998. [Google Scholar] [CrossRef]
- Raj, S.; Ray, K.C. Ecg signal analysis using dct-based dost and pso optimized svm. IEEE Trans. Instrum. Meas. 2017, 66, 470–478. [Google Scholar] [CrossRef]
- Huang, L.; Zhang, H.; Ruan, C.; Huang, W.; Hu, T.; Zhao, J. Detection of scab in wheat ears using in situ hyperspectral data and support vector machine optimized by genetic algorithm. Int. J. Agric. Biol. Eng. 2020, 13, 182–188. [Google Scholar] [CrossRef]
- Liang, Y.; Zhang, H. Ship track prediction based on ais data and pso optimized lstm network. Int. Core J. Eng. 2020, 6, 23–33. [Google Scholar]
- Chatterjee, A.; Siarry, P. Nonlinear inertia weight variation for dynamic adaptation in particle swarm optimization. Comput. Oper. Res. 2006, 33, 859–871. [Google Scholar] [CrossRef]
- Nickabadi, A.; Ebadzadeh, M.M.; Safabakhsh, R. A novel particle swarm optimization algorithm with adaptive inertia weight. Appl. Soft Comput. 2011, 11, 3658–3670. [Google Scholar] [CrossRef]
- Pant, M.; Radha, T.; Singh, V. Particle swarm optimization using gaussian inertia weight. In Proceedings of the International Conference on Computational Intelligence and Multimedia Applications (ICCIMA 2007), Sivakasi, India, 13–15 December 2007; Volume 1, pp. 97–102. [Google Scholar]
- Yue-lin, G.; Yu-hong, D. A new particle swarm optimization algorithm with random inertia weight and evolution strategy. In Proceedings of the 2007 International Conference on Computational Intelligence and Security Workshops (CISW 2007), Harbin, China, 15–19 December 2007; pp. 199–203. [Google Scholar]
- Shi, Y.; Eberhart, R. A modified particle swarm optimizer. In Proceedings of the 1998 IEEE International Conference on Evolutionary Computation Proceedings. IEEE World Congress on Computational Intelligence (Cat. No. 98TH8360), Anchorage, AK, USA, 4–9 May 1998; pp. 69–73. [Google Scholar]
- Ratnaweera, A.; Halgamuge, S.K.; Watson, H.C. Self-organizing hierarchical particle swarm optimizer with time-varying acceleration coefficients. IEEE Trans. Evol. Comput. 2004, 8, 240–255. [Google Scholar] [CrossRef]
- 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]
- Panigrahi, S.; Behera, H. A hybrid ETS-ANN model for time series forecasting. Eng. Appl. Artif. Intell. 2017, 66, 49–59. [Google Scholar] [CrossRef]
- Yeh, I.-C.; Lien, C.-H.; Tsai, Y.-C. Evaluation approach to stock trading system using evolutionary computation. Expert Syst. Appl. 2011, 38, 794–803. [Google Scholar] [CrossRef]
- Żbikowski, K. Using volume weighted support vector machines with walk forward testing and feature selection for the purpose of creating stock trading strategy. Expert Syst. Appl. 2015, 42, 1797–1805. [Google Scholar] [CrossRef]
- Chang, C.-C.; Lin, C.-J. Libsvm: A library for support vector machines. ACM Trans. Intell. Syst. Technol. 2011, 2, 27. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).