Next Article in Journal
Research on Building Target Detection Based on High-Resolution Optical Remote Sensing Imagery
Next Article in Special Issue
On Parameter Identification for Reaction-Dominated Pore-Scale Reactive Transport Using Modified Bee Colony Algorithm
Previous Article in Journal
SENSE: A Flow-Down Semantics-Based Requirements Engineering Framework
Previous Article in Special Issue
Ant Colony Optimization with Warm-Up
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Stock Index Prediction Based on SVR Model with Bat Optimization Algorithm

1
Glorious Sun School of Business and Management, Donghua University, Shanghai 200051, China
2
School of Economics, Fudan University, Shanghai 200433, China
*
Author to whom correspondence should be addressed.
Algorithms 2021, 14(10), 299; https://doi.org/10.3390/a14100299
Submission received: 11 September 2021 / Revised: 10 October 2021 / Accepted: 13 October 2021 / Published: 15 October 2021
(This article belongs to the Special Issue Metaheuristics)

Abstract

:
Accurate stock market prediction models can provide investors with convenient tools to make better data-based decisions and judgments. Moreover, retail investors and institutional investors could reduce their investment risk by selecting the optimal stock index with the help of these models. Predicting stock index price is one of the most effective tools for risk management and portfolio diversification. The continuous improvement of the accuracy of stock index price forecasts can promote the improvement and maturity of China’s capital market supervision and investment. It is also an important guarantee for China to further accelerate structural reforms and manufacturing transformation and upgrading. In response to this problem, this paper introduces the bat algorithm to optimize the three free parameters of the SVR machine learning model, constructs the BA-SVR hybrid model, and forecasts the closing prices of 18 stock indexes in Chinese stock market. The total sample comes from 15 January 2016 (the 10th trading day in 2016) to 31 December 2020. We select the last 20, 60, and 250 days of whole sample data as test sets for short-term, mid-term, and long-term forecast, respectively. The empirical results show that the BA-SVR model outperforms the polynomial kernel SVR model and sigmoid kernel SVR model without optimized initial parameters. In the robustness test part, we use the stationary time series data after the first-order difference of six selected characteristics to re-predict. Compared with the random forest model and ANN model, the prediction performance of the BA-SVR model is still significant. This paper also provides a new perspective on the methods of stock index forecasting and the application of bat algorithms in the financial field.

1. Introduction

China’s capital market has made great achievements after three decades of development. However, in view of the global situation, China is facing a major change that has not been seen in a century. Therefore, the importance of capital market reform and development has continued to rise and has deepened since the 18th National Congress of the Communist Party of China. On this basis, the pursuit of the accuracy of capital market price forecasting helps stockholders to understand the comprehensive market situation of the stock market industry [1]. Investors rely on changes in the index to determine the trend of stock price movements, so changes in capital market prices have always been of concern to stockholders and investors, and are a hot spot for scholarly research. Information on the direction and intensity of shocks, and volatility interactions in financial markets is important for investors, policy makers and financial market planners [2].
Therefore, this paper uses the bat algorithm to optimize the three parameters in the Gaussian radial basis kernel function support vector regression model and compares the prediction performance with the support vector regression model of the other two types of kernel functions.
(1) In terms of data selection, this paper selects the daily data of 18 stock indices in China from 2016 to 2020, and uses the data of the last 20, 60, and 250 days in the full sample interval as the short-term forecast group, Mid-term forecast group and long-term forecast group.
(2) In the selection of predictive performance evaluation indicators, this paper integrates the existing evaluation indicators. Three indicators—RMSE, MAE and MAPE—were selected. The simulation experiment calculates the three index values of the gap between the optimized model predicted value and the true value and compares and analyzes it with the control model.
The rest of the paper is organized as follows: Section 2 mainly introduces the literature review on stock price forecasting. Section 3 improves the original bat algorithm and proposes a novel hybrid bat algorithm model (BA-SVR) that can predict stock prices. The steps and processes are also described in detail. Section 4 discusses the choice of parameters and designs empirical simulation experiments. Section 5 deals with performance evaluation and Section 6 discusses the robustness test. Finally, the last section consists of the conclusion and future work.

2. Literature Review

In recent years, most of the existing studies have focused on different types of models and parameter optimizations that are beneficial to improve the accuracy of existing information for predicting future stock prices. Therefore, the literature related to this paper can include the following two aspects. One is to improve the accuracy of stock price prediction mainly through the analysis of models. The second is to study the optimization of parameters between different algorithms.
In terms of models, most of the literature in this category focuses on financial forecasting of time series data such as stock prices, and their methods of predicting stock prices are more traditional. This includes ARCH models, GARCH models, etc. For example, Du [3] used ARCH models to study the response of Nikkei 225 closing prices to different types of data during the period from 5 January 1998 to 29 December 2017. Abounoori [2] estimated a multivariate GARCH model for weekly stock index data to study the interaction of stock markets between Iran, the United States, Turkey, and the United Arab Emirates. While these methods have some advantages, such linear forecasting models have strict assumptions in the application of data distribution and are not suitable for forecasting financial data sets.
Therefore, some scholars have started to focus on nonlinear forecasting models in recent years. They try to forecast financial asset yields and prices by machine learning methods and construct models. The empirical study proves that machine learning methods are better than traditional time series analysis models in terms of forecasting accuracy. Gradojevic [4] employs a nonparametric approach to forecast high-frequency exchange rates, which significantly improves the forecasting ability of both linear and nonlinear models. The nonlinear model outperforms the random walk and linear models based on some recursive out-of-sample forecasts. The artificial neural network model outperforms the random walk and any linear competing model for high frequency exchange rate forecasting. Given the growing interest in Chinese stock volatility, Liu [5] extracts global stock information by combining forecasts from a time-varying parametric (TVP) volatility model to forecast Chinese stock volatility. Vlah Jerić [6] reports the results of a study that collects data on stock market participants’ expectations of future levels of stock indices. Cheng and Shi [7] also focus heavily on Chinese stock volatility, they conducted a comprehensive study on the prediction of Chinese stock market variance using 24 commonly used predictor variables, documenting the unstable relationship between scaled stock market prices and market variance. While Harel and Harpaz [8] apply machine learning concepts to predict stock prices, demonstrating the trade-off between sensitivity and specificity of forecasts. Wu [9] proposes a novel fuzzy time series forecasting model based on technical analysis, affine propagation clustering, and support vector regression models. The performance of the method is proved using the Taiwan Capitalization Weighted Stock Index, Standard and Poor’s 500 Index, and Dow Jones Industrial Average datasets.
However, the prediction process of machine learning and artificial intelligence often requires the initial parameters under specific models to be set in advance. For the more sensitive model parameters, the appropriateness of their settings can greatly affect the effectiveness of model fitting and forecasting. Intelligent optimization algorithms have been used to initialize the parameters of forecasting models to improve the accuracy of financial asset price forecasting. Among them, the bat algorithm has been increasingly used in management and operations research. It benefits from the bionic principle of the population algorithm and its better results in optimizing parameters. The bat algorithm can optimize the parameters as a way to achieve improved prediction performance. For example, Li et al. [10] mixed support vector regression model with quantum computer mechanism, chaotic mapping function and bat algorithm. They proposed a novel prediction method that optimized the parameters and showed superiority in improving the prediction accuracy. Zhang et al. [11] proposed a method that combined wavelet neural network (WNN) and adaptive mutation bat algorithm (AMBA). AMBA was used to optimize the network parameters of WNN. This method improves the accuracy of prediction and speeds up the training. Hong [12] employs a support vector regression model with hybrid kernel functions. A chaotic efficient bat algorithm based on chaos, niche search and evolutionary mechanism is proposed for optimizing its parameters with satisfactory prediction accuracy. Moreover, Wu [13] developed a least squares support vector machine model. The relevant parameters are optimized by the bat algorithm to improve the prediction performance.
Further, in stock index prediction, the bat algorithm will play a pivotal role in combination with other population intelligence algorithms or machine learning algorithms as well. In 2014, Chang et al. [14] used the investment satisfaction ability index to screen potential candidates and used the evolutionary bat algorithm to construct stock portfolios. Hafezi [15] designed a multi-agent framework for predicting stock prices with a bat neural network multi-agent system (BNNMAS), which tested a model for predicting stock prices in a global facing financial crisis for predicting DAX stock prices over a period of time. It is considered as a suitable tool for predicting stock prices, especially in the long-term period. While Golmaryami [16] emphasized artificial neural networks (ANNs) with time series data and nonlinear parameters to predict the stock price the next day. The proposed ANNs were trained with the bat algorithm, which was first applied to stock price prediction in 2015. The approach was to first preprocess the data to predict the closing price of the stock using three types of ANNs. Subsequently, the performance of the three methods is evaluated by mean absolute percentage error (MADE). This literature provides an innovative idea and lays a theoretical foundation for the research in this paper. Mallikarjuna and Rao [17] examine linear, nonlinear, artificial intelligence, frequency domain, and hybrid models to predict stock returns in developed, emerging, and frontier markets. Shahvaroughi [18] uses artificial neural networks to predict stock price indices and uses social spider optimization (SSO) and Bat Algorithm (BA) to train it. Mean absolute error (MAE) is used as an error evaluation criterion. Some time series models of forecasting such as ARMA and ARIMA are used to predict stock prices.

3. Materials and Methods

3.1. The Original Bat Algorithm

The bat algorithm, as a method of swarm intelligence optimization algorithm, draws on the definition of bat algorithm by Yang [19]. Here are the assumptions that the implementation of the bat algorithm satisfies. First, all bats rely on their own echolocation system to detect distances, and bats can accurately distinguish prey from obstacles and even distinguish what kind of prey it is. Second, each bat spontaneously adjusts the sonar rate and sonar loudness at any position to capture prey. Third, although the sonar loudness emitted by bats can be freely changed, for the sake of simplicity, it is assumed that there are maximum and minimum values of bat sonar.
Based on these three ideal state assumptions, we can describe the process of bat algorithm seeking global optimal solution as follows. Before the operation of the bat algorithm starts, for bat i, we need to determine the position of the bat x i , i = 1 , 2 , , n , the bat’s flight speed v i the maximum and minimum sound wave frequency f m a x and minimum f m i n , and the pulse rate r i and set the initial value of impulse loudness A t . The bat algorithm seeks the optimal position through iterations under certain conditions. In other words, it is the optimized parameter. Suppose the number of iterations t < m a x g e n , where m a x g e n is the maximum number of iterations, and t = 0 is the initial period. In each iteration of the bat algorithm, if the condition t < m a x g e n is satisfied, it can update its flight speed v i and position x i by adjusting the sound wave emission frequency f i . The update process is as follows:
f i = f m i n + μ · f m a x f m i n
v i t = v i t 1 + x i t x g b e s t t · f i
x i t = x i t 1 + v i t
where x g b e s t t refers to the global optimal position at the current moment, that is, the global optimal solution. It is equivalent to the position where bats can best catch their prey. Generally speaking, we set the initial value of x g b e s t t to 0.
Based on Equations (1)–(3), i bats continuously iterate within a given maximum number of iterations to adjust the sound wave emission frequency f i , flight speed v i and location x i . Next, we compare the pulse rate of i bats with the random value rand. If the pulse rate is less than the random value, first select the bat with the largest sound wave frequency among all the bats whose pulse rate is less than the random value, and then find the optimal position according to x n e w = x o l d + ε A t . Currently, if the random value is less than the impulse loudness A t and the sound wave frequency is less than the local optimal sound wave frequency, then accept this solution, increase the pulse rate r i and reduce the impulse loudness A t , the adjustment processes are as follows:
r i t + 1 = r i 0 1 e γ t
A i t + 1 = α · A i t
where α is the loudness attenuation coefficient, and γ is the rate enhancement coefficient. We sort the selected n bats according to the sound wave frequency, and get the bats in the optimal position, that is, find the local optimal solution. Finally, when the number of iterations reaches the preset maximum number of iterations, the algorithm terminates and the global optimal solution is obtained.

3.2. The Proposed Improved SVR Model

Support Vector Machine (SVM) models have been widely used and developed in academic circles since they were proposed. Depending on the data structure, SVM models can be divided into SVR models for regression and SVC models for classification. Compared with other learning methods, SVM is based on structural risk minimization, so it has strong generalization ability, and the local optimal point is the global optimal solution. The basic principles are shown below.
Given an n-dimensional data set { ( x 1 , y 1 ) , ( x 2 , y 2 ) , , ( x i , y i ) , , t ( x n , y 1 n ) x i R n , y R , i = 1 , 2 , , n } , the regression function of the output space to the input space is f ( x ) = ω · ϕ ( x ) + α , x R n , α R , where ω is the weight and α is the threshold.
The objective of the SVR is to find f ( x ) such that the error between the true value and the predicted value is less than or equal to a given error ϵ . The problem is then transformed into a conditional constrained optimization problem and expressed as:
min 1 2 ω 2 + C · i = 1 n ξ i + ξ i * s . t . y f x i ε + ξ i , ξ i 0 y f x i ε + ξ i * , ξ i * 0
In Equation (6), the parameter C is a penalty factor, which indicates the complexity of the model and the accuracy of sample fitting. The parameter ϵ is the insensitive loss coefficient and are slack variables, which are meaningful only for outliers. Consideringthe introduction of Lagrangian operators β i and β i * , the pairwise problem of Equation (6) is
max 1 2 i , j = 1 n β i β i * β j β j * K x i , y j ε l i = 1 β i + β i * + l i = 1 y i α i α i * s . t . j = 1 n β i β i * = 0 C β i 0 , C β i * 0
In Equation (7), the kernel function K ( x i , y i ) can make the function of the low-dimensional input space equal to the inner product of the high-dimensional space to achieve the dimensionality reduction effect. Generally speaking, it is divided into linear kernel functions, polynomial kernel functions and Gaussian kernel functions. For SVR can achieve high accuracy of nonlinear prediction by selecting the kernel function, this paper constructs SVR based on the Gaussian Radial Basis Function (RBF), and its formula is expressed as
K x i , x j = exp x i x j 2 / σ 2
where σ is the width parameter of the Gaussian radial basis kernel function, which controls the range of radial action. Therefore, the regression model is
f ( x ) = l i = 1 β i β i * K x i , x j + a

3.3. The Proposal of BA-SVR Hybrid Model

The main model constructed in this paper is a hybrid model of BA and SVR, and the main principle lies in the optimal estimation of the three parameters C, ϵ , and σ in the SVR model using the bat algorithm to achieve the initialization of the three parameters in the SVR model under the optimal prediction accuracy.
The steps of the hybrid BA-SVR prediction algorithm model are as follows.
  • Set the parameters of the BA-SVR model;
    The parameters that need to be set include the maximum number of iterations of the bat algorithm m a x g e n , the size of the bat population (that is, the number of bats) N, the minimum loudness A m i n , the loudness attenuation coefficient α , the rate enhancement coefficient γ for controlling the pulse rate, and the maximum frequency f m a x and minimum value f m i n , random movement step length (that is, the maximum value v m a x and minimum value v m i n of moving speed v i ), the number of parameters to be optimized, and the range of parameters to be optimized. Among them, if the linear kernel function is selected, the free parameters that SVR needs to optimize are the penalty factor C and the insensitive loss factor ϵ . If the RBF Gaussian radial basis kernel function is selected, the free parameters to be optimized for SVR also include the width parameter σ of the Gaussian radial kernel function.
  • Initialize the bat population;
    This step includes pulse emission rate initialization, pulse loudness initialization, population initialization, flight speed initialization and pulse frequency initialization. Generally speaking, when initializing the bat population, it is often considered that the bat population is randomly distributed in a search space of a certain dimension, and the search dimension is the number of parameters that need to be optimized.
  • According to the setting of the model iteration of the bat algorithm, the bat is constantly looking for the optimal position in the search space, that is, constantly generating new solutions;
  • Calculate the fitness function;
    As the basis for selecting the best position (optimum solution) in the BA-SVR model, the adaptability functions generally include MSE, RMSE, MAPE and other functions. This paper refers to the literature [20], and uses the mean square error (MSE) as the fitness function of the model to verify the model, MSE = 1 n m i = 1 w i y i y ^ i 2
  • Get the optimal solution;
    According to the preset maximum number of iterations, when the number of iterations reaches the maximum number of iterations, the iteration is stopped, and the optimal solution is obtained. At this point the algorithm ends.

4. Parameters Selection and Empirical Design

4.1. Selection of Variables and Source of Data

In terms of variable selection, when forecasting stock index price and return, the opening prices, closing prices, lowest prices, highest prices, trading volume, and turnover are often considered. According to the extant literature, these six indicators of the stock index during four days or nine days before trading day are always used as input variables to predict future stock prices, for these indices would reflect adequate information of corresponding stock index [21,22,23,24]. Investors will get as much information about the stock index as possible and reflect all the information obtained by themselves in these six characteristics of the stock index. This information may not only include information related to the stock index but also include other information that may affect the closing price of the stock index, such as macroeconomic development and industrial policy. Therefore, the opening price, closing price, lowest price, highest price, trading volume and turnover during nine days before the trading day are used as multi-dimensional input variables in this paper, and the closing price on the 10th day is used as the predicted output variable for empirical prediction. The data used in this paper comes from the China Stock Market and Accounting Research (CSMAR) database.
In terms of empirical time selection, considering that the Chinese capital market was affected by the stock market crash in 2015, the time period of the total sample space is selected in this paper as 15 January 2016 (the 10th trading day in 2016) to 31 December 2020. That is, there are 21,762 pieces of data for each index of 1209 trading days. This paper uses the daily frequency data of the six characteristic variables of the 18 stock indexes in Table 1. In addition, this paper refers to the literature [24,25,26], the last 20 days, 60 days, and 250 days of the selected sample time are used as the test sets for short-term prediction, mid-term prediction, and long-term prediction, respectively. The other samples outside the forecast are the corresponding training sets.

4.2. Setting of the Initial Parameters of the BA-SVR Model

According to the implementation steps of the BA-SVR algorithm, the model parameters need to be set before the data iteration of the training set. Considering the total sample data dimension and data volume of the model in this paper, the initial parameters are set in this paper, including the maximum number of iterations maxgen = 30 , search dimensions (that is, the number of parameters that need to be optimized) dim = 3 , population size n = 30 , loudness attenuation coefficient α = 0.98 , rate enhancement coefficient γ = 0.98 , and minimum loudness A m i n = 0 , the minimum and maximum sound wave frequency f m i n = 0 , f m a x = 2 , the minimum and maximum bat flight speed v m i n = 1 , v m a x = 1 . In addition, in order to ensure the stability of the data, before the algorithm starts to run, both the training set and the test set data are normalized before the algorithm starts. After the initialization settings in this section, the following describes the specific process of the empirical research in detail.

4.3. The Compared Model Setting and the Steps of Forecasting Model

The innovation of the SVR forecasting model in this paper is that the bat algorithm parameters of the radial basis sum function are invoked to optimize the bat algorithm. In order to verify the accuracy of the SVR model after the bat algorithm optimization search when forecasting stock index prices, the polynomial kernel function SVR and the sigmoid kernel function SVR with default parameters are selected as the control group in this paper. The full sample interval used by these two types of comparison models are the same as those defined in the previous paper for the BA-SVR hybrid model, and the same last 20 days, 60 days and 250 days of data as the short-term, mid-term and long-term forecast groups of each index, respectively. The rest of the forecasting steps are the same as the BA-SVR described in the previous section. The difference is that the polynomial kernel function SVR model and the sigmoid kernel function SVR model use default initial parameters.

5. Empirical Research and Result Analysis

5.1. Tests for Panel Smoothness and Cointegration

Since 18 representative stock indices in the Chinese stock market are selected as the sample for this paper, a single time series smoothness test cannot be applied. For the research problem and the selected data, a panel unit root test is chosen to test the smoothness of the adopted data. Since the historical data of the six stock index characteristics used are all strongly balanced panels, and the sample selected for this paper is a long-sided version, i.e., the cross-sectional dimension is smaller than the time dimension. Therefore, the LLC test [27] is used here. The results are shown in Table 2, and the results indicate that four of the six stock index characteristics in this paper exhibit unbalanced and two exhibit balanced characteristics. We can also see this result more intuitively from the historical trend chart of these six characteristics (see Appendix A). In order to match the qualitative requirements of the panel cointegration test, it is necessary to ensure the smoothness of all data presented, so the unit root test is performed again on the first-order differences of all variables, and the results are shown in Table 3. It can be seen that all variables are smooth after first-order difference, and all six variables are first-order single integer.
To further investigate whether pseudo-regressions occur and to test for the existence of long-run cointegration relationships among all variables. This paper further performs cointegration tests on the six variables. Based on the results of the previous panel unit root test, all variables are first order single integer and cointegration tests are allowed. In this paper, the Westerlund test [28] is mainly used to test the cointegration of all variables. If, the p-value of the obtained results is less than 0.01, it indicates that there is a significant long-term cointegration relationship among the variables. The results of the four statistics in the Westerlund test [28,29] are shown in Table 4 below. The results in Table 4 show that all explanatory variables are significant at the 1% level of significance. There is a cointegration relationship among the six variables, and the possibility of pseudo-regression is excluded.

5.2. Evaluation Indicators for Predictive Effect

Prediction accuracy indicates how well a prediction model predicts the selected variables. Different accuracy measures are used to validate the fitness of a model for a particular data set. Typically, there are several accuracy measures such as mean error (ME), mean absolute error (MAE), mean absolute percentage error (MAPE), mean squared error (MSE) and mean square root error (RMSE). In order to investigate whether the prediction effect of the bat algorithm after improving the parameters of the SVR model is better than that of the same model without optimization, this paper integrates the existing regression prediction evaluation indexes. Three indicators of Root Mean Square Error (RMSE), Mean Absolute Error (MAE) and Mean Absolute Percentage Error (MAPE) are selected as the prediction accuracy indicators to compare and analyze the prediction accuracy of the BA-SVR hybrid prediction model with other control models. This criterion [17,30] has been used in previous studies.
RMSE = 1 n i = 1 n y i , predict y i , real 2
MAE = 1 n i = 1 n y i , predict y i , real
MAPE = 100 % n i = 1 n y i , predict y i , real y i , real
where y i , predict , y i , real and y ¯ real denote the predicted value, actual value, and the mean value of the actual value, respectively. According to the above definition, the three-regression goodness-of-fit evaluation indicators are all measuring the deviation between the predicted value of the model and the true value. The smaller these indicators, the better the degree of fitting. Since the algorithm normalizes and denormalizes the data in the model, the main purpose of this paper is to verify that the prediction of the SVR model after the bat algorithm optimization is relatively better than that of the default parameter SVR without optimization. Therefore, the predicted values after normalization are used in the calculation of the prediction values.

5.3. Comparison and Analysis of Short-Term Forecast Results

As mentioned above, the last 20, 60 and 250 days of the selected total sample time for the 18 indexes are used as short, medium and long term forecast groups for empirical testing, respectively. Furthermore, in order to verify that the proposed bat algorithm can optimize the parameters of the support vector regression model to obtain higher prediction accuracy. In this paper, the polynomial kernel function SVR with default parameters and the sigmoid kernel function SVR are selected for comparative analysis with the three evaluation metrics selected in the previous sections. Table 5 lists the three optimal initial parameters obtained after applying short-term training data andoptimizing them using the bat algorithm. Table 6 and Table 7 list the short-term forecast results and comprehensive comparison results obtained under the three models of the 18 stock indexes selected in the previous article.
As can be seen from Table 5, the bat algorithm seeking optimal SVR parameters is able to minimize the MSE as the fitness function based on the selected training set data of different stock indices and obtain the optimal parameters under different financial data sets. However, it should be clear that the optimal parameters obtained from the BA-SVR hybrid model optimization are based on the optimal fitness function set in the model. Therefore, when comparing the prediction performance of different models with other prediction accuracy evaluation indexes, different results may be obtained due to the different fitness functions. From Table 5, it can be concluded that the optimal parameter range of the penalty factor obtained by substituting the data of the 18 stock indices selected in this paper into the model ranges from 64.7818 to 97.6447. The absolute value of the optimal parameter range of the insensitive loss factor is between 0.0131 and 2.3154. The optimal range of the width parameter of the radial basis kernel function is between 1.1234 and 4.1270. Overall, the parameters of the 18 stock index short-term training group data are not significantly different after each optimization.
The short-term prediction results of the BA-SVR hybrid model (column 3), which is the main model used in this paper, and the short-term prediction results of the default free-parameter polynomial kernel function SVR model (column 4) and the default free-parameter sigmoid kernel function SVR model (column 5), which are selected as the control models in this paper, are shown in Table 6 for the models trained on the test set of 18 stock index data, respectively RMSE, MAE and MAPE values. Based on the forecasting results of the 18 stock indices under the three models, it can be seen that, except for the SSE B-share, CSI 500 and SZSE B-index, the forecasting performance of the other 15 stock indices derived from the BA-SVR model forecasts and the three evaluation indicators are the best values in the three models. The two data sets of SSE B-shares and SZSE B-index are more suitable for forecasting by the sigmoid kernel function SVR model. For the CSI 500, the polynomial kernel function SVR model shows better forecasting performance. However, in the overall view of the 18 stock indices, the SVR model after the bat algorithm search outperforms the other two control models with unoptimized free parameters in terms of short-term forecasting performance. Comparing the forecasting performance of the two control models, we can also see that the polynomial kernel function outperforms the sigmoid kernel function for 16 of the 18 indices. The opposite is true for the SZSE B and SSE B indices, where the RMSE and MAE of the sigmoid kernel function SVR model are smaller than those of the BA-SVR model and the polynomial kernel function SVR model.
Table 7 depicts the average results of the forecasting results under the three models for the 18 stock indices. From this table, it can be concluded that all three forecasting performance evaluation metrics, RMSE, MAE and MAPE, reflect that the SVR model after the bat algorithm optimization search exhibits higher forecasting performance improvement in the short term when analyzed in comparison with the two control models.

5.4. Comparison and Analysis of Mid-Term Forecast Results

As described above, the data of the last 60 days of the 18 stock indices in the total sample time selected in this paper are used as the prediction set data in the medium-term forecasting, and the other sample data are used as the training group. Table 8, Table 9 and Table 10 show the three SVR free parameters obtained from the mid-term bat algorithm search, the evaluation of the performance of the 18 stock indices for mid-term forecasting, and the combined evaluation table of the three models, respectively.
The optimal penalty factor ranges from 34.4416 to 97.3081 after the bat algorithm has been used to find the optimum for the medium-term training set data of 18 stock indices. The absolute value of the insensitive loss factor ranges from 0.1761 to 1.5592. The radial basis kernel function bandwidth parameter ranges from 1.4121 to 4.2374. The optimal free parameters obtained from the 18 stock index interim training group data and the bat algorithm after the optimization search of the interim data were brought into the SVR model, respectively. Compared with the two control models Polynomial kernel-SVR and Sigmoid kernel-SVR without the optimized free parameters, the results are shown in Table 9.
In terms of RMSE, MAE and MAPE values, similar to the short-term results, the three evaluation indicators generally have the same evaluation when comparing different models, and there are fewer cases of inconsistent results for the three indicators. For the medium-term forecasts of the selected 18 stock indices, the BA-SVR forecasting performance remains optimal in the results of 11 stock indices, having the smallest RMSE, MAE and MAPE. The BA-SVR does not obtain the optimal performance in the other seven groups of stock indices. The Sigmoid kernel function SVR model has the best forecasting performance among the three models for the medium-term forecasts of the SSE B-shares, SSE 50 and SZSE B-index. As for CSI 500, SZSI, SZSE Composite Index and SZSE A Index, the Polynomial kernel function SVR model has slightly higher forecasting performance than the BA-SVR model, but the difference is not significant. The medium-term forecasting performance of BA-SVR is lower than the short-term forecasting performance of BA-SVR except for SZSE B. The medium-term values of RMSE, MAE and MAPE are higher than the short-term values. In contrast to the BA-SVR model, the Polynomial kernel function SVR and Sigmoid kernel function SVR models with default free parameters have improved in some samples, such as the SSE Composite Index and SSE A shares, in terms of medium-term forecasting performance.
Combining the 18 stock indices, the BA-SVR model is still able to show better forecasting performance in medium-term forecasting when compared and contrasted with the two SVR models without the bat algorithm’s optimality-seeking parameters. Table 10 averages the three forecasting evaluation metrics for the 18 stock indices forecasting performance. The average of the medium-term forecast performance of RMSE, MAE and MAPE of the three models in Table 10 also shows that the BA-SVR model still has an advantage when compared with the SVR model with unseeking parameters in a cross-sectional manner. The medium-term average of all three evaluation metrics of BA-SVR is the smallest, followed by the Polynomial kernel function SVR. The Sigmoid kernel function SVR value is the largest. However, when comparing with the short-term prediction performance of the same model, it can also be found that the BA-SVR model’s medium-term prediction is mostly inferior to its short-term prediction, while the Polynomial kernel function support vector regression and Sigmoid kernel function support vector regression without the free parameters optimized by the bat algorithm do not show this characteristic obviously.

5.5. Comparison and Analysis of Long-Term Forecast Results

In this paper, we analyze the long-term forecasting performance of the three models for 18 stock indices using the data of the last 250 trading days within the selected full sample period as the forecast set for the long-term forecasting performance empirical evidence and the other data within the sample period as the training set. Table 11, Table 12 and Table 13 show the SVR parameters obtained from the long-term bat algorithm search, the evaluation metrics of the long-term forecasting performance of the three models, and the comparison of the mean values of the evaluation metrics, respectively. From Table 11, the optimal penalty factors for the 18 stock indices obtained by the bat algorithm and the SVR model mixed with the free parameter search optimization range from 41.5925 to 98.7044. The absolute values of the insensitive loss factors range from 0.0941 to 1.4540. The optimal range of the bandwidth parameter of the Gaussian radial basis kernel function is between 0.7957 and 2.6268. Bringing the free parameters obtained from the long-term bat algorithm search in Table 11 into the SVR model, we can obtain, in Table 12, the long-term forecasting results for the 18 stock indices for 250 trading days and the long-term forecasting effects of the two control models.
According to the results in Table 9, it can be seen that for the 18 stock indices, the long-term forecasting performance of the Sigmoid kernel function SVR model is the worst among the three models, implying that the RMSE, MAE and MAPE values are larger compared to the other two models in the same group. Experimental results for 13 of the 18 stock indices show that the BA-SVR model has higher forecasting performance than the polynomial kernel function SVR model. The values of RMSE, MAE and MAPE for the polynomial kernel function SVR model for the SSE Composite Index, SSE A shares and CSI 500 data are smaller than those of the BA-SVR model in the same group, indicating that the polynomial kernel function SVR model has better forecasting performance in these groups. The RMSE and MAE of the polynomial kernel function SVR model under the SSE B-share data are smaller than BA-SVR, but the MAPE is larger than BA-SVR. The RMSE of the polynomial kernel function SVR model under the SSE 380 data is smaller than BA-SVR, but the MAE and MAPE indicators are greater than the BA-SVR model.
While the BA-SVR model is not the best performing model in terms of forecasting in individual groups, the difference between the predicted RMSE, MAE and MAPE values of the BA-SVR model and the better polynomial kernel function SVR model is not significant in these groups. This difference is much smaller than the difference between these two models and the SVR model of the Sigmoid kernel function. In addition, the combined analysis of the 18 stock indices under the three forecasting models for forecasting performance evaluation model, and the results are shown in Table 13. On average, the long-term forecasting results show that BA-SVR has a better forecasting performance improvement compared with the polynomial kernel function SVR model with default free parameters and the Sigmoid kernel function SVR model.
Further, the changes in the BA-SVR model’s prediction performance in the short, medium and long term are then compared together. According to Table 6, Table 9 and Table 12, the forecasting performance of the BA-SVR model decreases to different degrees between different groups. Taking the SSE Composite Index as an example, the MAPE of the short-term BA-SVR model is 0.0329, the MAPE of the medium-term BA-SVR model is 0.0609, and the MAPE of the long-term BA-SVR model is 0.1756. The MAPE shows a gradual increase, which corresponds to the decrease in forecasting performance. This quality also matches with the average prediction performance of the BA-SVR model in the second column of Table 7, Table 10 and Table 13. Unlike the polynomial kernel function SVR model and the Sigmoid kernel function SVR model, this trait does not appear significantly, and for both control models, in some groups, there is a higher long-term prediction performance than the short-term and medium-term. Here is a comprehensive comparison of the changes in the performance of the BA-SVR model in the short, medium and long term. According to Table 6, Table 9 and Table 12, the predictive performance of BA-SVR models in different groups has decreased to varying degrees. Take the above stock index as an example, the MAPE of the short-term BA-SVR model is 0.0329, the MAPE of the medium-term BA-SVR model is 0.0609, and the MAPE of the long-term BA-SVR model is 0.1756. It can be clearly found that MAPE is showing a gradual upward trend, which corresponds to the decrease in prediction performance. Coincidentally, this characteristic also matches the average predicted performance of the BA-SVR model in the second column of Table 7, Table 10 and Table 13. In contrast, the polynomial kernel function SVR model and the Sigmoid kernel function SVR model do not have this characteristic, and the long-term prediction performance of these two comparison models is higher than that of the short-term and medium-term in some groups.
For the empirical investigation of the forecasting ability of the bat algorithm optimized SVR model constructed in this paper in different periods, based on the 18 mainland China stock indices and the full sample interval selected in this paper, the following conclusions can be drawn. The BA-SVR model has better stock index closing price forecasting performance, and the results are still roughly robust compared with the polynomial kernel function SVR model without optimized free parameters and the Sigmoid kernel function SVR model without optimized free parameters. The results are still roughly robust compared to the polynomial kernel SVR model without optimized free parameters and the Sigmoid kernel SVR model without optimized free parameters. However, the SVR model with free parameters optimized by the bat algorithm has higher predictive power for short-term stock index closing prices compared to the medium-term and long-term, while the two control models do not significantly exhibit this property.

6. Robustness Test

This chapter aims to test the robustness of the BA-SVR model from different angles. Referring to the stationarity test and cointegration test of each time series variable in the previous chapter, there is a cointegration relationship between each variable. However, to ensure the accuracy of the data, we take the stationary data after the first-order difference of the stock index characteristics as the input and output variables of the new prediction model, and we re-estimate the optimized three SVR model parameters. After changing the input variables and output variables into stable first-order differential stock index characteristic data, we use bat algorithm to optimize the SVR model. The three parameters optimized by bat algorithm of 18 stock indexes in the short, medium and long term are shown in Table 14. Table 14 shows that the optimal parameter range of the penalty factor obtained is between 34.6240 and 98.6366. The absolute value of the optimal parameter range of the intensive loss factor is between 0.0870 and 2.9864. The optimal range of the width parameter of the radial basis kernel function is between 0.9862 and 7.7466.
In addition, based on the existing literature, we introduce ANN model and random forest model with good prediction performance as the control model, and use the stationary time series data for training and prediction from the short-term, mid-term and long-term perspectives. The short-term, mid-term and long-term prediction performance results of BA-SVR model, ANN model and RF model are listed in Table 15, Table 16 and Table 17, respectively.
Following literature [31,32,33], we also conduct Diebold-Mariano test on the prediction residuals of the three models to prove the effectiveness of BA-SVR model in stock index prediction. When two time series have the same time length and the data meet the stationarity condition, DM detection is often used to detect whether one model is better than the other in terms of statistics. The calculation formula of DM statistics is as follows:
DM statistics = d mean d std
where d indicates the difference between the prediction residual sequences of two models. d mean indicates the mean value of time series d. d std indicates the standard error of time series data d. We mark the results of DM test by * and °, which indicate the comparison of BA-SVR model with RF model and ANN model, respectively.
It can be seen from Table 15 that the short-term prediction performance of BA-SVR model of 8 of the 18 stock indexes is significantly better than that of random forest model. The short-term prediction performance of BA-SVR model of 7 stock indexes is significantly better than ANN model. The short-term prediction performance of BA-SVR of only one stock index (SSE A shares) is significantly worse than that of ANN model. Therefore, in general, BA-SVR has certain advantages over the commonly used ANN model and RF model in the short-term prediction performance of stock index.
Note: Table 15, Table 16 and Table 17 presents the out of sample performance of BA-SVR and the benchmark Artificial Neural Network model and Random Forest model with the testing sample. We list three evaluation indicators, including RMSE, MAE and MAPE. *, **, *** indicate the prediction performance of BA-SVR model and RF model by DM test under the significance of 10 % , 5 % and 1 % , respectively. °, °°, °°° indicate the prediction performance of BA-SVR model and ANN model by DM test under the significance of 10 % , 5 % and 1 % , respectively.
In terms of medium-term prediction performance, 17 of the 18 sample stock indexes selected in this paper show that the prediction performance of BA-SVR model is better than that of RF model. Among the 18 stock indexes, 13 results show that the prediction performance of BA-SVR model is better than ANN model. Results in Table 15 and Table 16 show that compared with short-term prediction, BA-SVR model performs better than ANN model and RF model in predicting mid-term stock index price.
Table 17 shows the long-term prediction effects of the three models on stock index prices. Among the 18 stock indexes, results of 11 stock indexes show that the long-term prediction effect of BA-SVR model is better than that of RF model, and the results of 2 stock indexes show that the long-term prediction effect of BA-SVR model is significantly worse than that of RF model. Only one stock index shows that the prediction performance of BA-SVR model is better than ANN model, and the results of 8 stock indexes show that the prediction performance of BA-SVR model is significantly worse than ANN model. Nevertheless, generally speaking, BA-SVR model still has good prediction effect in short-term, medium-term and long-term stock index prediction. At the same time, bat algorithm may be more widely used in parameter optimization of various prediction models in the future.

7. Conclusions

In this paper, the bat algorithm in the swarm optimization algorithm is applied to optimize the free parameters of the Gaussian radial basis kernel function support vector regression model, and then the BA-SVR hybrid model is constructed. In this paper, the constructed BA-SVR hybrid model is applied to the closing price forecasting of 18 stock indices in the capital market of mainland China, and compares it with the forecast results of the control model in the short, medium and long term, and the following conclusions are obtained.
(1) The proposed BA-SVR model has better forecasting performance in the short, medium and long term.
(2) After comparing with the polynomial kernel function support vector regression and the Sigmoid kernel function SVR model without optimization of free parameters, the prediction performance of the BA-SVR model is still robust in different periods.
(3) The BA-SVR model has the best forecasting performance in the short-term, followed by the mid-term, and the lowest forecasting ability in the long term, while the other two control models have no such significant characteristics.
Overall, the BA-SVR model has certain advantages in the application of forecasting stock indices in financial markets, and the optimization of the bat algorithm is further applied to stock index forecasting, which also provides a new perspective on the application of the bat algorithm in finance.
In future research, more attention will be given to the prediction and optimization of this hybrid model in other financial and management problems, or to the setting and selection of initial free parameters by metaheuristic algorithms in other machine learning models, and to the implementation of these methods in other optimization problems.

Author Contributions

Conceptualization, Y.W.; methodology, Y.W. and S.L.; software, Y.W. and S.L.; validation, Y.W., S.L., H.C. and J.Z.; formal analysis, Y.W., S.L. and J.Z.; investigation, Y.W., S.L. and J.Z.; resources, J.Z.; data curation, Y.W. and S.L.; writing—original draft preparation, Y.W. and H.C.; Writing—review & editing, Y.W. and S.L.; visualization, Y.W., S.L. and J.Z.; supervision, J.Z.; project administration, J.Z.; funding acquisition, S.L. and J.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by the Fundamental Research Funds for the Central Universities under Grant No. CUSF-DH-D-2018050 and the NSFC Project (71871066).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data of China Stock Market & Accounting Research Database can be found here: [https://www.gtarsc.com], accessed on August 2021.

Acknowledgments

We gratefully acknowledge the anonymous reviewers for their insightful comments on the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Historical Records of Opening Price, Closing Price, Highest Price, Lowest Price, Trading Volume and Turnover for 18 Stock Index

We can more intuitively view the historical trend of the samples selected in this paper from Figure A1, Figure A2, Figure A3, Figure A4, Figure A5, Figure A6. It can be seen that the obvious trend of 18 stock index time series data cannot be found directly from the six charts. However, overall, the six characteristics of the 18 indexes are consistent in the historical change trend. In order to ensure the prediction ability of the selected input variables to the closing price of the stock index and avoid pseudo regression, we further carry out stationarity test and cointegration test on the time series data of six aspects of the stock index.
Figure A1. History of opening price in 18 Chinese stock index.
Figure A1. History of opening price in 18 Chinese stock index.
Algorithms 14 00299 g0a1
Figure A2. History of closing price in 18 Chinese stock index.
Figure A2. History of closing price in 18 Chinese stock index.
Algorithms 14 00299 g0a2
Figure A3. History of highest price in 18 Chinese stock index.
Figure A3. History of highest price in 18 Chinese stock index.
Algorithms 14 00299 g0a3
Figure A4. History of lowest price in 18 Chinese stock index.
Figure A4. History of lowest price in 18 Chinese stock index.
Algorithms 14 00299 g0a4
Figure A5. History of trading volume in 18 Chinese stock index.
Figure A5. History of trading volume in 18 Chinese stock index.
Algorithms 14 00299 g0a5
Figure A6. History of turnover in 18 Chinese stock index.
Figure A6. History of turnover in 18 Chinese stock index.
Algorithms 14 00299 g0a6

References

  1. Bustos, O.; Pomares-Quimbaya, A. Stock market movement forecast: A Systematic review. Expert Syst. Appl. 2020, 156, 113464. [Google Scholar] [CrossRef]
  2. Abounoori, E.; Tour, M. Stock market interactions among Iran, USA, Turkey, and UAE. Phys. A Stat. Mech. Its Appl. 2019, 524, 297–305. [Google Scholar] [CrossRef]
  3. Du, W. News and Market Efficiency in the Japanese Stock Market. J. Behav. Financ. 2021, 22, 306–319. [Google Scholar] [CrossRef]
  4. Gradojevic, N.; Yang, J. Non-linear, non-parametric, non-fundamental exchange rate forecasting. J. Forecast. 2006, 25, 227–245. [Google Scholar] [CrossRef]
  5. Liu, J.; Ma, F.; Zhang, Y.J. Forecasting the Chinese stock volatility across global stock markets. Phys. A Stat. Mech. Its Appl. 2019, 525, 466–477. [Google Scholar] [CrossRef]
  6. Vlah Jerić, S.; Anđelinović, M. Evaluating Croatian stock index forecasts. Empir. Econ. 2019, 56, 1325–1339. [Google Scholar] [CrossRef]
  7. Cheng, H.; Shi, Y.D. Forecasting China’s stock market variance. Pac.-Basin Financ. J. 2020, 64, 101421. [Google Scholar] [CrossRef]
  8. Harel, A.; Harpaz, G. Forecasting stock prices. Int. Rev. Econ. Financ. 2021, 73, 249–256. [Google Scholar] [CrossRef]
  9. Wu, H.; Long, H.M.; Wang, Y.; Wang, Y.Q. Stock index forecasting: A new fuzzy time series forecasting method. J. Forecast. 2021, 4, 653–666. [Google Scholar] [CrossRef]
  10. Li, M.W.; Geng, J.; Wang, S.; Hong, W.C. Hybrid Chaotic Quantum Bat Algorithm with SVR in Electric Load Forecasting. Energies 2017, 10, 2180. [Google Scholar] [CrossRef] [Green Version]
  11. Zhang, B.; Liu, W.; Li, S.T.; Wang, W.G.; Zou, H.; Dou, Z.H. Short-term load forecasting based on wavelet neural network with adaptive mutation bat optimization algorithm. IEEJ Trans. Electr. Electron. Eng. 2019, 14, 376–382. [Google Scholar] [CrossRef]
  12. Hong, W.C.; Li, M.W.; Geng, J.; Zhang, Y. Novel chaotic bat algorithm for forecasting complex motion of floating platforms. Appl. Math. Model. 2019, 72, 425–443. [Google Scholar] [CrossRef]
  13. Wu, Q.; Lin, H. Short-Term Wind Speed Forecasting Based on Hybrid Variational Mode Decomposition and Least Squares Support Vector Machine Optimized by Bat Algorithm Model. Sustainability 2019, 11, 652. [Google Scholar] [CrossRef] [Green Version]
  14. Chang, J.F.; Yang, T.W.; Tsai, P.W. Stock Portfolio Construction Using Evolved Bat Algorithm. Mod. Adv. Appl. Intell. 2014, 8481, 331–338. [Google Scholar]
  15. Hafezi, R.; Shahrabi, J.; Hadavandi, E. A bat-neural network multi-agent system (BNNMAS) for stock price prediction: Case study of DAX stock price. Appl. Soft Comput. 2015, 29, 196–210. [Google Scholar] [CrossRef]
  16. Golmaryami, G.; Behzadi, M.; Ahmadzadeh, M. A hybrid method based on neural networks and a meta-heuristic bat algorithm for stock price prediction. In Proceedings of the 2015 2nd International Conference on Knowledge-Based Engineering and Innovation (KBEI), Tehran, Iran, 5–6 November 2015; Volume 2, pp. 269–275. [Google Scholar]
  17. Mallikarjuna, M.; Rao, R.P. Evaluation of forecasting methods from selected stock market returns. Financ. Innov. 2019, 5, 40. [Google Scholar] [CrossRef] [Green Version]
  18. 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]
  19. Yang, X. A New Metaheuristic Bat-Inspired Algorithm. In Studies in Computational Intelligence; González, J.R., Pelta, D.A., Cruz, C., Terrazas, G., Krasnogor, N., Eds.; Springer: Berlin, Germany, 2010; pp. 65–74. [Google Scholar]
  20. Tang, X.; Zhang, R.; Liu, L. Research on second-hand housing price prediction in Beijing based on bat algorithm SVR model. Stat. Res. 2018, 35, 71–81. [Google Scholar]
  21. Slowinski, R.; Zopounidis, C. Application of the rough set approach to evaluation of bankruptcy risk. Intell. Syst. Account. Financ. Manag. 1995, 4, 27–41. [Google Scholar] [CrossRef]
  22. Kim, K.; Han, I. Genetic algorithms approach to feature discretization in artificial neural networks for the prediction of stock price index. Expert Syst. Appl. 2000, 19, 125–132. [Google Scholar] [CrossRef]
  23. Zhang, Y.; Wu, L. Stock market prediction of S & P 500 via combination of improved BCO approach and BP neural network. Expert Syst. Appl. 2009, 36, 8849–8854. [Google Scholar]
  24. Guresen, E.; Kayakutlu, G.; Daim, T.U. Using artificial neural network models in stock market index prediction. Expert Syst. Appl. 2011, 38, 10389–10397. [Google Scholar] [CrossRef]
  25. El-Rashidy, M.A. A novel system for fast and accurate decisions of gold-stock markets in the short-term prediction. Neural Comput. Appl. 2021, 33, 393–407. [Google Scholar] [CrossRef]
  26. Moghaddam, A.H.; Moghaddam, M.H.; Esfandyari, M. Stock market index prediction using artificial neural network. J. Econ. Financ. Adm. Sci. 2016, 21, 89–93. [Google Scholar] [CrossRef] [Green Version]
  27. Juodis, A.; Poldermans, R.W. Backward mean transformation in unit root panel data models. Econ. Lett. 2021, 4, 109780. [Google Scholar] [CrossRef]
  28. Westerlund, J. New Simple Tests for Panel Cointegration. Econom. Rev. 2005, 24, 297–316. [Google Scholar] [CrossRef]
  29. Westerlund, J. Data Dependent Endogeneity Correction in Cointe grated Panels. Oxf. Bull. Econ. Stat. 2005, 67, 691–705. [Google Scholar] [CrossRef]
  30. Pan, W.T.; Han, S.Z.; Yang, H.L.; Chen, X.Y. Prediction of mutual fund net value based on data mining model. Clust. Comput. 2019, 22, 9455–9460. [Google Scholar] [CrossRef]
  31. Harvey, D.I.; Leybourne, S.J.; Newbold, P. Tests for forecast encompassing. J. Bus. Econ. Stat. 1998, 16, 254–259. [Google Scholar]
  32. Carvalhal, A.; de Melo Mendes, B.V. Evaluating the forecast accuracy of emerging market stock returns. Emerg. Mark. Financ. Trade 2008, 44, 21–40. [Google Scholar] [CrossRef]
  33. Diebold, F.X.; Mariano, R.S. Com paring predictive accuracy. J. Bus. Econ. Stat. 1995, 13, 253–263. [Google Scholar]
Table 1. The name and code of the selected stock index.
Table 1. The name and code of the selected stock index.
IndexIndex NameAbbreviationIndex CodeStart Time
The Shanghai Composite IndexShanghai Composite IndexSSE000001.SH15 July 1991
Shanghai A-Share IndexSSE A shares000002.SH21 February 1992
Shanghai Stock Exchange B-Share IndexSSE B shares000003.SH17 August 1992
Shanghai Stock Exchange 380SSE 380000009.SH29 November 2010
Shanghai Stock Exchange 180 IndexSSE 180000010.SH1 July 2002
Shanghai Stock Exchange 50 IndexSSE 50000016.SH2 January 2004
China Securities IndexChina Securities Index 300 IndexCSI 300000300.SH8 April 2005
China Securities Index 1000 IndexCSI 1000000852.SH17 October 2014
China Securities Index 100 IndexCSI 100000903.SH29 May 2006
China Securities Index 500 IndexCSI 500000905.SH15 January 2007
China Securities Index 800 IndexCSI 800000906.SH15 January 2007
Shenzhen Stock Exchange IndexShenzhen Stock Exchange Component Index (Price)SZCI399001.SZ23 January 1995
Shenzhen Stock Exchange Constituent B-Share IndexSZSE B shares399003.SZ23 January 1995
Shenzhen Stock Exchange Composite IndexSZSE399106.SZ4 April 1991
Shenzhen Constituent A Share IndexSZSE A shares399107.SZ4 April 1991
Small and Medium Board IndexSME 100 IndexSME399005.SZ24 January 2006
SME 300 IndexSME 300399008.SZ22 March 2010
SME Composite IndexSME CI399101.SZ1 December 2005
Table 2. Results of the LLC panel unit root test for the variables.
Table 2. Results of the LLC panel unit root test for the variables.
IndexStatisticsp-ValueStability
closing_price3.07420.9989non-stationary
opening_price2.38970.9916non-stationary
highest_price3.63480.9999non-stationary
lowest_price1.74060.9591non-stationary
trading_volume−27.15310.0000Stable
turnover−22.16960.0000Stable
Table 3. Results of LLC panel unit root test for first-order differences of variables.
Table 3. Results of LLC panel unit root test for first-order differences of variables.
IndexStatisticsp-ValueStability
D. closing_price 2.5 × e 2 0.0000Stable
D. opening_price 2.6 × e 2 0.0000Stable
D. highest_price 2.2 × e 2 0.0000Stable
D. lowest_price 2.3 × e 2 0.0000Stable
D. trading_volume 2.1 × e 2 0.0000Stable
D. turnover 2.1 × e 2 0.0000Stable
Table 4. Results of covariate cointegration test.
Table 4. Results of covariate cointegration test.
Statisticsz-Valuep-Value
Gt statistic−35.907−140.5660.0000
Ga statistic 1.3 × e 3 −737.7130.0000
Pt statistic−156.912−121.8650.0000
Pa statistic 1.4 × e 3 −723.2170.0000
Table 5. SVR parameters obtained by short-term bat algorithm optimization.
Table 5. SVR parameters obtained by short-term bat algorithm optimization.
IndexC ϵ σ
SSE95.97700.09072.6613
SSE A shares79.99520.80212.5208
SSE B shares64.8835−0.38531.6273
SSE 38094.20180.06011.1234
SSE 18092.75420.72411.5854
SSE 5065.05372.25301.6814
CSI 30086.8630−0.22761.3855
CSI 100073.35920.50462.4751
CSI 10073.0068−0.01311.4336
CSI 50096.51402.31544.1270
CSI 80072.19781.63161.5218
SZCI81.68920.91072.8827
SZSE B shares67.3532−0.28371.7597
SZSE93.4442−0.14531.8848
SZSE A shares64.78180.94741.7707
SME82.82610.46802.0065
SME 30083.43040.07401.9187
SME CI97.64470.75311.3207
Table 6. The 20-day short-term forecast effect of 18 stock indexes.
Table 6. The 20-day short-term forecast effect of 18 stock indexes.
IndexEvaluation IndexBA-SVRPoly-SVRSigm-SVR
SSE RMSE 0.03360.08510.9655
MAE 0.02790.07660.9583
MAPE 0.03290.09141.1311
SSE A shares RMSE 0.03320.08600.9883
MAE 0.02750.07750.9813
MAPE 0.03240.09211.1551
SSE B shares RMSE 0.03410.08430.0178
MAE 0.02460.08360.0162
MAPE 0.10910.37530.0714
SSE 380 RMSE 0.03190.03340.7144
MAE 0.02520.02820.7104
MAPE 0.03060.03450.8578
SSE 180 RMSE 0.07470.25442.6924
MAE 0.06910.25192.6898
MAPE 0.07120.26182.7865
SSE 50 RMSE 0.16730.27252.9874
MAE 0.16310.26942.9853
MAPE 0.16730.27873.0778
CSI 300 RMSE 0.07680.25183.1914
MAE 0.07130.24783.1871
MAPE 0.07260.25553.2739
CSI 1000 RMSE 0.02420.07520.5674
MAE 0.02010.07390.5662
MAPE 0.04240.15331.1819
CSI 100 RMSE 0.11570.32422.9216
MAE 0.10890.32042.9181
MAPE 0.11140.32982.9944
CSI 500 RMSE 0.03920.02880.4527
MAE 0.03290.02200.4318
MAPE 0.04170.02770.5424
CSI 800 RMSE 0.03690.19783.0010
MAE 0.03040.19412.9954
MAPE 0.03110.20183.1007
SZCI RMSE 0.05730.11592.6407
MAE 0.05000.11332.6377
MAPE 0.05110.11752.7238
SZSE B shares RMSE 0.15650.18450.1226
MAE 0.13130.14850.1109
MAPE 0.12880.14690.1098
SZSE RMSE 0.03450.12062.5561
MAE 0.02750.11822.5533
MAPE 0.02910.12582.7060
SZSE A shares RMSE 0.03370.11992.5568
MAE 0.02700.11752.5540
MAPE 0.02860.12512.7076
SME RMSE 0.03530.11702.3135
MAE 0.02880.11332.3106
MAPE 0.03040.12122.4594
SME 300 RMSE 0.02000.10211.8328
MAE 0.01660.09861.8309
MAPE 0.01860.11102.0489
SME CI RMSE 0.04530.07431.5805
MAE 0.03440.06691.5758
MAPE 0.03910.07621.7799
Table 7. Comparison of short-term forecast results.
Table 7. Comparison of short-term forecast results.
AlgorithmBA-SVRPoly-SVRSigm-SVR
Average short-term RMSE0.05830.14041.7834
Average short-term MAE0.05090.13451.7785
Average short-term MAPE0.05940.16251.9282
Table 8. SVR parameters obtained by mid-term bat algorithm optimization.
Table 8. SVR parameters obtained by mid-term bat algorithm optimization.
IndexC ϵ σ
SSE92.95840.45142.7690
SSE A shares62.90680.63142.6689
SSE B shares88.2247−0.50903.8687
SSE 38071.77240.24041.1615
SSE 18082.88801.17622.3351
SSE 5084.1108−0.85701.6173
CSI 30096.91911.55921.1395
CSI 100034.4416−1.32932.5553
CSI 10063.99390.14991.4121
CSI 50062.94021.03324.2374
CSI 80075.4408−0.17611.3945
SZCI94.48471.02232.9350
SZSE B shares97.30810.43581.8542
SZSE96.79840.84351.7298
SZSE A shares97.0854−0.96341.8159
SME57.07951.18201.8202
SME 30064.5638−0.78801.8680
SME CI94.68320.21731.4299
Table 9. The 60-day mid-term forecast effect of 18 stock indexes.
Table 9. The 60-day mid-term forecast effect of 18 stock indexes.
IndexEvaluation IndexBA-SVRPoly-SVRSigm-SVR
SSE RMSE 0.05820.06520.7365
MAE 0.05000.05230.6584
MAPE 0.06090.06410.7932
SSE A shares RMSE 0.05690.06620.7508
MAE 0.04870.05320.6720
MAPE 0.05910.06490.8076
SSE B shares RMSE 0.06740.06230.0241
MAE 0.04590.05520.0192
MAPE 0.18890.23040.0761
SSE 380 RMSE 0.03490.04080.6151
MAE 0.02810.03310.5767
MAPE 0.03400.04020.6925
SSE 180 RMSE 0.28310.26522.0813
MAE 0.23530.24002.0152
MAPE 0.23000.23872.0172
SSE 50 RMSE 0.27070.29460.1265
MAE 0.21590.27390.1216
MAPE 0.21060.27370.1214
CSI 300 RMSE 0.27290.33062.7017
MAE 0.24670.30282.6301
MAPE 0.23500.29012.5368
CSI 1000 RMSE 0.03590.08960.5897
MAE 0.02890.08690.5886
MAPE 0.05870.17251.1816
CSI 100 RMSE 0.37170.43993.4173
MAE 0.32310.40713.3055
MAPE 0.29470.37623.0735
CSI 500 RMSE 0.04250.03950.4184
MAE 0.03380.03080.3812
MAPE 0.04190.03790.4719
CSI 800 RMSE 0.18460.21982.2432
MAE 0.17160.19972.1894
MAPE 0.17460.20392.2435
SZCI RMSE 0.20900.15281.9303
MAE 0.20320.14191.9018
MAPE 0.21460.15002.0113
SZSE B shares RMSE 0.10400.14570.0887
MAE 0.07100.12840.0668
MAPE 0.08010.17040.0762
SZSE RMSE 0.17930.16352.2240
MAE 0.17250.15612.2072
MAPE 0.18240.16612.3401
SZSE A shares RMSE 0.17880.16352.2268
MAE 0.17210.15612.2101
MAPE 0.18200.16612.3436
SME RMSE 0.11770.15461.8209
MAE 0.10620.14701.8049
MAPE 0.11390.15901.9451
SME 300 RMSE 0.09990.12921.5626
MAE 0.08680.12301.5528
MAPE 0.09690.13881.7423
SME CI RMSE 0.05630.10501.4739
MAE 0.04310.09831.4623
MAPE 0.04820.11051.6348
Table 10. Comparison of mid-term forecast results.
Table 10. Comparison of mid-term forecast results.
AlgorithmBA-SVRPoly-SVRSigm-SVR
Average Mid-Term RMSE0.14570.16271.3907
Average Mid-Term MAE0.12680.14921.3535
Average Mid-Term MAPE0.13930.16961.4505
Table 11. SVR parameters obtained by long-term bat algorithm optimization.
Table 11. SVR parameters obtained by long-term bat algorithm optimization.
IndexC ϵ σ
SSE46.78411.80621.2239
SSE A shares55.30200.09411.4064
SSE B shares98.70440.90202.1627
SSE 38097.04191.10142.6268
SSE 18055.30280.76251.3201
SSE 5041.59260.80200.9744
CSI 30095.57731.43531.5305
CSI 100097.75170.21032.7517
CSI 10057.94511.22450.7957
CSI 50047.60281.45402.4417
CSI 80095.05460.81722.0737
SZCI70.17961.36871.4546
SZSE B shares92.49550.66671.5814
SZSE72.8900−0.42671.0070
SZSE A shares94.27920.28990.8999
SME95.4082−0.62401.9613
SME 30087.26090.84861.7831
SME CI72.48810.85111.5453
Table 12. The 250-day long-term forecast effect of 18 stock indexes.
Table 12. The 250-day long-term forecast effect of 18 stock indexes.
IndexEvaluation IndexBA-SVRPoly-SVRSigm-SVR
SSE RMSE 0.14530.11470.6738
MAE 0.10330.08300.4761
MAPE 0.17560.14250.6693
SSE A shares RMSE 0.15030.11720.6827
MAE 0.10760.08500.4824
MAPE 0.18110.14430.6749
SSE B shares RMSE 0.45610.33420.0633
MAE 0.33750.31410.0540
MAPE 9.499811.08531.6000
SSE 380 RMSE 0.16990.15320.9220
MAE 0.10630.11860.6649
MAPE 0.13660.15850.8050
SSE 180 RMSE 0.41300.47090.1376
MAE 0.30360.34690.1084
MAPE 0.27960.32910.1074
SSE 50 RMSE 0.41560.50912.8872
MAE 0.30830.37092.1719
MAPE 0.28000.34101.9834
CSI 300 RMSE 0.55260.88573.3729
MAE 0.41040.62932.4598
MAPE 0.33950.52082.0195
CSI 1000 RMSE 0.06260.08360.5834
MAE 0.04460.07000.5532
MAPE 0.12060.15031.3440
CSI 100 RMSE 0.42760.63350.1540
MAE 0.30520.44070.1213
MAPE 0.26740.39120.1145
CSI 500 RMSE 0.17020.13450.8757
MAE 0.12090.09810.6133
MAPE 0.15980.13840.7756
CSI 800 RMSE 0.51210.65443.5002
MAE 0.38730.47912.5436
MAPE 0.33900.42452.1716
SZCI RMSE 0.60691.08945.5251
MAE 0.47340.79864.1649
MAPE 0.36030.59513.1142
SZSE B shares RMSE 0.06120.10670.0604
MAE 0.04160.09310.0430
MAPE 0.10070.24220.1050
SZSE RMSE 0.35590.48042.9184
MAE 0.27280.36232.1387
MAPE 0.26410.35442.0001
SZSE A shares RMSE 0.35880.47792.9256
MAE 0.27490.26052.1438
MAPE 0.26610.35262.0037
SME RMSE 0.54400.69263.9422
MAE 0.44610.50992.9136
MAPE 0.39600.43392.4305
SME 300 RMSE 0.36980.40282.4111
MAE 0.28910.31101.7876
MAPE 0.28170.31191.7096
SME CI RMSE 0.23430.30692.0145
MAE 0.16510.23581.4856
MAPE 0.18050.25931.5401
Table 13. Comparison of long-term forecast results.
Table 13. Comparison of long-term forecast results.
AlgorithmBA-SVRPoly-SVRSigm-SVR
Average long-Term RMSE0.33360.42491.8695
Average long-Term MAE0.24990.31151.3848
Average long-Term MAPE0.75710.90971.3982
Table 14. SVR parameters obtained by bat algorithm optimization.
Table 14. SVR parameters obtained by bat algorithm optimization.
IndexShort-TermMid-TermLong-Term
C ϵ σ C ϵ σ C ϵ σ
SSE92.18701.54303.453197.7989−1.05483.034665.00881.99156.9968
SSE A shares83.35001.56943.425493.43761.03951.910185.6545−0.50271.7909
SSE B shares72.25222.22447.216181.48710.75866.940678.24380.35275.2441
SSE 38063.40060.93092.866072.48770.46261.464864.78661.20683.4790
SSE 18097.8086−0.08851.963463.27470.08701.991534.62401.34521.4367
SSE 5080.6717−1.34187.746682.5119−0.07472.495274.83391.58161.8929
CSI 30064.9679−0.49541.825165.10471.76773.131241.16260.60653.0861
CSI 100086.6073−1.10374.080886.2068−0.10232.304198.1962−0.59422.2892
CSI 10097.49210.91982.488197.86941.33111.409247.4538−2.59954.2032
CSI 50095.11801.03081.618998.63661.02510.986256.53701.06571.4587
CSI 80070.57040.38551.493170.0704−0.51953.655274.78480.49261.2072
SZCI92.63520.50071.715593.89851.31101.851897.6783−0.28424.9229
SZSE B shares96.75320.75732.048695.69320.58034.513695.1250−0.14382.0687
SZSE96.0039−0.94074.295589.05492.98644.353138.28500.17281.9718
SZSE A shares61.64650.82134.523778.30690.51114.315492.81770.92071.9331
SME74.1619−0.43551.838786.71371.41741.657997.79210.17121.0771
SME 30062.8023−0.09981.674873.43350.23841.578592.5224−0.92753.1618
SME CI76.84810.97302.612678.11620.87154.690176.15690.97121.8100
Table 15. The 20-day short-term forecast effect of 18 stock indexes.
Table 15. The 20-day short-term forecast effect of 18 stock indexes.
IndexEvaluation IndexBA-SVRANNRF
SSERMSE0.08620.06810.0759
MAE0.06850.05400.0625
MAPE0.12320.09510.1135
SSE A sharesRMSE0.08640.1268 °°0.0701
MAE0.06880.1050 °°0.0574
MAPE0.12370.1778 °°0.1051
SSE B sharesRMSE0.0697 ***°°0.05090.0466
MAE0.0563 ***°°0.04260.0362
MAPE0.0899 ***°°0.06740.0567
SSE 380RMSE0.1003*0.08560.0806
MAE0.0831 *0.06770.0658
MAPE0.1316 *0.11250.1065
SSE 180RMSE0.1117 *0.08870.0755
MAE0.0861 *0.07020.0630
MAPE0.1673 *0.12750.1226
SSE 50RMSE0.07530.06960.0694
MAE0.06270.05740.0569
MAPE0.12860.11970.1148
CSI 100RMSE0.07740.07980.0704
MAE0.06620.06710.0582
MAPE0.12740.13150.1098
CSI 500RMSE0.1613 **°°0.08970.0935
MAE0.1363 **°°0.07320.0780
MAPE0.2202 **°°0.12560.1330
CSI 300RMSE0.09430.08900.0784
MAE0.07460.07580.0643
MAPE0.13390.14410.1175
CSI 1000RMSE0.0997 *°°0.07300.0780
MAE0.0834 *°°0.06040.0610
MAPE0.1308 *°°0.09520.0986
CSI 800RMSE0.12560.08770.0893
MAE0.09920.07260.0732
MAPE0.17440.13040.1275
SZCIRMSE0.1641 **°°0.10770.1023
MAE0.1347 **°°0.07920.0828
MAPE0.2130 **°°0.11840.1322
SZSE B sharesRMSE0.13850.14420.1165
MAE0.11170.12770.0998
MAPE0.14640.16600.1339
SZSERMSE0.13080.10980.1069
MAE0.11040.09370.0880
MAPE0.17000.14640.1406
SZSE A sharesRMSE0.12900.11360.1078
MAE0.10930.09410.0881
MAPE0.16850.15040.1422
SMERMSE0.1572 **°0.11210.1022
MAE0.1226 **°0.09130.0812
MAPE0.1920 **°0.14360.1303
SME 300RMSE0.1683 °°°0.11090.0978
MAE0.1462 °°°0.08630.0789
MAPE0.2385 °°°0.14540.1279
SME CIRMSE0.1485 **°°0.08900.0922
MAE0.1214 **°°0.07290.0767
MAPE0.1938 **°°0.11940.1253
Table 16. The 60-day mid-term forecast effect of 18 stock indexes.
Table 16. The 60-day mid-term forecast effect of 18 stock indexes.
IndexEvaluation IndexBA-SVRANNRF
SSERMSE0.0980 ***°°°0.07290.0732
MAE0.0782 ***°°°0.05620.0578
MAPE0.1390 ***°°°0.09680.1007
SSE A sharesRMSE0.1137 ***°°°0.07250.0720
MAE0.0903 ***°°°0.05810.0572
MAPE0.1607 ***°°°0.10390.0992
SSE B sharesRMSE0.0832 ***°°°0.06310.0612
MAE0.0642 ***°°°0.05030.0465
MAPE0.1030 ***°°°0.08240.0750
SSE 380RMSE0.1375 ***°°°0.09880.0874
MAE0.1107 ***°°°0.08020.0681
MAPE0.1727 ***°°°0.12430.1084
SSE 180RMSE0.1270 ***°°°0.08990.0795
MAE0.1017 ***°°°0.07120.0624
MAPE0.1870 ***°°°0.13550.1168
SSE 50RMSE0.1199 ***°°°0.08100.0761
MAE0.0974 ***°°°0.06670.0596
MAPE0.1900 ***°°°0.13540.1164
CSI 300RMSE0.1089 **°°0.08520.0844
MAE0.0896 **°°0.06980.0670
MAPE0.1557 **°°0.12340.1158
CSI 1000RMSE0.1199 ***°°0.08250.0810
MAE0.0909 ***°°0.06450.0616
MAPE0.1397 ***°°0.10490.0966
CSI 100RMSE0.1224 ***°°°0.08700.0795
MAE0.0946 ***°°°0.07160.0630
MAPE0.1702 ***°°°0.12720.1144
CSI 500RMSE0.1618 ***°°°0.09480.0955
MAE0.1280 ***°°°0.07400.0754
MAPE0.2073 ***°°°0.11990.1221
CSI 800RMSE0.1112 ***0.10380.0875
MAE0.0911 ***0.08150.0702
MAPE0.1541 ***0.13520.1188
SZCIRMSE0.1691 ***°°°0.11240.1188
MAE0.1369 ***°°°0.08940.0960
MAPE0.2150 ***°°°0.14210.1497
SZSE B sharesRMSE0.11550.12470.1076
MAE0.09120.10050.0878
MAPE0.11890.12780.1150
SZSERMSE0.1306 ***0.12500.1142
MAE0.1088 ***0.09970.0899
MAPE0.1705 ***0.15310.1425
SZSE A sharesRMSE0.1309 ***0.12310.1160
MAE0.1090 ***0.09800.0918
MAPE0.1710 ***0.15290.1438
SMERMSE0.1561 ***°°0.12340.1178
MAE0.1306 ***°°0.09810.0954
MAPE0.2064 ***°°0.16650.1556
SME 300RMSE0.1820 ***°°°0.10960.1126
MAE0.1550 ***°°°0.08860.0922
MAPE0.2469 ***°°°0.14400.1494
SME CIRMSE0.1200 **0.11930.1054
MAE0.0963 **0.09580.0853
MAPE0.1548 **0.15090.1379
Table 17. The 250-day long-term forecast effect of 18 stock indexes.
Table 17. The 250-day long-term forecast effect of 18 stock indexes.
IndexEvaluation IndexBA-SVRANNRF
SSERMSE0.11620.1331 °°°0.1204 **
MAE0.08000.0957 °°°0.0834 **
MAPE0.18770.2173 °°°0.1935 **
SSE A sharesRMSE0.12180.1440 °°°0.1201
MAE0.08630.1062 °°°0.0831
MAPE0.20010.2530 °°°0.1931
SSE B sharesRMSE0.1022 ***0.09920.0935
MAE0.0760 ***0.06970.0634
MAPE0.1664 ***0.16200.1467
SSE 380RMSE0.11830.1659 °°°0.1178
MAE0.08900.1102 °°°0.0842
MAPE0.39270.4553 °°°0.4163
SSE 180RMSE0.1408 ***0.14620.1323
MAE0.1040 ***0.10340.0924
MAPE0.3530 ***0.34490.3258
SSE 50RMSE0.1446 **0.1547 °0.1380
MAE0.1062 **0.1121 °0.0987
MAPE0.3367 **0.2898 °0.3257
CSI 300RMSE0.14180.15210.1428
MAE0.10260.11210.1021
MAPE2.66381.22952.6684
CSI 1000RMSE0.1165 ***0.12660.1076
MAE0.0885 ***0.08810.0779
MAPE0.1564 ***0.16400.1411
CSI 100RMSE0.13560.1909 °°°0.1348
MAE0.09670.1254 °°°0.0961
MAPE0.32530.4934 °°°0.3289
CSI 500RMSE0.1430 ***0.15260.1279
MAE0.1107 ***0.10940.0931
MAPE0.2753 ***0.30060.2645
CSI 800RMSE0.1516 ***0.14440.1411
MAE0.1120 ***0.10150.1009
MAPE0.3198 ***0.30600.3006
SZCIRMSE0.16180.1831 °°0.1676**
MAE0.11930.1302 °°0.1243 **
MAPE0.48840.3762 °°0.4900 **
SZSE B sharesRMSE0.1771 ***°°°0.15490.1504
MAE0.1303 ***°°°0.11350.1119
MAPE0.2398 ***°°°0.21600.2073
SZSERMSE0.1599 ***0.16170.1505
MAE0.1228 ***0.11430.1107
MAPE0.2942 ***0.30120.2763
SZSE A sharesRMSE0.1604 **0.16750.1515
MAE0.1233 **0.12030.1106
MAPE0.2963 **0.31060.2781
SMERMSE0.1938 ***0.2474 °°°0.1788
MAE0.1462 ***0.1760 °°°0.1337
MAPE0.7699 ***0.9326 °°°0.7551
SME 300RMSE0.15780.1781 °°0.1553
MAE0.11830.1295 °°0.1152
MAPE0.31240.3257 °°0.3049
SME CIRMSE0.1572 ***0.14900.1430
MAE0.1191 ***0.10670.1049
MAPE0.3665 ***0.37110.3525
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zheng, J.; Wang, Y.; Li, S.; Chen, H. The Stock Index Prediction Based on SVR Model with Bat Optimization Algorithm. Algorithms 2021, 14, 299. https://doi.org/10.3390/a14100299

AMA Style

Zheng J, Wang Y, Li S, Chen H. The Stock Index Prediction Based on SVR Model with Bat Optimization Algorithm. Algorithms. 2021; 14(10):299. https://doi.org/10.3390/a14100299

Chicago/Turabian Style

Zheng, Jianguo, Yilin Wang, Shihan Li, and Hancong Chen. 2021. "The Stock Index Prediction Based on SVR Model with Bat Optimization Algorithm" Algorithms 14, no. 10: 299. https://doi.org/10.3390/a14100299

APA Style

Zheng, J., Wang, Y., Li, S., & Chen, H. (2021). The Stock Index Prediction Based on SVR Model with Bat Optimization Algorithm. Algorithms, 14(10), 299. https://doi.org/10.3390/a14100299

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop