Next Article in Journal
Estimates of Mild Solutions of Navier–Stokes Equations in Weak Herz-Type Besov–Morrey Spaces
Next Article in Special Issue
Stability of Solutions to Systems of Nonlinear Differential Equations with Discontinuous Right-Hand Sides: Applications to Hopfield Artificial Neural Networks
Previous Article in Journal
Two-in-One Secret Image Sharing Scheme with Higher Visual Quality of the Previewed Image
Previous Article in Special Issue
A Mathematical Model of the Production Inventory Problem for Mixing Liquid Considering Preservation Facility
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Dynamical Model for Financial Market: Among Common Market Strategies Who and How Moves the Price to Fluctuate, Inflate, and Burst?

by
Annalisa Fabretti
Department of Economics and Finance, University of Rome Tor Vergata, 00133 Rome, Italy
Mathematics 2022, 10(5), 679; https://doi.org/10.3390/math10050679
Submission received: 10 January 2022 / Revised: 16 February 2022 / Accepted: 17 February 2022 / Published: 22 February 2022

Abstract

:
A piecewise linear dynamical model is proposed for a stock price. The model considers the price is driven by three rather standard demand components: chartist, fundamental and market makers. The chartist demand component is related to the study of differences between moving averages. This generates a high order system characterized by a piecewise linear map not trivial to study. The model has been studied analytically in its fixed points and dynamics and then numerically. Results are in line with the related literature: the fundamental demand component helps the stability of the system and keeps prices bounded; market makers satisfy their role of restoring stability, while the chartist demand component produces irregularity and chaos. However, in some cases, the chartist demand component assumes the role to compensate the fundamental demand component, felt in an autogenerated loop, and pushes the dynamics to equilibrium. This fact suggests that the instability must not be searched into the nature of the different investment styles rather in the relative proportion of the contribution of market actors.

1. Introduction

Financial markets are complex systems whose functioning has been studied and discussed largely in literature. Conventionally, markets are seen as populated by rational investors that arbitrage away any possible predictable gain, thus what is left is just perturbation with null returns. However psychological forces unquestionably play a role in financial crashes, for example, it happened in 1929, on the Black Monday of October 1987, or in the dot.com bubble of 2001. Bubbles and crashes cannot be explained by an efficient market, where prices are supposed to reflect all the available information. Starting from empirical facts that cannot be explained by the efficient market hypothesis and observable features that can be seen as the outcome of speculative activities, a large stream of literature developed models in which prices are driven by the demand of heterogeneous market participants. The addressed issues consisted in understanding how irregular patterns, alternating periods of bull and bear markets, can be derivable from the way actors participate in the market. One of the first behavioral model in this direction was proposed in [1] with linear trading rules that were successively extended to non-linear versions in [2,3]. At the same time, imitative behavior and switching between investment styles have been also largely addressed to explain the emergence of fads, herding behavior, and financial bubbles [3,4,5]. Such a field intersects also with some empirical literature that looks at financial data searches for chaotic traces instead of randomity [6,7,8,9].
In the mentioned literature two rather standard approaches in terms of investment styles are considered: fundamental analysis and technical analysis. The fundamental analysis supports the trading through a deep analysis of the real economy behind the asset and evaluating the future earnings; in this respect, a fundamental value will summarize the outcome of such analysis and will drive the trader’s order submission. The technical analysis, based on graphs and indices, return trends and the market sentiment, provides concise tools to understand where the market is going. Professional traders rely both on technical and fundamental analysis to determine whether and how to participate in the market. Hence the model considers the price driven by a composite demand in which fundamentals and indices contribute together to move the price. Moreover, the third typology of component is considered, hereafter referred to as market makers’ demand: market makers are specific entrepreneurs who accomplish the task to absorb excess demand if any. The fundamental and chartist demand components are assumed piecewise linear, indeed it is quite common that an investor does not participate continuously in the market rather she enters (buy) or exits (sell) the market if something gives her a signal of unfair prices or trend inversion; in other words, an investor submits an order, whatever it is, when something happens to suggest the presence of earning opportunities. Thus the model belongs to that part of literature that sees markets as financial dynamical systems and applies continuous and discontinuous piecewise smooth maps in economics and finance, as [10,11,12]; in the specific financial markets, see [13] for a review. In the present model, the chartist demand component is given by a common chartist investment strategy that uses the difference of moving averages to catch trend inversions. From the mathematical point of view, this leads to a large first-order difference equation system whose study is not so straightforward. The equilibrium points and their stability can be studied only partially; the bifurcations that occur belong to the class of border collision bifurcations for which analytical results are still limited to low order systems [14,15,16].
The analytical and numerical analysis confirm that demand based on fundamental analysis keeps prices around the fundamental value even when chaos appears. Demand based on technical analysis can in large amount contribute to enhancing the chaos of the system and the price oscillations, while market makers assume the role to stabilize the market. The presence in the market of investors, those who try to speculate without caring about fundamentals, generates dynamics that remove the price from its fundamental value because their action drives the market in the same direction the market goes, giving strength to the trend. A clear example of such a phenomenon is represented by the financial bubble (see [17,18]): increasing prices lead investors to buy, which feeds the price increase far away from its fundamental. On the other hand, when the price is so pumped, it starts a period of instability, then a crash can occur, or a smooth deflation will bring back the price near its fundamental. In the model each demand component is weighted by a specific parameter, the ratios between these parameters give the balance between the investment styles relative dominance. Results are anything but surprising, and in line with the related literature, however, the emergence of a situation in which the fundamental demand component alone generates periodic prices and small amounts of chartist demand push prices to converge. How can chartist demand push to equilibrium a periodic dynamic triggered by the fundamentals? In an attempt to answer this question: while the fundamental demand component generates a loop that feeds a periodic up and down of prices, the chartist demand component that moves in an opposite direction operates as softening the fundamental force resulting in a convergent price. One could argue that the interaction of different investments styles in the market generates disequilibrium in prices when their contribution is out of proportion, otherwise, the market moves chaotic without spikes or anomalies, apparently in line with the efficient market hypothesis. In other words, one can conclude that the observed instability does not derive from the presence of some specific investment style in itself, rather from a disproportion of their reciprocal contributions to form the total demand.
The novelty of the model stays in introducing: (a) a common chartist investment strategy that sees applied the moving averages; in particular, the difference between two moving averages, as used by technical analysis, involves the use of past prices in the long and short term, leading to a high order system whose study is anything but trivial to face; (b) the market makers demand so far has not experienced enough attention in the related literature. Future investigations will move in the direction of studying deeply the border collisions bifurcation in high order system as it occurs here; adding sophistication to the market makers demand via a piecewise map, which would be more reasonable from the economic point of view; developing a stochastic version of the model to replicate more realistically the market and allowing for calibration on real data.
The rest of the paper is organized as follows: Section 2 presents the model with all its components in details; Section 3 presents the analytical study of the system in each component, in the limit of their tractability; Section 4 presents numerical examples with relative observations and results; in Section 5 a general discussion on the model is provided; finally Section 6 concludes.

2. A Financial Market Model

The proposed model considers the price as moved by the market demand, driven by three rather standard components: a fundamental component, set according to a “fair” price deriving from fundamental analysis; a chartist component, that follows the market trend by using technical analysis, and a market makers component, that helps liquidity and price fluidity absorbing demand in excess.
Let x t and y t be the stock price and the demand at time t, respectively. They can be put in relation by a difference equation system of the type
x t = a x t 1 + b y t 1 y t = y t f + y t c + y t m m ,
where y t f , y t c and y t m m are the fundamental, chartist and market makers demands, respectively. The price is driven by past prices, just one step before, and the demand y t 1 . The price dependence with respect to the past and the demand could be modeled in many different maps, for the sake of tractability the linear map remains one of the most adopted choices.
Under the action of the three market forces, prices will move up and down, showing stable, periodic, or chaotic behavior. Each market component can dominate more than others pushing the market to an equilibrium price or an erratic movement, that even in a stylized fashion can remind real market reproducing known stylized facts. Each component will be studied analytically and numerically, varying the specific parameters that balance the weight of each component. In the following, each component will be described in detail.

2.1. Fundamental Demand

The fundamental strategy is built around the fundamental price that each agent evaluates according to her perception and belief, selecting the relevant economic and financial factors which contribute to producing the supposed security’s intrinsic value. For the sake of simplicity, we consider a demand driven by a unique fundamental price as all the investors agree on it. A heterogenous specification of the fundamental value could be adopted to incorporate heterogenous agents’ beliefs; for example, we could select a fundamental value following a random walk which can incorporate also the effect of news arrival, as in [5,19], however, it would add more complexity to the model.
Given v the fundamental price, the stock results overvalued if x t > v , the stock is correctly valued if x t = v , and the stock is undervalued if x t < v ; then an investor sells, holds her position, or buys, respectively, because she expects prices decreasing or increasing accordingly. In literature this has been often modeled by a linear function y t f ( v x ) , which can generate an unlimited demand; however limited money availability could suggest that a bounded function could fit better the bounded reality, for example, the following
y f = c arctan ( V x ) .
The Equation (2) owns the quality to be continuous and smooth, however its analytical tractability could be hard. Then a piecewise linearized version around v could be more suitable:
y f = d i f x < v δ c ( v x ) i f v δ x v + δ d i f x > v + δ .
Note that the map is continuous if d = c δ , discontinuous otherwise. This map can be written also as
y f = c ( v x ) χ [ v δ , v + δ ] d χ ( v + δ , ) + d χ ( , v δ ) .
where χ A is the indicator function of set A.
The dynamics of these maps will be analyzed in Section 3.1.

2.2. Chartist Demand

The technical analysis attempts to interpret the evolution of the market by looking at charts, for this reason, the investors using such analysis are called often chartists. According to the technical analysis, the price charts present recurrent figures (head and shoulders, Elliot’s wave, triangular forms, just for citing some examples); such figures can indicate evolution, persistence, or inversion of trend. If the market is in a down-trend (bearish) the technical analysis suggests selling, and if it is in an up-trend (bullish) to buy; price dynamics are often summarized by indicators as moving averages, those are built such that they can generate a signal of market changes.
Investment decisions in technical analysis are the result of complex evaluations based on market observation by means of charts, signals, oscillators involving prices, volumes, and any variable of interest. Among the most commonly used indicators, there are moving averages, that smooth the price dynamics, clearing it from temporary oscillations. The difference between two moving averages, a long and a short one is a common indicator sensible to a trend inversion. The moving average (ma) at time t on K days is defined by
m a K ( t ) = 1 K i = t K + 1 t x i ;
it is a smooth line of prices that shows the development of the price following it without anticipating. It is a popular practice to use and compare two moving averages, one on the long term, one on the short term; the former catches the main trend while the latter is more sensitive to short time fluctuations; their difference, called a difference of averages ( d o a ), is such that it generates a signal as they cross each other; indeed, in the short term, ma is lower than the long-term ma and their position inverts, the short ma is catching an increasing trend inversion; while when the short term is greater than the long one and their position inverts, their intersection signals a decreasing trend beginning. Formally, let d o a t be
d o a t = m a S ( t ) m a L ( t ) ,
where S < L , i.e., m a S ( t ) is the short term moving average and m a L ( t ) is the long term moving average, briefly we have:
if d o a t 1 < 0 < d o a t then buy , if d o a t 1 > 0 > d o a t then sell .
In a few words, the signal is generated when the d o a -line crosses zero, if it does from below, the signal is to buy, if it does from above is to sell. Introducing such an indicator in the chartist demand, we get
y c = e · ( d o a t d o a t 1 ) · χ ( d o a t · d o a t 1 < 0 )
where e is the specific chartist parameter and χ is the indicator function. Given (4), we have
d o a t d o a t 1 = 1 S ( x t x t S ) 1 L ( x t x t L ) ,
it results
y t c = e · 1 S ( x t x t S ) 1 L ( x t x t L ) χ ( D ) ,
where D = { x i , i = t L , , t | d o a t · d o a t 1 < 0 } .

2.3. Market Makers Demand

Market makers clean the market by excess demand, so they buy or sell in opposition to the market behavior. For this reason, the easiest expression is
y t m m = d m y t 1 ,
where d m is the reaction parameter that balances the market makers’ presence in the market.

3. The Analytical Study

Fundamental and chartist components are piecewise linear maps of first and L + 1 order. In the present section, fundamental and chartist demand components are first considered singularly and analytically studied to the limit of their tractability, then they will be studied together. The market makers’ demand will not be considered alone because this lacks economic sense.

3.1. The Model with Fundamental Demand

Let us start with the map
x t = a x t 1 + b y t 1 y t = c arctan ( v x t 1 ) .
The system can be re-written in one equation
x t = a x t 1 + b c arctan ( v x t 2 ) ,
which is a one-dimensional map but a second-order difference equation. This map admits a positive fixed point lower than v for 1 a b c > 0 , a negative fixed point for 1 a b c < m * and one negative and two positive fixed points greater than v for m * < 1 a b c < 0 , where m * is given by
m * = 1 1 + ( v x s * ) 2 ,
given x s * to be the solution of the equation
x s * 1 + ( v x s * ) 2 + arctan ( v x s * ) = 0 .
The local/global stability of such points can be studied numerically; the trajectories appear in some cases non-trivial, but a full analytical study is hindered by the presence of the arctang. The map in (10) can be approximated by a two-dimensional piecewise smooth map, which shows interesting behavior, and it is more analytically tractable. Note that parameters in the piecewise smooth map can be set to have a continuous map that approximates (10), the calculation is straightforward. For the sake of simplicity, we use the same notations even if they might differ.
Let us consider now the piecewise linear map
x t = a x t 1 + b y t 1 y t = c ( v x t 1 ) χ ( x t 1 ) [ v δ , v + δ ] d χ ( x t 1 ) ( v + δ , ) + d χ ( x t 1 ) ( , v δ )
which can be written in a normal form
z t = A 1 z t 1 + d 1 x n < v δ A 2 z t 1 + c v v δ x n v + δ A 1 z t 1 d 1 x n > v + δ ,
where z t = ( x t , y t ) , v = ( v , 0 ) , 1 = ( 0 , 1 ) and
A 1 = a b 0 0 , A 2 = a b c 0 .
The phase space of this map is divided by the borderlines x = v δ , x = v + δ into 3 regions L 1 : = { ( x , y ) R 2 : x < v δ } , L 2 : = { ( x , y ) R 2 : v δ x v + δ } and L 3 : = { ( x , y ) R 2 : x > v + δ } ; in each region the dynamics follows a linear map continuous in its relative region. The map is invertible if b c 0 . By a straightforward calculation we find that the map owns three fixed points O i L i with i = 1 , 2 , 3 ,
O 1 = b d 1 a , d i f b d 1 a < v δ O 2 = b c v 1 a + b c , c v 1 a 1 a + b c i f v δ b c v 1 a + b c v + δ O 3 = b d 1 a , d i f b d 1 a > v + δ .
Each of these three points exists in an own existence region according to parameters value ( a , b , c , d , δ , v ) . In order to determine the stability, we need to calculate the eigenvalues of matrices A 1 and A 2 , where the characteristic polynomials are
p 1 ( λ ) = λ ( a λ ) , p 2 ( λ ) = λ 2 a λ + b c .
Since p 1 ( λ ) admits λ = 0 and λ = a as roots, O 1 and O 3 are stable if a < 1 . The polynomial p 2 ( λ ) has discriminant Δ = a 2 4 b c that depicts different stability regions according to a , b , c values. The curve Δ = 0 partitions the space
R 3 into two regions where the eigenvalues are
  • real and distinct if Δ > 0 ,
  • real and equal if Δ = 0 ,
  • complex if Δ < 0 .
The bifurcation conditions are given by
P e r i o d d o u b l i n g ( f l i p ) : 1 + a + b c = 0 S a d d l e n o d e ( f o l d b i f . ) : 1 a + b c = 0 N e i m a r k S a c k e r : b c = 1 .
In Figure 1 (left) the stability regions and the bifurcation curves are represented in the ( a , b ) plane with c = 1 , while in (middle) the stability regions and the bifurcation curves are represented in the ( b , c ) plane with a = 1 . In Figure 2 (left:right) the bifurcation surfaces are shown in the ( a , b , c ) space. The conditions for the asymptotic stability are
1 T r ( A 2 ) + D e t ( A 2 ) = 1 + a + b c > 0 1 + T r ( A 2 ) + D e t ( A 2 ) = 1 a + b c > 0 D e t ( A 2 ) = b c < 1 .
In Figure 1 the asymptotic stability region is highlighted by the striped area. Simulations and relative discussion of this case are reported in Section 4.

3.2. The Model with Fundamental and Market Makers Demands

In the following section, we consider fundamental demand together with market makers. Considering market makers alone have a poor economical meaning, for this reason, it is more of interest to the presented case. We have the following system
x t = a x t 1 + b y t 1 y t = c ( v x t 1 ) χ ( x t 1 ) [ v δ , v + δ ] d χ ( x t 1 ) ( v + δ , ) + d χ ( x t 1 ) ( , v δ ) d m y t 1 ,
which corresponds to a normal form as in (14) where
A 1 = a b 0 d m , A 2 = a b c d m .
Matrices A 1 and A 2 are invertible if a d m 0 and a d m + b c 0 , respectively. As in (13) the phase space is divided in 3 regions L i , with i = 1 , 2 , 3 and a straightforward calculation brings to the following fixed points
O 1 = b d ( 1 a ) ( 1 + d m ) , d 1 + d m i f b d ( 1 a ) ( 1 + d m ) < v δ O 2 = b c v ( 1 a ) ( 1 + d m ) + b c , c v 1 a ( 1 a ) ( 1 + d m ) + b c i f v δ b c v ( 1 a ) ( 1 + d m ) + b c v + δ O 3 = b d ( 1 a ) ( 1 + d m ) , d 1 + d m i f b d ( 1 a ) ( 1 + d m ) > v + δ .
Now the parameters set includes the new parameter d m . The characteristics of polynomials are
p 1 ( λ ) = ( d m λ ) ( a λ ) , p 2 ( λ ) = λ 2 + ( d m a ) λ a d m + b c .
In L 1 and L 3 eigenvalues are always real and fixed points are stable if a < 1 and d m < 1 . Flip bifurcation occurs at a = 1 and d m = 1 , fold bifurcation occurs at a = 1 and d m = 1 , while Neimarck Sacker bifurcation occurs when a = 1 d m . The stability region in L 2 is given by the conditions
( 1 a ) ( 1 + d m ) + b c > 0 ( 1 + a ) ( 1 d m ) + b c > 0 b c a d m < 1
and bifurcation conditions are
P e r i o d d o u b l i n g ( f l i p ) : ( 1 + a ) ( 1 d m ) + b c = 0 S a d d l e n o d e ( f o l d b i f . ) : ( 1 a ) ( 1 + d m ) + b c = 0 N e i m a r k S a c k e r : b c a d m = 1 .
Assuming that d m [ 0 , 1 ] which is economically reasonable, in Figure 3 stability regions and bifurcation curves are plotted with c = 1 (lhs) and a = 1 (rhs). The triangular region moves accordingly the effect of d m , while the hyperboles on the right-hand side moves up and down accordingly.

3.3. The Model with Chartist Demand

Considering only the chartist component, the model takes the form
x t = a x t 1 + b y t 1 y t = e · 1 S ( x t 1 x t 1 S ) 1 L ( x t 1 x t 1 L ) χ ( D ) , ,
where D = { x i w i t h i = t L 1 , , t 1 | d o a t 1 · d o a t 2 < 0 } . It is a system of order L + 1 , that can be transformed into a L + 2 system of first order as following
x t + 1 ( 1 ) = a x t ( 1 ) + b x t ( 2 ) ( t ) x t + 1 ( 2 ) = e · 1 S ( x t ( 1 ) x t ( S + 2 ) ) 1 L ( x t ( 1 ) x t ( L + 2 ) ) χ ( D ) x t + 1 ( 3 ) = x t ( 1 ) x t + 1 ( 4 ) = x t ( 3 ) x t + 1 ( S ) = x t ( S 1 ) x t + 1 ( L + 2 ) = x t ( L + 1 ) .
Let be z t = ( x t ( 1 ) , x t ( 2 ) , , x t ( L + 2 ) ) , the system takes the normal form z t = A z t 1 in D, where
A = a b 0 0 e S e L 0 0 e S e L 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 .
Outside D the system collapses in x t = a x t 1 , which has the trivial solution x t = a t x 0 .
The characteristic polynomial is given by
p ( λ ) = a 1 λ L + 2 + a 2 λ L + 1 + a 3 λ L + a 4 λ L S 1 + a 5
where a 1 = ( 1 ) L , a 2 = ( 1 ) L + 1 a , a 3 = ( 1 ) L + 1 b e S e L , a 4 = ( 1 ) L e b S , and a 5 = ( 1 ) L + 1 e b L . In this case the study of the stability region is not trivial.

3.4. The Complete Model

When all the components are considered the model takes a normal form z t = A z t 1 in D [ v δ , v + δ ] where
A = a b 0 0 c + e S e L d m 0 e S e L 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 .
Also, in this case, we can write the characteristic polynomial, however, the stability region study is not trivial, and it can be performed only partially. For this reason, in the following, we settle for numerical simulation to discuss the dynamics scenario and the economic implications.

4. Numerical Simulation

In the following, we study numerically all the presented cases. In detail, we start with the fundamental map; then we consider fundamental and market makers’ demand together; as a third step we consider chartist demand firstly alone then jointly with fundamental demand and, finally, we combine all the demands. The market makers’ demand is studied only associated with fundamental and chartist demands, indeed, as already mentioned, being thought to absorb excess demand, alone it loses reasonability from the economic point of view. In all the simulations it holds v = 5 , δ = v 2 and d = 2 . The main discussion is about parameters a , b , c , d m , e which give the impact of each demand and past prices on the dynamics.

4.1. Fundamental Demand

We investigate the dynamics starting from the analytical results. In the asymptotic stability region, prices go to one of the fixed points with speed according to the parameters. Closer the parameters to the border of the stability region slower the convergence, as it can be seen in Figure 4, comparing the scenario in the top with parameters a = 1 , b = 1.9 and c = 0.4 to that in the bottom with a = 1 , b = 0.7 and c = 1.4 , where the value of c at the border would be 1 b = 1.4286 . Each figure in the following shows price dynamics on the left-hand side and the phase space ( x , y ) on the right-hand side. Outside the stability region, the dynamic scenarios include periodic orbits and chaotic motion. Some examples of periodic orbits are reported in Figure 5, where on the top there is an orbit of period 6 to be read clockwise; note that in terms of price and demand the orbit is 3-period but they are combined giving 6 couples of price and demand. On the bottom a periodic elliptic orbit appears, this dynamics holds for any value of a ( 0 , 1 ) when b and c are equal 1. In this case, the effect of the demand is fixed, while the price drift matters: the higher a the closer the ellipse center to the fixed point ( v , 0 ) and the closer the amplitude to the range ( v δ , v + δ ) . Examples of chaotic motion are reported in Figure 6 and Figure 7. In Figure 6 the plot on the top panel shows prices almost regularly oscillating in the range ( v δ , v + δ ) , since parameters are closed to the stability region border; while on the bottom panel parameters are far from the border and prices oscillate widely. In Figure 7, c is negative; being c the fundamental demand parameter, negative values mimic a trend follower demand, indeed the dynamics show bear and bull period (on the top), a wide range of prices (in the center) and price overvaluation (on the bottom). In Figure 8 bifurcation diagrams with respect c show the map behavior varying c.

4.2. Fundamental and Market Makers

As already discussed, stability regions, see again Figure 3, the presence of market makers tends to regularize prices enlarging the stability region. Outside of this region dynamics scenarios appear very similar to those in the already studied case with only the fundamental demand component. We focus on d m [ 0 , 1 ] because values outside this interval own low interest from an economic perspective, indeed such a case complies with a reverse effect of market maker that rather absorbing amplifies the excess demand effect. Even if such dynamics could be interesting from the mathematical point of view, its absence of interest from the economical point of view suggests skipping this study. The simulation outcomes do not add any insight to those already discussed in the fundamental demand map, thus no figures about this case are reported.

4.3. Chartist Demand

It is of interest to see how the system behaves when only chartist demand is active. When a = 1 and b = 1 , no matter the chartist contribution, the system converges to a fixed point determined by the initial conditions. When a < 1 and b = 1 the system shows a rough periodicity for small value of e, i.e., for small contribution of the chartist investment style, and a chaotic behavior for high values of e, see bifurcation diagrams in Figure 9. Lower the b later the chaos appears, since a low b reduces the amplitude of the chartist demand and hence its impact on prices, see Figure 9 in the center. Finally, if a is greater than 1, but still in that range in which prices do not explode, the contribution of the chartist leads directly to chaos, see Figure 9 (rhs).

4.4. Fundamental and Chartist Demand

Let us now consider the dynamics with the fundamental and chartist demands. In Figure 10 (lhs), a , b , c are the same as those in the bottom of Figure 5, while e [ 0 , 7.6 ] . The bifurcation diagrams show that low values of e do not change the dynamics, then the presence of chartist investors stabilizes the price pushing it to converge to a slightly overvalued price. Increasing e the dynamics becomes chaotic with small intervals in which the contribution of chartist demand pushes prices to converge or to oscillate around the equilibrium, not far from the fundamental value. How and why chartist demand can do this is not straightforward to understand and appears counterintuitive. Note that when a = 1.1 , b = 0.8 and c < 1 b the fundamental map converges and chartist investors do not affect the convergence, even a large amount of chartists do not change the dynamics. Similarly when a = 1 and b = 1.9 and c = 1 b chartist demand has no effect on the periodic dynamics of fundamental map. Differently, when a < 1 , b < 1 and c < 1 b , such that the fundamental map dynamics is asymptotically stable, a small presence of chartist has no effect, while high values of e move the dynamics into chaos. Note that in Figure 10 (rhs) there is a range of e in which the price oscillates chaotic into the range ( v δ , v + δ ) , while for e approaching values near 7 prices move chaotic in a very large range. This fact suggests the following picture: prices oscillate in a reasonable range under the action of fundamental and chartist forces, for some reason, chartist investors increase in number till to surpass a certain threshold, after that, prices start to oscillate widely as it happens in case of market turbulence, with prices going up and down crazily. This confirms the belief that chartist investors participate in instability and bubble inflation. However, it appears that the responsibility of instability stays more in the unequal proportion of force pressures on the market than the specific action of an investment style itself. In other words, it is not the adoption of the technical analysis in itself the problem but their dominance in proportion.
Figure 11 and Figure 12 propose three dynamics with comparable parameters. On the left-hand side, only fundamental demand is considered, while in the center fundamental demand is coupled with chartist demand and on the right-hand side, all the components are effective. The dynamics changes according to the demand: with only fundamental demand, the price stays in a narrow neighborhood of O 2 , when chartist demand intervenes, the regular dynamics moves into a chaotic elliptic attractor (see the plot in the center), while the intervention of market maker regularizes and pushes the price to converge fast (see rhs). In this case, chartist demand moves prices to chaos, and market makers restore the convergence. Differently in Figure 12, fundamental parameters are set to generate a periodic elliptic attractor (lhs), chartist demand has the effect to shrink the price to the fixed point O 2 (see in the center) and again the market makers accelerate the convergence (rhs). In this example, chartist demand has the effect to push prices to equilibrium.

5. Further Discussions

The present section addresses a general discussion about the model, its limits, and some possible future evolutions. The presented model is deterministic and pointed toward considering how market participants, their styles, and their attitudes have an impact on prices and market instability. The model considers three rather standard strategies and provides stylized explanations of empirical market features. Thanks to its simplicity the model is flexible with respect to many future variations. One could include the possibility to have fundamental value varying over time, following for example a random walk as in [4]. This can be done substituting in Equation (10) v by
v t = v t 1 + ϵ ,
where ϵ N ( 0 , σ 2 ) .
Another variation could consider the switching between investment styles; this can be done by allowing the reaction parameters c, d, e, and d m also including the tolerance δ to change in time as in [19]. Indeed, in the full demand, we can see the contribution of investment styles accounted by traders simultaneously in the proportion given by the reaction parameters. Traders can consider differently the misalignment by fundamentals or the trend, thus reaction parameters can vary according to the strength of the investors’ belief in each specific investment style. In other words, there could be phases in the market in which investors believe and adopt more fundamental analysis than technical one or vice versa. For doing so a mechanism of imitation and profitability evaluation must be implemented. Alternatively, although more simplistic it could be done by considering parameters varying randomly in time. A stochastic version of the model can also be considered, including a random perturbation of prices to incorporate the effect of traders moved by liquidity needs or the effect of exogenous news arrival on the market. The stochastic version has the advantage to replicate more realistically the market features. Indeed, a deterministic model has mainly the aim to offer a stylized explanation of market features and not the presumption to be completely realistic as it is needed to be used for forecasting purposes for example. The stochastic version could be also subjected to a calibration procedure following the simulated method of moments as in [20,21]. Although the undeniable value of work pointed towards the reproduction of real market dynamics in its entirety, such an issue is outside the aims of the present paper and left for future investigations.

6. Conclusions

In the present model, a simple financial market model is considered with three rather standard market forces contributing simultaneously to the total demand: fundamental, chartist, and market makers. The model is given by a discrete difference equation system with a piecewise linear map of a high order. Each component has been studied separately to understand and highlight its contribution to the dynamics. Results are not surprising and in line with the related literature [1,4,12,13]: fundamental demand helps the stability of the system and keeps prices bounded; market makers satisfy their role of restoring stability, while the chartist demand component adds instability and chaotic movement to prices. However, we see that in some cases chartist demand can compensate for fundamental demand, felt in the loop, and pushes the dynamics to equilibrium. The lesson we can take from this fact is that the instability does not stay intrinsically in the nature of the demands but their combination and proportion. Indeed, markets are places where a mix of different beliefs and attitude meets. The market dynamics cannot be anything else than the outcome of such a variety of agents. In the market, the heterogeneity of actors finds an equilibrium that can show regular dynamics and smooth oscillations coherent with the efficient market hypothesis. Nevertheless, if any kind of disequilibrium occurs in the market forces, prices can oscillate widely, bear and bull periods can arrive, and bubbles can inflate and explode.
The contribution of the paper goes in three directions: (1) it considers a common, rather so far unstudied, chartist demand implying moving averages difference; (2) the model includes market maker participation, so far that it has not received so much attention; (3) the model uses a high order piecewise linear map that provides interesting bifurcation diagrams belonging to the class of border collision bifurcations but those deserve much attention for the future, also for their economic implications.
Future investigations can move in the following directions: (1) the study of border collisions bifurcations in high order systems as the one proposed here; (2) the sophistication of the market maker demand via a piecewise map; (3) the implementation of a stochastic version of the model with a mechanism of changing the weight of each investment style; (4) the calibration of a stochastic version of the model to reproduce real markets dynamics.

Funding

AF acknowledges financial support from the project HiDEA (Advanced Econometric methods for High-frequency Data) financed by the Italian Ministry of Education, University and Research (MIUR) under the program “PRIN: PROGETTI DI RICERCA DI RILEVANTE INTERESSE NAZIONALE—Bando 2017” Prot. 2017RSMPZZ.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data were generated during the study. The paper presents any information needed to replicate the study.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Beja, A.; Goldman, M.B. On the dynamic behavior of prices in disequilibrium. J. Financ. 1980, 35, 235–248. [Google Scholar] [CrossRef]
  2. Day, R.; Huang, W. Bulls, Bears, and Market Sheep. J. Econ. Behav. Organ. 1990, 14, 299–329. [Google Scholar] [CrossRef]
  3. Chiarella, C. The dynamics of speculative behavior. Ann. Oper. Res. 1992, 37, 101–123. [Google Scholar] [CrossRef] [Green Version]
  4. Lux, T. The socio-economic dynamics of speculative markets: Interacting agents, chaos, and the fat tails return distributions. J. Econ. Behav. Organ. 1998, 33, 143–165. [Google Scholar] [CrossRef]
  5. Lux, T.; Marchesi, M. Scaling and criticality in a stochastic multi-agent model of a financial market. Nature 1999, 397, 498–500. [Google Scholar] [CrossRef]
  6. Gilmore, C.G. A new approach to testing for chaos, with applications in finance and economics. Int. J. Bifurc. Chaos 1992, 3, 583–587. [Google Scholar] [CrossRef]
  7. Gilmore, C.G. Detecting linear and non linear dependence in stock returns: New methods derived from chaos theory. J. Bus. Financ. Account. 1996, 23, 1357–1377. [Google Scholar] [CrossRef]
  8. Holyst, J.A.; Zebrowska, M.; Urbanowicz, K. Observation of deterministic chaos in financial time series by Recurrence Plots, can one control chaotic economy? Eur. Phys. J. B 2001, 20, 531–535. [Google Scholar] [CrossRef]
  9. McKenzie, M.D. Chaotic behavior in national stock market indices. Glob. Financ. J. 2001, 12, 35–53. [Google Scholar] [CrossRef]
  10. Lorenz, H.W. Non Linear Dynamical Equation and Chaotic Economy; Springer: Berlin, Germany, 1993. [Google Scholar]
  11. Hommes, C.H.; Nusse, H. Period three to period two bifurcations for piecewise linear models. J. Econ. 1991, 54, 157–169. [Google Scholar] [CrossRef] [Green Version]
  12. Tramontana, F.; Westerhoff, F.; Gardini, L. On the complicated price dynamics of a simple one-dimensional discontinuous financial market model with heterogeneous interacting traders. J. Econ. Behav. Organ. 2010, 74, 187–205. [Google Scholar] [CrossRef] [Green Version]
  13. Tramontana, F.; Westerhoff, F. Piecewise-Linear Maps and Their Application to Financial Markets. Front. Appl. Math. Stat. 2016, 2, 10. [Google Scholar] [CrossRef] [Green Version]
  14. Banerjee, S.; Grebogi, C. Border collision bifurcations in two-dimensional piece wise smooth maps. Phys. Rev. E 1999, 59, 4052–4061. [Google Scholar] [CrossRef] [Green Version]
  15. Nusse, H.E.; Yorke, J.A. Border collision bifurcations for piecewise smooth one-dimensional maps. Int. J. Bifurc. Chaos 1995, 5, 189–207. [Google Scholar] [CrossRef]
  16. De, S.; Sharathi Dutta, P.; Banerjee, S.; Ranjan, A. Local and global bifurcations in three dimensional continuous piecewise smooth maps. Int. J. Bifurc. Chaos 2011, 21, 1617–1636. [Google Scholar] [CrossRef]
  17. Sornette, D.; Johansen, A.; Bouchaud, J.P. Stock Market Crashes, Precursors and Replicas. J. Phys. I Franc. 1996, 6, 167–175. [Google Scholar] [CrossRef] [Green Version]
  18. Sornette, D. Why Stock Markets Crash: Critical Events in Complex Financial Systems; Princeton University Press: Princeton, NJ, USA, 2004; p. 448. [Google Scholar]
  19. Westerhoff, F.; Reitz, S. Nonlinearities and Cyclical Behavior: The Role of Chartists and Fundamentalists. Stud. Nonlinear Dyn. Econom. 2007, 7, 4. [Google Scholar] [CrossRef] [Green Version]
  20. Franke, R.; Westerhoff, F. Structural stochastic volatility in asset pricing dynamics: Estimation and model contest. J. Econ. Dyn. Control. 2012, 36, 1193–1211. [Google Scholar] [CrossRef] [Green Version]
  21. Fabretti, A. Markov chain analysis in agent-based model calibration by classical and simulated minimum distance. Knowl. Inf. Syst. 2019, 61, 259–276. [Google Scholar] [CrossRef]
Figure 1. In (a) on the left hand side the bifurcation conditions together with the asymptotic stability region of the map in Equation (14) are represented in the plane (a,b) with c = 1; In (b) on the right-hand side the bifurcation conditions together with the asymptotic stability region are represented in the plane (b,c) with a = 1. The green area corresponds to complex eigenvalues, the blue one to real eigenvalues; the black lines denote the flip and fold bifurcation, the red line marks the Neimarck Sacker bifurcation and the striped area characterizes the asymptotic stability region.
Figure 1. In (a) on the left hand side the bifurcation conditions together with the asymptotic stability region of the map in Equation (14) are represented in the plane (a,b) with c = 1; In (b) on the right-hand side the bifurcation conditions together with the asymptotic stability region are represented in the plane (b,c) with a = 1. The green area corresponds to complex eigenvalues, the blue one to real eigenvalues; the black lines denote the flip and fold bifurcation, the red line marks the Neimarck Sacker bifurcation and the striped area characterizes the asymptotic stability region.
Mathematics 10 00679 g001
Figure 2. (left), (middle), (right) show the three bifurcation conditions in Equation (16) represented in the space (a,b,c).
Figure 2. (left), (middle), (right) show the three bifurcation conditions in Equation (16) represented in the space (a,b,c).
Mathematics 10 00679 g002
Figure 3. In (a) on the left hand side the bifurcation conditions together with the asymptotic stability region of the map in Equation (17) are represented in the plane (a, b) with c = 1; In (b) on the right-hand side the bifurcation conditions together with the asymptotic stability region are represented in the plane (b,c) with a = 1. In green the area in which eigenvalues are complex, in blue where eigenvalues are real, the black lines denote the flip and fold bifurcations, the red line marks the Neimarck Sacker bifurcation, and the striped area characterizes the asymptotic stability region. The Figure can be compared with Figure 1 to see that the presence of market makers enlarge the stability region.
Figure 3. In (a) on the left hand side the bifurcation conditions together with the asymptotic stability region of the map in Equation (17) are represented in the plane (a, b) with c = 1; In (b) on the right-hand side the bifurcation conditions together with the asymptotic stability region are represented in the plane (b,c) with a = 1. In green the area in which eigenvalues are complex, in blue where eigenvalues are real, the black lines denote the flip and fold bifurcations, the red line marks the Neimarck Sacker bifurcation, and the striped area characterizes the asymptotic stability region. The Figure can be compared with Figure 1 to see that the presence of market makers enlarge the stability region.
Mathematics 10 00679 g003
Figure 4. The (top-left) shows the price evolution and (top-right) the phase space of fundamental map dynamics with a = 1, b = 1.9 and c = 0.4, while (bottom-left) and (bottom-right) show the price evolution and the phase space of fundamental map dynamics with a = 1, b = 0.7 and c = 1.4 note that the value of c at the border would be 1 b = 1.4286 .
Figure 4. The (top-left) shows the price evolution and (top-right) the phase space of fundamental map dynamics with a = 1, b = 1.9 and c = 0.4, while (bottom-left) and (bottom-right) show the price evolution and the phase space of fundamental map dynamics with a = 1, b = 0.7 and c = 1.4 note that the value of c at the border would be 1 b = 1.4286 .
Mathematics 10 00679 g004
Figure 5. The (top-left) shows the price evolution and (top-right) the phase space of the fundamental map dynamics with a = 1, b = 1.9 and c = 1 b ; while (bottom-left) and (bottom-right) show the price evolution and the phase space of fundamental map dynamics with a = 0.8, b = 1 and c = 1.
Figure 5. The (top-left) shows the price evolution and (top-right) the phase space of the fundamental map dynamics with a = 1, b = 1.9 and c = 1 b ; while (bottom-left) and (bottom-right) show the price evolution and the phase space of fundamental map dynamics with a = 0.8, b = 1 and c = 1.
Mathematics 10 00679 g005
Figure 6. The (top-left) shows the price evolution and (top-right) the phase space of the fundamental map dynamics with a = 1, b = 0.7 and c = 1.5, note that 1 b = 1.4286 ; while (bottom-left) and (bottom-right) show the price evolution and the phase space of fundamental map dynamics with a = 1, b = 0.9 and c = 3.4.
Figure 6. The (top-left) shows the price evolution and (top-right) the phase space of the fundamental map dynamics with a = 1, b = 0.7 and c = 1.5, note that 1 b = 1.4286 ; while (bottom-left) and (bottom-right) show the price evolution and the phase space of fundamental map dynamics with a = 1, b = 0.9 and c = 3.4.
Mathematics 10 00679 g006
Figure 7. The (top-left) shows the price evolution and (top-right) the phase space of the fundamental map dynamics with a = 1, b = 0.9 and c = −0.5; while (middle-left) and (middle-right) show the price evolution and the phase space of fundamental map dynamics with a = 1, b = 1.9 and c = −0.4, while in the (bottom) it holds a = 1, b = 0.9 and c = −0.4.
Figure 7. The (top-left) shows the price evolution and (top-right) the phase space of the fundamental map dynamics with a = 1, b = 0.9 and c = −0.5; while (middle-left) and (middle-right) show the price evolution and the phase space of fundamental map dynamics with a = 1, b = 1.9 and c = −0.4, while in the (bottom) it holds a = 1, b = 0.9 and c = −0.4.
Mathematics 10 00679 g007
Figure 8. Bifurcation diagrams with respect c of the fundamental map. (left) shows the diagram with a = 1, b = 1.9 and c [ 0.6 , 1.6 ] . (middle) shows the diagram with a = 1, b = 1 and c [ 0.6 , 1.6 ] . (right) shows the diagram with a = 0.9, b = 0.9 and c [ 0.6 , 1.6 ] . Note that having a and b lower than 1 enlarge the area in which a lower/negative c generates chaos.
Figure 8. Bifurcation diagrams with respect c of the fundamental map. (left) shows the diagram with a = 1, b = 1.9 and c [ 0.6 , 1.6 ] . (middle) shows the diagram with a = 1, b = 1 and c [ 0.6 , 1.6 ] . (right) shows the diagram with a = 0.9, b = 0.9 and c [ 0.6 , 1.6 ] . Note that having a and b lower than 1 enlarge the area in which a lower/negative c generates chaos.
Mathematics 10 00679 g008
Figure 9. Bifurcation diagrams for the chartist map with respect to the parameter e. (left) shows the diagram with a = 0.9, b = 1 and e [ 0 , 7.6 ] . (middle) shows the diagram with a = 0.9, b = 0.8 and e [ 0 , 7.6 ] . (right) shows the diagram with a = 1.1, b = 0.8 and e [ 0 , 7.6 ] . Note that having the lower the b the later the chaos appears.
Figure 9. Bifurcation diagrams for the chartist map with respect to the parameter e. (left) shows the diagram with a = 0.9, b = 1 and e [ 0 , 7.6 ] . (middle) shows the diagram with a = 0.9, b = 0.8 and e [ 0 , 7.6 ] . (right) shows the diagram with a = 1.1, b = 0.8 and e [ 0 , 7.6 ] . Note that having the lower the b the later the chaos appears.
Mathematics 10 00679 g009
Figure 10. Bifurcation diagrams for the map that considers together fundamentalist, and chartist demands. The diagrams are presented with respect to e. (left) shows the diagram with a = 1.1, b = 0.8, c = 1 b and e [ 0 , 7.6 ] . (right) shows the diagram with a = 0.9, b = 0.8, c = 1 b and e [ 0 , 7.6 ] .
Figure 10. Bifurcation diagrams for the map that considers together fundamentalist, and chartist demands. The diagrams are presented with respect to e. (left) shows the diagram with a = 1.1, b = 0.8, c = 1 b and e [ 0 , 7.6 ] . (right) shows the diagram with a = 0.9, b = 0.8, c = 1 b and e [ 0 , 7.6 ] .
Mathematics 10 00679 g010
Figure 11. (left) shows the phase space of the fundamental map with a = 0.8, b = 0.9 and c = 1.1, (middle) shows the phase space of fundamental and chartist map with a = 0.8, b = 0.9 and c = 1.1 and e = 2.0, and (right) shows the phase space of the complete map with the same values of previous plot and d m = 0.5 .
Figure 11. (left) shows the phase space of the fundamental map with a = 0.8, b = 0.9 and c = 1.1, (middle) shows the phase space of fundamental and chartist map with a = 0.8, b = 0.9 and c = 1.1 and e = 2.0, and (right) shows the phase space of the complete map with the same values of previous plot and d m = 0.5 .
Mathematics 10 00679 g011
Figure 12. (left) shows the phase space of the fundamental map with a = 1.1, b = 0.9 and c = 1 b (periodic dynamics), (middle) shows the phase space of fundamental and chartist map with a = 1.1, b = 0.9 and c = 1 b and e = 2.0, (right) shows the phase space of the complete map with the same values of previous plot and d m = 0.5 .
Figure 12. (left) shows the phase space of the fundamental map with a = 1.1, b = 0.9 and c = 1 b (periodic dynamics), (middle) shows the phase space of fundamental and chartist map with a = 1.1, b = 0.9 and c = 1 b and e = 2.0, (right) shows the phase space of the complete map with the same values of previous plot and d m = 0.5 .
Mathematics 10 00679 g012
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fabretti, A. A Dynamical Model for Financial Market: Among Common Market Strategies Who and How Moves the Price to Fluctuate, Inflate, and Burst? Mathematics 2022, 10, 679. https://doi.org/10.3390/math10050679

AMA Style

Fabretti A. A Dynamical Model for Financial Market: Among Common Market Strategies Who and How Moves the Price to Fluctuate, Inflate, and Burst? Mathematics. 2022; 10(5):679. https://doi.org/10.3390/math10050679

Chicago/Turabian Style

Fabretti, Annalisa. 2022. "A Dynamical Model for Financial Market: Among Common Market Strategies Who and How Moves the Price to Fluctuate, Inflate, and Burst?" Mathematics 10, no. 5: 679. https://doi.org/10.3390/math10050679

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