Next Article in Journal
Fractional-Order Gas Film Model
Next Article in Special Issue
An Analysis of the Fractional-Order Option Pricing Problem for Two Assets by the Generalized Laplace Variational Iteration Approach
Previous Article in Journal
Optimal Control for k × k Cooperative Fractional Systems
Previous Article in Special Issue
Multifractal Characteristics of China’s Stock Market and Slump’s Fractal Prediction
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Stock Prediction Model Based on Mixed Fractional Brownian Motion and Improved Fractional-Order Particle Swarm Optimization Algorithm

School of Information Science and Engineering, Yunnan University, Kunming 615202, China
*
Author to whom correspondence should be addressed.
Fractal Fract. 2022, 6(10), 560; https://doi.org/10.3390/fractalfract6100560
Submission received: 13 August 2022 / Revised: 26 September 2022 / Accepted: 28 September 2022 / Published: 2 October 2022

Abstract

:
As one of the main areas of value investing, the stock market attracts the attention of many investors. Among investors, market index movements are a focus of attention. In this paper, combining the efficient market hypothesis and the fractal market hypothesis, a stock prediction model based on mixed fractional Brownian motion (MFBM) and an improved fractional-order particle swarm optimization algorithm is proposed. First, the MFBM model is constructed by adjusting the parameters to mix geometric Brownian motion (GBM) and geometric fractional Brownian motion (GFBM). After that, an improved fractional-order particle swarm optimization algorithm is proposed. The position and velocity formulas of the fractional-order particle swarm optimization algorithm are improved using new fractional-order update formulas. The inertia weight in the update formula is set to be linearly decreasing. The improved fractional-order particle swarm optimization algorithm is used to optimize the coefficients of the MFBM model. Through experiments, the accuracy and validity of the prediction model are proven by combining the error analysis. The model with the improved fractional-order particle swarm optimization algorithm and MFBM is superior to GBM, GFBM, and MFBM models in stock price prediction.

1. Introduction

Stock market investment, as one of the most profitable financial investments, is favored by many investors. The forecast of stock price movement has also been the focus of investors’ attention [1,2]. From the establishment of the stock market to date, research on market forecasting has never stopped [3]. There are many forecasting methods [4]. From the mathematical finance perspective, there are two main categories. One is the approach based on the efficient market hypothesis (EMH) [5,6] and the other is based on the fractal market hypothesis (FMH) [7].
In the 1970s, Fama [8,9] proposed the famous EMH based on the random wandering model. In EMH, the stock price trend follows the geometric Brownian motion (GBM) model [10]. EMH argued that every investor in the market was rational. Every stock price movement in the market is a comprehensive response to asset information. With prices following a random walk model, it is hard for investors receive a “free lunch” from the market. However, the efficient market hypothesis is only an ideal state and does not correspond to reality. Not every investor in the market has a rational mind and the information that occurs at each point in time is not fully embodied in the price. Some investors make good profits from the market. Therefore, many investors are skeptical of the efficient market hypothesis [11]. From the GBM model, GBM also has three conceptual errors. (1) For the GBM model, future changes are independent of past changes, which is not consistent with the fundamental characteristics of financial market development [12,13]. (2) The GBM model depicts a normal distribution, but real share prices have a “spike and a thick tail” [14]. (3) In stock prices, time series correlation is common everywhere [15]. That is to say, large decreases are usually accompanied by increases in volatility, while large increases are usually accompanied by decreases in volatility. Therefore, GBM cannot correctly describe the phenomenon and the laws of stock prices.
With further research, Peters [16] proposed the FMH from a nonlinear perspective and integrated fractal theory into financial markets. In FMH, stock price changes follow fractional Brownian motion (FBM) and yield obeys a fractal distribution characterized by self-similarity and long memory. FMH believes that the structure of the stock market is fractal and that it has a long memory [17]. The long memory is characterized by the Hurst value. In 2001, Wu pointed out that capital market price movements were mostly the fractal time series [18] and they explored the fractal dimension of stock prices using fractal and chaotic methods. However, Rostek [19,20] thought that there would be arbitrage in applying fractional Brownian motion to simulate prices under the fractal market assumption.
A better solution is to mix geometric Brownian motion and fractional Brownian motion. Then, mixed fractional Brownian motion (MFBM) is constructed to describe the process of asset price change [21]. In terms of the Hurst characteristic index, the standard Brownian motion is just a particular state of price fluctuations. For example, when the Hurst value is equal to 1/2, the fractional Brownian motion is converted to standard Brownian motion [22]. For another view of modern financial theory, the EMH and FMH are internally consistent, and the former is a special case of the latter. The EMH and FMH depict the linear and non-linear natures of financial markets. The fractal market is the general form and steady state of the securities market, while the effective market is the special form and biased state of the securities market. Therefore, the two theories have intrinsic uniformity. EMH reveals the ideal and special state of financial markets. FMH describes the volatility of market prices and the laws of market operation, and it provides a higher level of abstraction and description of financial fields [23]. The combination of EMH and FMH, that is, the combination of geometric and fractional Brownian to form MFBM, is the best model to describe asset price changes [24]. The market under the MFBM model not only has no arbitrage opportunity, but also is complete. It is more suitable for describing the operation and development of the market.
A perfectly efficient market describes the ideal state of financial markets. The most mature U.S. financial market is only between a weakly efficient market and a semi-strongly efficient market. For the Chinese stock market, the limit on ups and downs will keep the stock market in a relatively flat state, which satisfies the semi-strong EMH. In addition, the Chinese stock market is highly cyclical (long memory) [25]. Given these facts, this paper combines EMH and FMH. The price trends of the U.S. and Chinese stock markets are predicted through mixed fractional Brownian motion to obtain better forecasting results.
In this paper, we analyze stock price forms under the EMH and FMH. Then, MFBM is constructed by adjusting the parameters to mix GBM with FBM. The drift and diffusion coefficients in the MFBM model are solved by the maximum likelihood estimation (MLE) method. Then, the fractional-order particle swarm optimization algorithm is improved. The drift and diffusion coefficients of the MFBM are optimized by the improved fractional-order particle swarm optimization algorithm. Finally, the Hurst values are solved by the rescaled range (R/S) analysis method. The solved Hurst values are optimized by the improved fractional-order particle swarm optimization algorithm to find the optimal parameters and analyze the stock price prediction. Three market indices are selected for the Hurst solution and all results show that the three markets have long memory. The accuracy and validity of the prediction model are proven by combining the error analysis. The model with the improved fractional-order particle swarm optimization algorithm and MFBM is superior to GBM, GFBM, and MFBM in stock price prediction.
The main contributions of this paper are summarized as follows. (1) The parameters are adjusted to hybridize geometric and fractional Brownian motions. The MFBM model is constructed and used for stock market forecasting. (2) The fractional-order particle swarm optimization algorithm is improved. The MFBM model coefficients are optimized by the improved fractional-order particle swarm optimization algorithm. New variables are added to reduce the dependence of the update formula on the order of the fractional order. Both velocity and position formulas are derived for fractional order at the same time to improve the convergence speed. (3) The inertia weight factor in the improved fractional-order particle swarm optimization algorithm sets the linear decreasing principle in this paper. This reduces oscillations and increases the randomness of the particles. Therefore, the probability of the population falling into a local optimum is reduced.
The rest of this paper is organized as follows. Section 2 briefly introduces the generalized form of Brownian motion and constructs a stock price prediction model based on mixed fraction Brownian motion. In Section 3, the improvement process of the fractional-order particle swarm optimization algorithm is described in detail. Then, the parameters in the model are solved and optimized separately. In Section 4, three actual stock indices are selected to verify the validity of the IFPSO-MFBM methodology. The conclusion is given in Section 5.

2. MFBM Model

The MFBM model is constructed based on FBM and GBM. Then, some Brownian motion forms are briefly described.

2.1. Geometric Brownian Motion

Geometric Brownian motion is a stochastic equation of motion in continuous time. Since its trajectory is similar to the stock price trajectory, it is continuous but not derivable, with independent increments [26]. Therefore, it is often combined with the Black–Scholes model for stock price simulation in the field of financial mathematics. The stochastic process of GBM is determined by
dS ( t ) S ( t ) = μ dt + σ dB ( t ) ,
where S ( t ) represents the stock price. The dS ( t ) S ( t ) is the logarithmic return on the stock price and B ( t ) is the standard Brownian motion (or Wiener process) obeying N ( 0 , t ) . The drift percentage μ and the volatility percentage σ are both constants. μ is the mathematical expectation of the asset price return. σ is the standard deviation of the asset price return.
From an economic point, Equation (1) can be interpreted using the Itô form stochastic equation, whose solution can be written as a geometric (economic) Brownian motion defined by
S t = S 0 exp { σ B ( t ) + ( μ σ 2 2 ) t } ,
where S t is the stock price at time t and S 0 is the initial share price.
Although the B–S pricing model is based on the geometric Brownian motion, the geometric Brownian motion describes share prices that are only appropriate for strong efficient markets. No market currently has strong efficient market conditions, so the geometric Brownian motion does not describe real market share prices.

2.2. Fractional Brownian Motion

Fractional Brownian motion is a derivative form of Brownian motion in the fractal market. There are two main differences between fractional Brownian motion and Brownian motion. One is that increments in fractional Brownian motion are not independent, whereas increments in Brownian motion are independent. The other difference is the dimensional value [27]. Fractional Brownian motion (fractal noise) has a fractional dimensional value. The value is equal to 1 / H ; here, H is the Hurst exponent [28]. Brownian motion (white noise) has a fractional dimensional value of 2. The above properties of fractional Brownian motion make it a suitable tool for mathematical finance. The formula for the covariance function of the FBM is determined by
E [ B H ( t ) B H ( s ) ] = 1 2 ( | t | 2 H + | s | 2 H | t s | 2 H ) ,
The stochastic process of geometric FBM is as follows:
dS ( t ) = μ ( t ) S ( t ) dt + σ S ( t ) dB H ( t ) ,
where B H is the fractional Brownian motion. The share price is based on (5) as follows:
S ( t ) = S 0 exp ( σ B H ( t ) + μ t 1 2 σ 2 t 2 H ) ,
Fractional Brownian motion has long memory and is useful for financial market forecasting. Theoretically, there would be arbitrage in the model with FBM as the logarithmic price. In particular, it has been shown that arbitrage opportunities exist when trading in continuous or in discrete time [29,30].

2.3. Mixed Fractional Brownian Motion

Based on the intrinsic consistency of the EMH and FMH, a mixed fractional Brownian motion is constructed by adjusting the parameters to hybridize the geometric Brownian motion with the geometric fractional Brownian motion. The stochastic process of MFBM is determined by
dS ( t ) = μ ( t ) S ( t ) dt + σ S ( t ) dW H ( t ) ,
dW H ( t ) = ρ dB H ( t ) + ( 1 ρ ) dB ( t ) ,   ρ ( 0 , 1 ) ,
where ρ is the mixing factor to be adjusted. The drift percentage μ and the volatility percentage σ are both constants. The B ( t ) ( t R + ) is a standard Brownian motion. The B H ( t ) ( t R + ) is a fractional Brownian motion with a Hurst value of H. These are independent of each other. The share price form is as follows:
S t = S 0 exp {   μ t + σ W H ( t ) } ,
which converts to Itô form as follows:
S t = S 0 exp { μ t + σ W H ( t ) 1 2 σ 2 ρ 2 t 2 H 1 2 σ 2 ( 1 ρ ) 2 t } ,
In the MFBM model, the solution process of B H ( t ) is as follows:
B H ( t ) = t 0 K H ( t , s ) d B ( s ) ,
K H ( t , s ) = c ( H ) 1 s H 1 2 t s u H 1 2 u s 3 2 H d u ,
c ( H ) = 2 H Γ ( 3 2 H ) Γ ( H + 1 2 ) Γ ( 2 2 H ) ( H 1 2 ) ,
In (12), K H ( t , s ) is a definite kernel, c ( H ) is the normalization constant, and Γ is the Gamma function, which can be solved according to Euler’s residue formula. The definition of the Gamma function over the real number field is defined by
Γ ( x ) = 0 + t x 1 e t d t ( x > 0 ) ,
Then, the B H ( t ) value can be found here. The mixed fractional Brownian motion removes the arbitrage of fractional Brownian motion and retains its memorability [31]. It also combines the incremental and smooth characteristics of geometric Brownian motion.

3. IFPSO-MFBM

The MFBM model that is constructed in the previous section contains a large number of parameters. Therefore, this section focuses on solving and optimizing the model parameters. Firstly, the fractional-order particle swarm optimization algorithm is improved. Hurst values in the model are then solved using rescaled range (R/S) analysis. Finally, the maximum likelihood estimate (MLE) method is used to find the drift and diffusion coefficients and the coefficients are further optimized using the improved fractional-order particle swarm optimization algorithm (IFPSO). The flow chart of stock index forecasting, based on the MFBM model and IFPSO algorithm, is shown in Figure 1.

3.1. Fractional-Particle Swarm Optimization Algorithm Improvement

The particle swarm optimization (PSO) algorithm originated from the simulation of the foraging behavior of birds [32]. The PSO algorithm is conceptually simple. It is easy to implement and converges quickly [33]. It is widely used to solve multi-objective optimization problems [34]. The standard PSO algorithm velocity and position formula are defined by
V id k + 1 = w × V id k + c 1 × r 1 × ( P id k X id k ) + c 2 × r 2 × ( P gd k X id k ) ,
X id k + 1 = X id k + V id k + 1 ,
where k is the number of iterations.   P id k is the particle position and V id k is the particle velocity. c1 and c2 are acceleration factors. r1 and r2 are random numbers distributed between (0, 1). w is the inertia weight factor. The weight update equation is computed by
w ( k ) = w max ( w max   w min ) k k max ,
In the standard PSO algorithm, the particles converge slowly. Therefore, Pires [35] introduced fractional order calculus into PSO and proposed the fractional order particle swarm optimization (FOPSO) algorithm. The convergence speed of the algorithm is improved by introducing fractional order integration in the particle swarm velocity equation. However, the FOPSO algorithm is susceptible to falling into local solutions. When dealing with complex multi-peaked problems, the FOPSO algorithm tends to the local optimum. The convergence performance is directly dependent on the fractional order α . When the value of α increases, the particles converge more slowly. When the value of α decreases, the population tends to fall into a local optimum. In this paper, we improve the fractional-order algorithm. The velocity and position equations are derived by fractional order calculus simultaneously. The inertia weight factor w is set to be linearly decreasing to avoid falling into a local optimum.
When improving the PSO algorithm, the fractional order Grunwald–Letnikov (G–L) definition is used. Its α (R) order derivative is approximated in discrete time as follows:
D α f ( x ) = 1 T a k = 0 r ( 1 ) k Γ ( α + 1 ) f ( x kh ) Γ ( k + 1 ) Γ ( α k + 1 ) ,
where T is the sampling period and Γ is the Gamma function.
The PSO fractional order improvement process is as follows:
Step 1: A left-right transformation of the standard particle swarm algorithm is made; then, there is the following equation
V id k + 1 V id k = ( w 1 ) × V id k + c 1 × r 1 × ( P id k X id k ) + c 2 × r 2 × ( P gd k X id k ) ,
where V id k + 1 V id k is the derivative of the discrete state at fractional order α = 1;
Step 2: Assuming a sampling period T = 1, followed by a generalization of Equation (18) to fractional order differentiation:
D a [ V id k + 1 ] = ( w 1 ) × V id k + c 1 × r 1 × ( P id k X id k ) + c 2 × r 2 × ( P gd k X id k ) ;
Step 3: Considering the decreasing relationship between the number of contemporary particles and the number of particles of previous generations, Equation (19) is kept for only the first four generations of vectors owing to the memory property of fractional order calculus. The velocity formulation of the particle swarm algorithm is extended from first order to arbitrary order through the fractional order G-L definition.
D a [ V id k + 1 ] = V id k + 1 aV id k 1 2 a ( 1 a ) V id ( k 1 ) 1 6 a ( 1 a ) ( 2 a ) V id ( k 2 ) 1 24 a ( 1 a ) ( 2 a ) ( 3 a ) V id ( k 3 ) ;
Step 4: Combining (19) and (20), the final velocity equation of the fractional-order particle swarm algorithm with linearly decreasing weight coefficients is obtained
V id k + 1 = ( w 1 + a ) V id k + 1 2 a ( 1 a ) V id ( k 1 ) 1 6 a ( 1 a ) ( 2 a ) V id ( k 2 ) + 1 24 a ( 1 a ) ( 2 a ) ( 3 a ) V id ( k 3 ) + c 1 × r 1 × ( P id k X id k ) + c 2 × r 2 × ( P gd k X id k ) ,
By introducing fractional order differential operators, the current particle swarm algorithm is made to relate to the particle velocities of previous stages. Therefore, the algorithm is made to have a memory function;
Step 5: Then, the same fractional-order improvement is performed for the position update. The position updating formula of the fractional order particle swarm algorithm with linearly decreasing weight coefficients is obtained:
X id k + 1 = ( w 1 + a ) V id k + 1 2 a ( 1 a ) V id ( k 1 ) 1 6 a ( 1 a ) ( 2 a ) V id ( k 2 ) + 1 24 a ( 1 a ) ( 2 a ) ( 3 a ) V id ( k 3 ) + c 1 × r 1 × ( P id k X id k ) + c 2 × r 2 × ( P gd k X id k ) + β X id k + 1 2 β ( 1 β ) X id k 1 + 1 6 β ( 1 β ) ( 2 β ) X id k 2
The positions of the particles of the improved fractional-order particle swarm algorithm (IFPSO) are no longer only influenced by the fractional order α . The introduction of fractional order β allows the position update to be associated with the previous position.
The IFPSO offers significant improvements in convergence speed, stability, and accuracy, and further enhances the ability to find globally optimal solutions.

3.2. R/S Analysis for Hurst Index

When Hurst (the British hydrologist) studied the relationship between water flow and storage capacity in the Nile reservoir, he found that the relationship could be better described in terms of fractal Brownian motion [36]. He then proposed the Hurst index. There are several methods for solving the Hurst exponent [37]. The earliest method proposed by scholars in the time domain is the R/S estimation method. After that, wavelet analysis, the variance method, and the mean value method were gradually derived [38]. This paper focuses on solving Hurst values using R/S analysis. The process is as follows:
  • Let a time series { x t } t M = 1 , of length M , be divided into N adjacent subintervals of length M N ;
  • For the subintervals, let the sample mean be e u = 1 N i = 1 N x i + ( u 1 ) × N ( u = 1 , 2 , , M N ) ;
  • For a subinterval u , take y u , i = x i + ( u 1 ) × N e u (i = 1, 2,…, N) such that   z u , i = i = 1 N y u , i . The z u , i is the cumulative return. Here, u = 1, 2, …, M N ;
  • Calculate R u = max 1 N N Z u , i min 1 i N Z u , i as the extreme deviation of the subinterval u. Let S u be the standard deviation of the cumulative return for the interval;
  • Calculate the rescaled polar difference R u / S u for each interval; M N intervals can obtain M N values (u = 1, 2, …). Take its mean value R N / S N as the rescaled polar deviation value for an interval of length N;
  • Taking the logarithm of both ends of the R N / S N = bN H equation yields: log ( R N / S N )   =   HlogN + logby ( n ) ; b is a constant and H is the Hurst index;
  • Repeat Steps 1 to 6 for different interval lengths N to obtain different values of R N / S N . By regression analysis, the slope is the desired H value.
Given a time series X i ,   i = 1 , 2 , ,   N , calculate the sum of the partial series as y ( n ) = i = 1 n X i and define the sample variance as S 2 ( n ) ; then, one obtains the formula:
S 2 n = 1 n i = 1 n X i 2 1 n 2 y 2 n ,
The final R/S is calculated by
R S n = 1 S n max 0 t n y t t n y t min 0 t n y t t n y t ,
When n ,   E [ R / S ( n ) ] C H n H , C H is a constant positive constant, taking the logarithm of the above Equation (24). A log–log plot is drawn and a straight line is fitted using least squares regression. The slope of this line is calculated as the Hurst index value for a given time series.

3.3. MLE Method for the Drift Coefficient μ and the Diffusion Coefficient σ

The MLE method [39] is chosen to estimate the parameters σ and µ in this paper. According to the solution of ordinary differential equations, take the logarithm of the left and right sides of Equation (9) to obtain:
ln ( S t ) ln ( S 0 ) = μ t + σ W t H ,
Thus, the parameter estimate for Equation (25) is equivalent:
Y t = μ t + σ W t H ,   t 0 ,
The time series observation interval is h. The vector t = ( h , 2 h , ,   Nh ) is used to represent the observation time point. The observation vectors Y = ( Y h ,   Y 2 h , ,   Y Nh ) are obtained. The MFBM process is W t H = ( W ( h ) H ,   W ( 2 h ) H , ,   W ( Nh ) H ) . Then, the maximum likelihood estimates of the drift coefficient μ and the diffusion coefficient σ are derived from the following steps.
According to the joint density of the multidimensional normal distribution, the MFBM model has the properties of a Gaussian process. Therefore, the observation vector Y obeys a multivariate normal distribution. Substitute Y into Equation (26) and then derive the specific expression for each covariance σ H 2 in the discrete covariance matrix H based on (25) as follows:
σ H 2 = [ E [ W ( ih ) H , W ( jh ) H ] ] i , j = 1 , 2 , N = σ 2 2 h 2 H ( i 2 H + j 2 H | i j | 2 H ) i , j = 1 , 2 , N ,
The joint probability density function of the multidimensional normal distribution of Y is defined by
g ( Y ) = ( 2 π σ 2 ) N 2 | Γ H | 1 2 exp ( 1 2 σ 2 ( Y μ t ) Γ H 1 ( Y μ t ) ) ,
where Γ H = 1 2 h 2 H ( i 2 H + j 2 H | i j | 2 H ) i , j = 1 , 2 , , N .
Find the log-likelihood function for the joint probability density function:
lng ( Y ) = N 2 ln ( 2 π σ 2 ) 1 2 ln | Γ H | 1 2 σ 2 ( Y μ t ) Γ H 1 ( Y μ t ) ,
Find the partial derivatives for μ and σ 2 with respect to (26). Set the partial derivatives equal to 0.
The maximum likelihood estimate of the drift coefficient μ is obtained by taking the partial derivative of μ as:
μ ` =   t Γ H 1 Y   t Γ H 1 t ,
Similarly, the maximum likelihood estimate for finding the partial derivative σ 2 is as follows:
σ ` 2 = 1 N (   Y Γ H 1 Y ) (   t Γ H 1 t ) (   t Γ H 1 Y ) 2   t Γ H 1 t ,

3.4. IFPOS Algorithm Optimizing σ, µ, ρ, and H

In this paper, σ, µ, ρ, and H are optimized by the improved fractional PSO algorithm in Section 3.1. The steps can be summarized as follows:
Step 1: The Hurst of the MFBM model is obtained from known stock market data and the unknown parameters are determined based on R/S analysis;
Step 2: Using the maximum likelihood estimation method, the drift coefficient σ and the diffusion coefficient µ are solved separately to obtain the original values of each parameter of the model;
Step 3: The IFPSO algorithm is used to continue the optimization of the model parameters. The individual extreme value of each particle is set to the current position. According to the weight update formula, the current inertia weight value is calculated and updated. The velocity and position of the particle are updated according to the improved particle velocity and position update formula;
Step 4: The updated fitness value of each particle is calculated according to the fitness function of the particle. The fitness value of each particle is compared with its individual extreme value. If the individual extreme value is better than the fitness value, the individual extreme value is updated. Otherwise, the original fitness value is kept;
Step 5: The updated individual polar values of each particle are compared with the global polar values. If the individual extreme value is better than the global polar value, the global polar value is updated. Otherwise, the original global polar value is kept;
Step 6: The optimization search process is broken based on the setting fitness function and iterations. Then, the final MFBM prediction model is established.
This section focuses on the solution and optimization of three parameters in the MFBM model. The Hurst value is solved using R/S analysis and the MLE method is used to solve the drift and diffusion coefficients. Finally, the fractional order particle swarm algorithm is improved and used to optimize each parameter in the MFBM model.

4. Experiments

Three market indices are selected for research and analysis in this section. They are the A-share SSE, the Hong Kong Hang Seng index, and the US Dow Jones index. Firstly, the Hurst values of the three market indices are solved to verify the existence of memory. Then, the parameters are solved and optimized by the above steps. Finally, the stock price forecasting results from IFPSO-MFBM, MFBM, FBM, and GBM are compared. The forecasting effect of the IFPSO-MFBM model is analyzed.

4.1. Model Evaluation Indicators

Three performance indicators are used to evaluate and compare the prediction effectiveness. They are mean absolute percentage error (MAPE), symmetric mean absolute percentage error (SMAPE), and coefficient of determination (R2).
MAPE is one of the most popular indicators that can be used to assess predictive performance. It is given by the following equation:
MAPE = 100 % n i = 1 n | R ` i R i R i | ,
where R ` i is the predicted value and R i is the true value.
SMAPE overcomes the asymmetry of MAPE. It is one of the commonly used indicators to assess predictive performance. Its equation is as follows:
SMAPE = 100 % n i = 1 n | R ` i   R i | ( R ` i + R i ) / 2 ,
The benefit of the model is judged according to the value of R2, R 2 ( 0 , 1 ) . If R2 is closer to 1, it is better for the model fit.
R 2 = 1 i = 1 n ( R ` i R i ) 2 ( R ¯ i R i ) 2 ,
Table 1 shows the interpretation of the results acquired with MAPE and SMAPE.
The physical significance, data units, and orders of magnitude of each attribute in the selected dataset are different.

4.2. Experimental Data

The required stock price data are obtained from Yahoo Finance’s historical data for the past five years (https://www.yahoo.com/finance, access date: 6 July 2022.). Three market indicators are selected for model validation analysis. They are SSE, Hang Seng, and Dow Jones. The main index data are the opening price, closing price, high price, and low price of stock.

4.3. Experimental Verification and Analysis

Considering a long memory of fractional Brownian motion, this paper selected as a market cycle [40] (252 day,) as the observation data set; the prediction is the next ten trading days of the index trend, that is, 1 July 2019–15 July 2019, based on the past year’s trading day data predicted from the same data after that. As shown in Figure 2, the experimental data uses a sliding window (windows = 252) to move backward and forward by 10 trading day lengths each time, so as to obtain the complete set of predicted data.
Here, the prediction performance of the GBM, GFBM, MFBM, and IFPSO-MFBM models proposed in this paper are compared for stock price trends. The forecasting results of the four models are analyzed.

4.3.1. SSE Index Data Prediction Analysis

This experiment uses the Chinese A-share SSE index dataset to validate the model prediction effect. The main data is the daily closing price of the SSE index from 1 July 2019–1 July 2022.
  • Parameter solving and optimization
The parameters in the MFBM model are solved and optimized according to the steps in Section 3.
From Figure 3, it can be seen that improved fractional-order particle swarm algorithm (IFPSO) outperforms the particle swarm algorithm (PSO) in terms of both convergence speed and merit-seeking effect. The results are shown in Table 2.
Based on the SSE index data, the mean Hurst value of 0.5214 is first obtained by R/S analysis. Then, we obtain μ   ` = 0.0521 and σ   ` = 0.1739 by the MLE method. Since the value by the MLE method is not optimal, it is further optimized by the IFPSO algorithm in this paper to obtain μ   = 0.1209, σ   = 0.1221, and ρ   = 0.789. To reduce the influence of the initial value, the Hurst value is also optimized using the IFPSO, and H = 0.5334 is finally obtained. The change in optimization is evident in the data. The final optimization effect is judged by the magnitude of MAPE, SMAPE, and R2.
The seed is the random seed number of the random model. The experiment takes the best seed value in the seed (1~200).
2.
Comparison of Simulation Results
The parameters of the four models (GBM, GFBM, MFBM, and IFPSO-MFBM) are set as in Table 3. The experimental comparison images are as follows:
Figure 4a shows the result of the predictive simulation of the SSE in the GBM. The main parameters of the model are Seed = 87, u = 0.0521, and σ   = 0.1739. Figure 4b is the result of the predictive simulation of the SSE in the FBM model. The main parameters have that Seed = 136, u = 0.0521, σ   = 0.1739, and H = 0.5214. Figure 4c shows the result of the predictive simulation of the SSE in MFBM model, with Seed = 143, u = 0.0521, σ   = 0.1739, ρ   = 0.5, and H = 0.5214. Figure 4d shows the predictive simulation result of the SSE index in the optimized IFPSO-MFBM model. The main parameters are Seed = 143, u = 0.1209, σ   = 0.1221, ρ   = 0.7893, and H = 0.5334. The specific error magnitudes can be shown in Table 4.
As can be seen, the MFBM model has the largest error in prediction, with a MAPE of 4.3878%. The optimized IFPSO-MFBM has the smallest error, with a MAPE of 3.3342%. The IFPSO-MFBM model has a reduced MAPE of 1.0436% compared to the MFBM model. In addition, the forecasting errors of the SSE index in all four models are less than 10%. It can be proven that all four models achieve high precision forecasting results.
Based on the forecast results, considering an incremental increase of more than 2% per 10 trading days and a forecast error of less than 1% (i.e., the trend is the same and the error is less than 1%), the returns obtained are shown in Table 5.
The GBM model return of 17.14%, the GFBM model return of 14.41%, the MBM model return of 15.45% and the IFPSO-MFBM model return of 28.15% can be seen. All four models returned greater than 10%, and the MFBM model had the best return

4.3.2. Hang Seng Index Data Prediction Analysis

This experiment uses the Hong Kong Hang Seng index dataset to validate the model prediction effect. The main data is the daily closing price of the Hang Seng index from 1 July 2019–1 July 2022.
  • Parameter solving and optimization
The parameters in the MFBM model are solved and optimized according to the steps in Section 3.
From Figure 5, it can be seen that IFPSO outperforms the PSO algorithm in terms of the merit-seeking effect. The results are shown in the table below.
As can be seen in Table 6, the mean Hurst value of 0.5651 is first obtained by R/S analysis. Then, we obtain μ   ` = −0.0677,   σ   ` = 0.2318 by the MLE method. This is further optimized by the IFPSO algorithm in this paper to obtain μ = 0.2631, σ   = 0.5820, and ρ   = 0.7496. The Hurst is also optimized using IFPSO and Hurst = 0.6160 is finally obtained. The change in optimization is evident in the data. The final optimization effect is judged by the magnitude of MAPE, SMAPE, and R2.
The seed is the random seed number setting of the random model, this experiment takes the best seed value in the seed (1~200).
2.
Comparison of Simulation Results
The parameters of the four models (GBM, GFBM, MFBM, and IFPSO-MFBM) are set as in Table 7; the experimental comparison images are as follows.
Figure 6a shows a plot of the results of the predictive simulation of the Hang Seng in the GBM. Figure 6b shows a plot of the results of the predictive simulation of the Hang Seng in the FBM model. Figure 6c shows a plot of the results of the predictive simulation of the Hang Seng in the MFBM model. Figure 6d shows a plot of the predictive simulation results of the Hang Seng index in the IFPSO-MFBM model. For the specific error magnitudes, see the table below.
As can be seen from Table 8, the GFBM model has the largest error in prediction, with a MAPE of 6.5526%. The IFPSO-MFBM has the smallest error, with a MAPE of 4.8857%. The IFPSO-MFBM model has a reduced MAPE of 1.3307% compared to the MFBM model. The IFPSO-MFBM after parameter optimization has been improved to a certain extent. In addition, the forecasting error of the Hang Seng index in all four models are less than 10%. This proves that all four models achieve high precision forecasting results and have a highly accurate forecasting effect.
Based on the forecast results, the returns obtained are shown in Table 9.
The GBM model return of 14.74%, GFBM model return of 11.68%, MBM model return of 11.73%, and the IFPSO-MFBM model return of 23.07% can be seen. All four models returned greater than 10%, and the MFBM model had the best return

4.3.3. Dow Jones Index Data Prediction Analysis

This experiment uses the US Dow Jones index dataset to validate the model prediction effect; the main data is the daily closing price of the Dow Jones index from 1 July 2019–1 July 2022.
  • Parameter solving and optimization
The parameters in the MFBM model were solved and optimized according to the parameter solving and optimization process in Part 3.
From Figure 7, it can be seen that IFPSO outperforms the PSO algorithm in terms of both convergence speed and merit-seeking effect. The results are shown in the table below.
As can be seen in Table 10, the Hurst value of 0.5939 is first obtained by R/S analysis; then, μ `   = 0.0804 and σ   ` = 0.2436 were obtained by the MLE method. Since the value obtained by the MLE method is not optimal. It is further optimized by the IFPSO algorithm in this paper to obtain μ = 0.0127, σ   = 0.2790, and ρ   = 0.3983. To reduce the influence of the initial value, the Hurst is also optimized using IFPSO, and Hurst = 0.5480 is finally obtained. The change in optimization is evident in the data and the final optimization effect is judged by the magnitude of MAPE and SMAPE.
The seed is the random seed number setting of the random model, this experiment takes the best seed value in the seed (1~200).
2.
Comparison of Simulation Results
The parameters of the four models (GBM, GFBM, MFBM, and IFPSO-MFBM) are set as in Table 11 and the experimental comparison images are as follows.
Figure 8a shows the result of the predictive simulation of the Dow Jones in the GBM. Figure 8b shows the result of the predictive simulation of the Dow Jones in the FBM model. Figure 8c shows the result of the predictive simulation of the Dow Jones in the MFBM model. Figure 8d shows the predictive simulation result of the Dow Jones index in the IFPSO-MFBM model. For specific error magnitudes, see the table below.
As can be seen in Table 12, the GBM model has the largest error in prediction, with a MAPE of 6.0259%. The IFPSO-MFBM had the smallest error, with a MAPE of 4.4196%. The IFPSO-MFBM model has a reduced MAPE of 1.0939% compared to the MFBM model. The IFPSO-MFBM after parameter optimization was improved to a certain extent. In addition, the R2 of the Dow Jones index in all four models is larger than 0.6, which proves that all four models have a good forecasting effect.
Based on the forecast results, the returns obtained are shown in Table 13.
The GBM model return of 14.26%, GFBM model return of 21.58%, MBM model return of 10.33% and the IFPSO-MFBM model return of 30.83% can be seen. All four models returned greater than 10%, and the MFBM model had the best return
From three experiments, it can be shown that the IFPSO-MFBM has the best result of the four models. The MAPE is reduced by 0.9203% on average and the returns are greater than 20%. The IFPSO-MFBM has a more significant improvement.

5. Conclusions

The efficient market hypothesis and the fractal market hypothesis are combined in this paper to study the stock forecasting problem. Firstly, the shortcomings of geometric and fractional Brownian motion are analyzed and the MFBM model is constructed. Then the fractional-order particle swarm optimization algorithm is improved. Last but not least, the IFPSO-MFBM is proposed to forecast stock price.
For the GBM model, there is a clear error in the price prediction. The graph is normally distributed, but the real share price follows the “spike and thick tail”, which does not match the specific form of the share price. The fractional Brownian motion model has arbitrage and is not a sound mode. The MFBM has memory and eliminates arbitrage, and it enables better forecasting of stock prices. However, its parameters are not optimal.
Most stock price time series have a long memory in nature. The Hurst index is the most commonly characterized method. However, in practical applications, R/S analysis method has some obvious shortcomings for calculating long memory parameters and the obtained Hurst values are not optimal. Therefore, the Hurst values are further optimized by IFPSO. Other coefficients are optimized by the improved fractional-order particle swarm optimization algorithm. The final MFBM model with optimal parameters is obtained, which is the IFPSO-MFBM model. Through experimental analyses, it can be found that the IFPSO-MFBM model is superior to GBM, FBM, and MFBM models in stock price prediction.

Author Contributions

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

Funding

This research was funded by National Natural Science Foundation of China, grant numbers 61862062 and 61104035.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank referees for their extraordinary comments, which help to enrich the content of this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Thakkar, A.; Chaudhari, K. Fusion in stock market prediction: A decade survey on the necessity, recent developments, and potential future directions. Inf. Fusion 2020, 65, 95–107. [Google Scholar] [CrossRef] [PubMed]
  2. Akhilesh Kumar, S.; Srivastava, A.; Singh, S.; Tripta, S.S.; Shubham, G. Design of Machine-Learning Classifier for Stock Market Prediction. SN Comput. Sci. 2021, 3, 88. [Google Scholar]
  3. Khan, W.; Malik, U.; Ghazanfar, M.A.; Azam, M.A.; Alyoubi, K.H.; Alfakeeh, A.S. Predicting stock market trends using machine learning algorithms via public sentiment and political situation analysis. Soft Comput. 2020, 24, 11019–11043. [Google Scholar] [CrossRef]
  4. Tarasov, V.E. On history of mathematical economics: Application of fractional calculus. Mathematics 2019, 7, 509. [Google Scholar] [CrossRef] [Green Version]
  5. Salas-Molina, F.; Pla-Santamaria, D.; Mayor-Vitoria, F.; Vercher-Ferrandiz, M.L. A Multicriteria Extension of the Efficient Market Hypothesis. Mathematics 2021, 9, 649. [Google Scholar] [CrossRef]
  6. Jovanovic, F. A comparison between qualitative and quantitative histories: The example of the efficient market hypothesis. J. Econ. Methodol. 2018, 25, 291–310. [Google Scholar] [CrossRef]
  7. Karp, A.; Van Vuuren, G. Investment implications of the fractal market hypothesis. Ann. Financ. Econ. 2019, 14, 27. [Google Scholar] [CrossRef]
  8. Fama, E.F. The behavior of stock market prices. J. Bus. 1965, 38, 34–105. [Google Scholar] [CrossRef] [Green Version]
  9. Malkiel Burton GFama Eugene, F. Efficient Capital Markets: A Review of Theory And Empirical Work. J. Financ. 1970, 25, 383–417. [Google Scholar] [CrossRef]
  10. Ibrahim, S.N.I.; Misiran, M.; Laham, M.F. Geometric fractional Brownian motion model for commodity market simulation. Alex. Eng. J. 2021, 60, 955–962. [Google Scholar] [CrossRef]
  11. Delcey, T. Samuelson vs. Fama on the Efficient Market Hypothesis The Point of View of Expertise. Œconomia. Hist. Methodol. Philos. 2019, 9, 37–58. [Google Scholar] [CrossRef]
  12. Gao, H.; Mei, S. Random variable assumption errors and correction in financial mathematics. Times Financ. 2021, 20, 92–95. [Google Scholar]
  13. Gao, H. Theoretical Errors and Corrections of Geometric Brownian Motion Model of Stock Prices. Times Financ. 2019, 11, 50–51. [Google Scholar]
  14. Antwi, O.; Bright, K.; Wereko, K.A. Jump diffusion modeling of stock prices on Ghana stock exchange. J. Appl. Math. Phys. 2020, 8, 1736–1754. [Google Scholar] [CrossRef]
  15. Nielsen, A. Practical Time Series Analysis: Prediction with Statistics and Machine Learning; O’Reilly Media: Sebastopol, CA, USA, 2019. [Google Scholar]
  16. Peters, E.E. Chaos and Order in the Capital Market, 2nd ed.; John Wiley & Sons, Inc.: New York, NY, USA, 1996. [Google Scholar]
  17. Peters, E.E. Fractal Market Analysis: Applying Chaos Theory to Investment and Economics; John Wiley & Sons, Inc.: New York, NY, USA, 1994. [Google Scholar]
  18. Wu, H.; Li, D.; Gao, R. On the Fractal and Chaos of the Securities Market. World Econ. 2001, 7, 32–37. [Google Scholar]
  19. Rostek, S.; Schöbel, R. A note on the use of fractional Brownian motion for financial modeling. Econ. Model. 2013, 30, 30–35. [Google Scholar] [CrossRef]
  20. Cheridito, P. Arbitrage in fractional Brownian motion models. Financ. Stoch. 2003, 74, 533–553. [Google Scholar] [CrossRef]
  21. Cheridito, P. Mixed fractional Brownian motion. Bernoulli 2001, 7, 913–934. [Google Scholar] [CrossRef]
  22. Zhang, H.; Mo, Z.; Wang, J.; Miao, Q. Nonlinear-drifted fractional Brownian motion with multiple hidden state variables for remaining useful life prediction of lithium-ion batteries. IEEE Trans. Reliab. 2019, 69, 768–780. [Google Scholar] [CrossRef]
  23. Liu, G.; Yu, C.P.; Shiu, S.N.; Shih, I.T. The Efficient Market Hypothesis and the Fractal Market Hypothesis: Interfluves, Fusions, and Evolutions. SAGE Open 2022, 12, 21582440221082137. [Google Scholar] [CrossRef]
  24. Brătian, V.; Acu, A.M.; Oprean-Stan, C.; Dinga, E.; Ionescu, G.M. Efficient or Fractal Market Hypothesis? A Stock Indexes Modelling Using Geometric Brownian Motion and Geometric Fractional Brownian Motion. Mathematics 2021, 9, 2983. [Google Scholar] [CrossRef]
  25. Tan, Z.; Fu, Y.; Cheng, H.; Liu, J. Stock prices’ long memory in China and the United States. Int. J. Emerg. Mark. 2020, 17, 1292–1314. [Google Scholar] [CrossRef]
  26. Asiri, F.F. The Price of Stocks, Geometric Brownian Motion, and Black Scholes Formula. Master’s Thesis, University of Windsor, Windsor, ON, Canada, 2018. [Google Scholar]
  27. Xu, L.B. An Effective Method to Explore the Efficiency of Capital Markets: Fractal Market Analysis. Financ. Econ. Res. 1999, 1, 43–47. [Google Scholar]
  28. Garcin, M. Hurst exponents and delampertized fractional Brownian motions. Int. J. Theor. Appl. Financ. 2019, 22, 1950024. [Google Scholar] [CrossRef]
  29. Garcin, M. Forecasting with fractional Brownian motion: A financial perspective. Quant. Financ. 2021, 22, 1495–1512. [Google Scholar] [CrossRef]
  30. Guasoni, P.; Nika, Z.; Rásonyi, M. Trading fractional Brownian motion. SIAM J. Financ. Math. 2019, 10, 769–789. [Google Scholar] [CrossRef]
  31. Djeutcha, E.; Njomen DA, N.; Fono, L.A. Solving Arbitrage Problem on the Financial Market Under the Mixed Fractional Brownian Motion With Hurst Parameter H∈]1/2, 3/4[. J. Math. Res. 2019, 11, 76–92. [Google Scholar] [CrossRef]
  32. Wang, D.; Tan, D.; Liu, L. Particle swarm optimization algorithm: An overview. Soft Comput. 2018, 22, 387–408. [Google Scholar] [CrossRef]
  33. Tharwat, A.; Schenck, W. A conceptual and practical comparison of PSO-style optimization algorithms. Expert Syst. Appl. 2021, 167, 114430. [Google Scholar] [CrossRef]
  34. Zhang, X.W.; Liu, H.; Tu, L.P. A modified particle swarm optimization for multimodal multi-objective optimization. Eng. Appl. Artif. Intell. 2020, 95, 103905. [Google Scholar] [CrossRef]
  35. Solteiro Pires, E.J.; Tenreiro Machado, J.A.; de Moura Oliveira, P.B.; Boaventura Cunha, J.; Mendes, L. Particle swarm optimization with fractional-order velocity. Nonlinear Dyn. 2010, 61, 295–301. [Google Scholar] [CrossRef] [Green Version]
  36. Davies, R.B.; Harte, D.S. Tests for Hurst effect. Biometrika 1987, 74, 95–101. [Google Scholar] [CrossRef]
  37. García MN, L.; Requena JP, R. Different methodologies and uses of the Hurst exponent in econophysics. Stud. Appl. Econ. 2019, 37, 96–108. [Google Scholar] [CrossRef]
  38. Millán, G.; Osorio-Comparán, R.; Lefranc, G. Preliminaries on the accurate estimation of the Hurst exponent using time series. In Proceedings of the 2021 IEEE International Conference on Automation/XXIV Congress of the Chilean Association of Automatic Control (ICA-ACCA), Valparaíso, Chile, 22–26 March 2021; pp. 1–8. [Google Scholar]
  39. Xiao, W.L.; Zhang, W.G.; Zhang, X.L. Maximum-likelihood estimators in the mixed fractional Brownian motion. Statistics 2011, 45, 73–85. [Google Scholar] [CrossRef]
  40. Avellaneda, M.; Lee, J.H. Statistical arbitrage in the US equities market. Quant. Financ. 2010, 10, 761–782. [Google Scholar] [CrossRef]
Figure 1. IFPSO-MFBM prediction model flow chart.
Figure 1. IFPSO-MFBM prediction model flow chart.
Fractalfract 06 00560 g001
Figure 2. Comparison of SSE index results of algorithm optimization search.
Figure 2. Comparison of SSE index results of algorithm optimization search.
Fractalfract 06 00560 g002
Figure 3. Comparison of SSE index results of algorithm optimization search. (a) PSO, (b) IFPSO.
Figure 3. Comparison of SSE index results of algorithm optimization search. (a) PSO, (b) IFPSO.
Fractalfract 06 00560 g003
Figure 4. Comparison of the true and predicted values of SSE under the four models. (a) GBM, (b) GFBM, (c) MFBM, (d) IFPSO-MFBM.
Figure 4. Comparison of the true and predicted values of SSE under the four models. (a) GBM, (b) GFBM, (c) MFBM, (d) IFPSO-MFBM.
Fractalfract 06 00560 g004
Figure 5. Comparison of Hang Seng index results of algorithm optimization search. (a) PSO, (b) IFPSO.
Figure 5. Comparison of Hang Seng index results of algorithm optimization search. (a) PSO, (b) IFPSO.
Fractalfract 06 00560 g005
Figure 6. Comparison of the true and predicted values of Hang Seng under the four models. (a) GBM, (b) GFBM, (c) MFBM, (d) IFPSO-MFBM.
Figure 6. Comparison of the true and predicted values of Hang Seng under the four models. (a) GBM, (b) GFBM, (c) MFBM, (d) IFPSO-MFBM.
Fractalfract 06 00560 g006
Figure 7. Comparison of Dow Jones results of algorithm optimization search. (a) PSO, (b) IFPSO.
Figure 7. Comparison of Dow Jones results of algorithm optimization search. (a) PSO, (b) IFPSO.
Fractalfract 06 00560 g007
Figure 8. True vs. predicted values of the Dow Jones index under the four models. (a) GBM, (b) GFBM, (c) MFBM, (d) IFPSO-MFBM.
Figure 8. True vs. predicted values of the Dow Jones index under the four models. (a) GBM, (b) GFBM, (c) MFBM, (d) IFPSO-MFBM.
Fractalfract 06 00560 g008
Table 1. Explanation of MAPE and SMAPE evaluation indicators.
Table 1. Explanation of MAPE and SMAPE evaluation indicators.
MAPE ValueSMAPE ValuePredictive Performance Evaluation
<10%<10%Highly accurate forecasting
10–20%10–20%Good forecasting
20–50%20–50%Reasonable forecasting
>50%>50%Inaccurate forecasting
Table 2. MFBM model parameters and optimization results for the SSE index.
Table 2. MFBM model parameters and optimization results for the SSE index.
Index SetParametersR/SMLEIFPSO
SSE μ -0.05210.1209
σ -0.17390.1221
ρ --0.7893
H 0.5214-0.5334
Table 3. Parameters of the SSE in the four models.
Table 3. Parameters of the SSE in the four models.
Index SetModelSeed μ σ ρ Hurst
SSE GBM 870.05210.1739--
GFBM 1360.05210.1739-0.5214
MFBM 1430.05210.17390.50.5214
IFPSO MFBM 1430.12090.12210.78930.5334
Table 4. Comparative error analysis of SSE index under four models.
Table 4. Comparative error analysis of SSE index under four models.
Index SetModelMAPE%SMAPE%R2
SSEGBM4.37824.28570.6089
GFBM3.63793.64390.7163
MFBM4.38784.42270.6247
IFPSO-MFBM3.34423.32620.7019
Table 5. Comparative analysis of SSE index returns under four models.
Table 5. Comparative analysis of SSE index returns under four models.
Index SetModelReturns (1 July 2019–1 July 2022)
SSEGBM0.1714
GFBM0.1441
MFBM0.1545
IFPSO-MFBM0.2815
Table 6. MFBM model parameters and optimization results for the Hang Seng index.
Table 6. MFBM model parameters and optimization results for the Hang Seng index.
Index SetParametersR/SMLEIFPSO
Hang Seng μ -−0.06770.2631
σ -0.23180.5820
ρ --0.7496
H 0.5651-0.6160
Table 7. Parameters of the Hang Seng in the four models.
Table 7. Parameters of the Hang Seng in the four models.
Index SetModelSeed μ σ ρ Hurst
Hang Seng GBM 107−0.06770.2318--
GFBM 121−0.06770.2318-0.5651
MFBM 89−0.06770.23180.50.5651
IFPSO MFBM 890.26310.58200.74960.6160
Table 8. Comparative error analysis of Hang Seng index under four models.
Table 8. Comparative error analysis of Hang Seng index under four models.
Index SetModelMAPE%SMAPE%R2
Hang SengGBM5.44725.37330.4893
GFBM6.55266.55840.2990
MFBM6.21646.10920.3836
IFPSO-MFBM4.88574.97520.5348
Table 9. Comparative analysis of Hang Seng index returns under four models.
Table 9. Comparative analysis of Hang Seng index returns under four models.
Index SetModelReturns (1 July 2019–1 July 2022)
Hang SengGBM0.1474
GFBM0.1168
MFBM0.1173
IFPSO-MFBM0.2307
Table 10. MFBM model parameters and optimization results for the Dow Jones index.
Table 10. MFBM model parameters and optimization results for the Dow Jones index.
Index SetParametersR/SMLEIFPSO
Dow Jones μ -0.08040.0127
σ -0.24360.2790
ρ --0.3983
H 0.5939-0.5480
Table 11. Parameters of the Dow Jones in the four models.
Table 11. Parameters of the Dow Jones in the four models.
Index SetModelSeed μ σ ρ Hurst
Dow Jones GBM 1700.08040.2436--
GFBM 1880.08040.2436-0.5939
MFBM 520.08040.24360.50.5939
IFPSO MFBM 520.01270.27900.39830.5480
Table 12. Comparative error analysis of Dow Jones index under four models.
Table 12. Comparative error analysis of Dow Jones index under four models.
Index SetModelMAPE%SMAPE%R2
Dow JonesGBM6.02596.15530.6816
FBM4.95024.73620.7591
MFBM5.51355.37500.7113
IFPSO-MFBM4.41964.19120.7662
Table 13. Comparative analysis of the Dow Jones index returns under four models.
Table 13. Comparative analysis of the Dow Jones index returns under four models.
Index SetModelReturns (1 July 2019–1 July 2022)
Dow JonesGBM0.1426
GFBM0.2158
MFBM0.1033
IFPSO-MFBM0.3083
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hu, H.; Zhao, C.; Li, J.; Huang, Y. Stock Prediction Model Based on Mixed Fractional Brownian Motion and Improved Fractional-Order Particle Swarm Optimization Algorithm. Fractal Fract. 2022, 6, 560. https://doi.org/10.3390/fractalfract6100560

AMA Style

Hu H, Zhao C, Li J, Huang Y. Stock Prediction Model Based on Mixed Fractional Brownian Motion and Improved Fractional-Order Particle Swarm Optimization Algorithm. Fractal and Fractional. 2022; 6(10):560. https://doi.org/10.3390/fractalfract6100560

Chicago/Turabian Style

Hu, Hongwen, Chunna Zhao, Jing Li, and Yaqun Huang. 2022. "Stock Prediction Model Based on Mixed Fractional Brownian Motion and Improved Fractional-Order Particle Swarm Optimization Algorithm" Fractal and Fractional 6, no. 10: 560. https://doi.org/10.3390/fractalfract6100560

Article Metrics

Back to TopTop