Discrete Dynamics in Nature and Society

Volume 2011, Article ID 309572, 12 pages

http://dx.doi.org/10.1155/2011/309572

## Analysis of a Heterogeneous Trader Model for Asset Price Dynamics

^{1}Department of Mathematics and Statistics, Memorial University of Newfoundland, St. John's, NL, Canada A1C 5S7^{2}Department of Applied Mathematics, University of Western Ontario, London, ON, Canada N6A 5B7

Received 27 June 2011; Accepted 22 July 2011

Academic Editor: Ugurhan Mugan

Copyright © 2011 Andrew Foster and Natasha Kirby. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We examine an asset pricing model of Westerhoff (2005). The model incorporates heterogeneous beliefs among traders, specifically fundamentalists and trend-chasing chartists. The form of the model is shown here to be a nonlinear planar map. Since it contains a single parameter, the model may be considered the simplest effective model yet derived for financial asset pricing with heterogeneous trading. Analysis of the map yields results for stability and bifurcations of fixed points and periodic orbits. The model has intricate attractor basin behavior and global bifurcations to chaos: symmetric homoclinic bifurcation and boundary crisis.

#### 1. Introduction

The notion that the interaction of investor classes can be expressed as discrete dynamical systems is not new. Following the seminal models of Brock and Hommes [1, 2], a number of influential models, including [3–17], have been formulated and analyzed using a dynamical system approach. See [18–20] for informative recent surveys on this flourishing line of research. The basis of all such models is the empirical evidence that traders are heterogeneous, tending to form groups relying on different but simple and fundamental trading rules. Because the models are naturally formulated to consider the interactions of various identifiable trading groups and because the observable variables such as asset price and trading volume are essentially discrete, the models fall into the branch of mathematics known as discrete dynamical systems, maps, or difference equation systems. The study of nonlinear maps has been a very active area of mathematics for more than 30 years due to its wide application and astonishing range of behavior.

Westerhoff [17] developed a simple asset pricing model taking into account fundamentalists and trend-chasing chartists. Fundamentalists, or “smart money" traders, base their decisions on the belief that prices eventually tend to return to their fundamental value. Chartists use technical trading rules, past trends, and extrapolation of data to predict future prices.

In Section 2, the basic assumptions of Westerhoff's asset pricing model are discussed, and we reformulate the model in the standard form of a nonlinear planar map. In Section 3, we prove results for stability and bifurcations of fixed points and period-2 cycles in this map and use graphical techniques with illustrations generated by iDMC [21] to investigate its global bifurcations involving chaos and local attractor basin structures. This contrasts with [17], where purely numerical simulations are performed. Because of its functional form containing a single parameter, we consider the Westerhoff model [17] to be the simplest effective model yet derived for financial asset pricing based on heterogeneous trading. As such, its thorough analysis in this paper will help to guide the formulation and analysis of more detailed models of markets with interacting heterogeneous agents.

#### 2. The Model

Following [17], we assume the price of an asset at time to depend upon the demand of the speculators in the previous period. If there is excess demand, then the price increases. Otherwise, the price remains the same or decreases.

Let be the logarithm of the asset price. The change in at time is proportional to the sum of the orders generated by fundamentalists and chartists, resulting in a map Here is a measure of the strength of the demand, the aggressiveness of speculators toward the particular asset. The quantity is the total excess demand for the asset at time .

Expressions can be given for the orders generated by each trader type. Since fundamentalists trust that prices converge to their perceived fundamental value over time, can be expressed as where is the logarithm of the fundamental value of the asset. This value is considered to be constant and known. If the current price of the asset is larger than the perceived fundamental value then fundamentalists assume that the asset is overpriced, and hence the excess demand for the asset decreases. Likewise, if the current price is smaller than the fundamental price, then fundamentalists assume that the asset is underpriced, and the demand increases. If this were the only group of traders present, the asset price in the next period would coincide with this increase or decrease in demand for the asset. However, there exists a different group of traders called trend-chasing chartists who must also be considered.

The orders generated for the asset by trend chasers at time , denoted by , are given as where Here, represents the trading volume at time . Trend chasers buy when the price is high and sell when the price is low, assuming that prices will continue the upward or downward trend. Chartists consider to provide clues about how reliable their extrapolations may be. More specifically, a high trading volume when current prices exceed the fundamental price causes trend chasers to purchase more of the asset, whereas a low trading volume under the same condition would cause chartists to purchase less of the asset.

The total excess demand for the asset at time can be written as and hence the asset price at time can be written as

Since the deviation from the fundamental value is important and the actual fundamental value of the asset is not, we can assume the fundamental value is unity (i.e., ) without loss of generality. Thus, from the above equations, we obtain the recurrence relation
which is somewhat novel in that it allows us to predict asset price from the current log asset price () and the trading volume from the * previous* trading period (). Writing this system in the standard form of a planar map, we arrive at our final model:
Since the model contains only a single parameter , we believe it may be the simplest effective model yet derived for financial asset pricing with heterogeneous trading.

The model as presented in [17] does not contain system (2.7), and the stated final model in that publication is in error. However, we wish to emphasize that we have used the same assumptions as in [17] for formulating the model, and these assumptions are fundamentally sound. Also, the numerical simulations in [17] were calculated from the defining conditions (2.1)–(2.4), not the stated final model in that paper, and are correct. Our goal here is to show that by properly reformulating the model as a standard planar map we can bring a considerable theory to be applied and can gain a better understanding of the pricing behavior.

#### 3. Analysis

We refer the reader to [22, 23] for general theory of fixed points, stability, and bifurcations of discrete and continuous dynamical systems. We determine the fixed points of the map (2.8) by solving the following algebraic system: This map has three fixed points:

The local stability of the fixed points can be determined from eigenvalue analysis. Since the derivatives of (2.8) involve absolute values, we consider the two cases: In the limit as , the Jacobian is Solving the characteristic equation yields the eigenvalues and . Fixed points of planar maps are asymptotically stable for and . Hence, (3.2) is asymptotically stable for and is unstable for .

Recall that a fixed point of a map is * nonhyperbolic* if at least one eigenvalue is on the unit circle. In parametrized systems, nonhyperbolic states are associated with possible changes in invariant subspaces and yield the possible local bifurcation points of the system. At , the fixed point (3.2) is nonhyperbolic with , and at , it is nonhyperbolic with . We can identify the bifurcations occurring at these parameter values. Since and changes smoothly from to as increases through , a period-doubling bifurcation occurs at . It can be shown that the bifurcation at is transcritical; however, this is not pertinent due to the practical restriction in this model.

A similar process is carried out for fixed point (3.3). Substituting this fixed point into , noting that is positive, gives The eigenvalues are found to be . Here for all , so (3.3) is unstable. As increases through , decreases through , resulting in the fixed point to change type from unstable saddle to unstable node.

Finally, fixed point (3.4) is examined. Substituting this value into , noting that is negative, yields The eigenvalues are identical to the case of (3.3), and the same stability results are obtained.

Figure 1 is the orbit diagram corresponding to (2.7). From this figure it is evident that prices converge to their fundamental value if . If , then prices alternate between two values, one that is lower and another that is higher than the fundamental value. At , a generic Neimark-Sacker bifurcation occurs for each of the points of the period-2 cycle. Instead of prices alternating between two points, they now alternate between values on the two limit cycles (Figure 1). Each of the two limit cycles is locally stable in period-2. The patchwork basin of attraction of each limit cycle is shown in Figure 2. The basin boundaries can be found analytically. They are the preiterates of the * critical curves* [24], the locus of points mapping to the fixed point . See [25] for another example of the Neimark-Sacker bifurcation in a nonlinear financial system.

The existence of the period-2 Neimark-Sacker bifurcation can be inferred using the second iterate of the map: Fixed points of the second iterate correspond to fixed points or to components of period-2 cycles in the original map. The period-2 fixed points are the solutions of the algebraic system:

Since system (3.10) involves absolute values, we solve it for the four cases resulting from the possible signs of and . We recover the fixed points (3.2), (3.3), and (3.4) as solutions and obtain three period-2 cycles where Period-2 orbit (3.11) exists for and is created by supercritical period doubling [26] of fixed point (3.2), as shown in Figure 1. The orbits (3.12) and (3.13) exist for and originate from saddle period doublings [26] of the fixed points (3.3) and (3.4), respectively.

Local stability analysis (see the appendix) proves generic Neimark-Sacker bifurcations occur at , creating stable limit cycles surrounding the unstable spiral points (3.11) in period-2.

Period-2 cycles (3.12) and (3.13) are found to possess one eigenvalue greater than unity for all . Thus, these period-2 cycles are saddles.

The limit cycle behavior exists until , where a symmetric homoclinic bifurcation occurs due to the collision of the two limit cycles formed by the Neimark-Sacker bifurcations with the unstable saddle point at the origin. This is illustrated in Figures 2 and 3.

As increases through , the system becomes chaotic from the break-up of the limit cycles. The mechanism for transition to chaos via homoclinic connection tangency is similar to that of the delayed logistic map. See Aronson et al. [27] for a thorough exposition of this global bifurcation in the delayed logistic map. A complicating factor here is that there is a symmetric configuration. The two homoclinic orbits simultaneously approach the saddle point at the origin along the same side in “butterfly” configuration, rather than on opposite sides (i.e., “figure-eight” configuration), of the origin's stable manifold. It is well known [28] that such configurations lead to interesting and chaotic dynamics. Since price dynamics are chaotic for , the asset price is not predictable for in this range (Figure 4). As confirmed by numerical calculation of the maximal Lyapunov exponent, prices are purely chaotic for .

At , the system undergoes a boundary crisis [29]. A boundary crisis occurs when the boundary of a chaotic set collides with an unstable fixed point or unstable periodic trajectory. This causes annihilation of the chaotic set and its basin of attraction. The boundary crisis is illustrated in Figure 5, as the boundary of the chaotic attractor collides with unstable fixed points and . The former attractor becomes “leaky”, and a typical trajectory will follow the attractor region as a transient but eventually escape to the attractor at infinity.

#### 4. Conclusion

Heterogeneous trader models are a viable alternative to the usual stochastic calculus-based models of market behavior. By viewing markets from a different perspective, these models provide new insights for prediction and underlying mechanisms. The model studied here is the simplest known of heterogeneous trading type, in that it is restricted to the behavior of only two trader groups and incorporates just a single parameter. As such, the behavior described in this paper is expected to be generic behaviour common in all heterogeneous trader models. These behaviors are shown to be an approach to fundamental price, period-2 price oscillation, orbits on limit cycles or orbits alternating between limit cycles, and chaos. With increasing strength of demand, the markets become more volatile and less predictable. However, chartists and fundamentalists tend to take opposing actions. For example, chartist orders will generally counteract a strong reaction of fundamentalists to perceived mispricing of an asset. This interplay of the two groups can lead to reduced strength of demand and consequent calming of the markets.

#### Appendix

#### The Neimark-Sacker Bifurcation

The Neimark-Sacker bifurcation is the discrete equivalent of the Hopf bifurcation in continuous dynamical systems. A theorem for the Neimark-Sacker bifurcation can be given as follows (see [22]).

Theorem A.1. *Let ; let be a map depending on and satisfying the following conditions:*(i)* for near some fixed ,*(ii)* has two nonreal eigenvalues and for near with ,*(iii)* at ,*(iv)* for .**Then, there is a smooth -dependent change of coordinates bringing into the form , as well as smooth functions , , and so that the function is given in polar coordinates by
**
If , then there is a neighborhood of the origin and such that, for and , the -limit set of is the origin if and belongs to a closed invariant curve encircling the origin if . If , then there is a neighborhood of the origin and a such that, for and , the -limit set of is the origin if and belongs to a closed invariant curve encircling the origin if .*

The sign of the coefficient characterizes the type of the Neimark-Sacker bifurcation. If , the bifurcation is supercritical and yields a stable limit cycle for . If , it is subcritical, yielding an unstable limit cycle for values .

With the map at in the Jordan normal form: can be calculated explicitly from the following [22]: For example, the second iterate of the Westerhoff map (with ) yields where absolute values are not necessary because the local attractor basins are nonfractal, and a fixed point .(i)We shift this fixed point to the origin, using , : The eigenvalues are (ii)The eigenvalues are nonreal for , and uniquely at .(iii) at .(iv)Testing the nonresonance conditions, we find that is not a small root of unity:

Using the eigenvectors at to bring the linear part of the map into the Jordan normal form and using the nonlinear part of the resulting map to determine an explicit value for , we calculate the following: where .

This yields .

Since , the Neimark-Sacker bifurcation is supercritical and there exists a stable invariant closed orbit around the unstable fixed point for parameter values .

#### References

- W. A. Brock and C. H. Hommes, “A rational route to randomness,”
*Econometrica*, vol. 65, no. 5, pp. 1059–1095, 1997. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - W. A. Brock and C. H. Hommes, “Heterogeneous beliefs and routes to chaos in a simple asset pricing model,”
*Journal of Economic Dynamics & Control*, vol. 22, no. 8-9, pp. 1235–1274, 1998. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - W. A. Brock, C. H. Hommes, and F. O. O. Wagener, “Evolutionary dynamics in markets with many trader types,”
*Journal of Mathematical Economics*, vol. 41, no. 1-2, pp. 7–42, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - C. Chiarella, R. Dieci, and L. Gardini, “Asset price dynamics in a financial market with fundamentalists and chartists,”
*Discrete Dynamics in Nature and Society*, vol. 6, pp. 69–99, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - C. Chiarella, R. Dieci, and L. Gardini, “Speculative behaviour and complex asset price dynamics: a global analysis,”
*Journal of Economic Behavior and Organization*, vol. 49, no. 2, pp. 173–197, 2002. View at Publisher · View at Google Scholar - C. Chiarella, R. Dieci, and L. Gardini, “Asset price and wealth dynamics in a financial market with heterogeneous agents,”
*Journal of Economic Dynamics & Control*, vol. 30, no. 9-10, pp. 1755–1786, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - C. Chiarella, M. Gallegati, R. Leombruni, and A. Palestrini, “Asset price dynamics among heterogeneous interacting agents,”
*Computational Economics*, vol. 22, no. 2-3, pp. 213–223, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - C. Chiarella and X.-Z. He, “Asset price and wealth dynamics under heterogeneous expectations,”
*Quantitative Finance*, vol. 1, no. 5, pp. 509–526, 2001. View at Publisher · View at Google Scholar - C. Chiarella and X.-Z. He, “Heterogeneous beliefs, risk and learning in a simple asset pricing model,”
*Computational Economics*, vol. 19, no. 1, pp. 95–132, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - C. Chiarella and X. Z. He, “Heterogeneous beliefs, risk, and learning in a simple asset-pricing model with a market maker,”
*Macroeconomic Dynamics*, vol. 7, no. 4, pp. 503–536, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus - R. Dieci and F. Westerhoff, “Heterogeneous speculators, endogenous fluctuations and interacting markets: a model of stock prices and exchange rates,”
*Journal of Economic Dynamics & Control*, vol. 34, no. 4, pp. 743–764, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - A. Gaunersdorfer, C. H. Hommes, and F. O. O. Wagener, “Bifurcation routes to volatility clustering under evolutionary learning,”
*Journal of Economic Behavior and Organization*, vol. 67, no. 1, pp. 27–47, 2008. View at Publisher · View at Google Scholar · View at Scopus - X.-Z. He and Y. Li, “Heterogeneity, convergence, and autocorrelations,”
*Quantitative Finance*, vol. 8, no. 1, pp. 59–79, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - N. Kirby and A. Foster, “Effects of contrarian investor type in asset price dynamics,”
*International Journal of Bifurcation and Chaos*, vol. 19, no. 8, pp. 2463–2472, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - F. Tramontana, F. Westerhoff, and L. Gardini, “On the complicated price dynamics of a simple one-dimensional discontinuous financial market model with heterogeneous interacting traders,”
*Journal of Economic Behavior and Organization*, vol. 74, no. 3, pp. 187–205, 2010. View at Publisher · View at Google Scholar · View at Scopus - J. Tuinstra and F. O. O. Wagener, “On learning equilibria,”
*Economic Theory*, vol. 30, no. 3, pp. 493–513, 2007. View at Publisher · View at Google Scholar - F. H. Westerhoff, “Heterogeneous traders, price-volume signals, and complex asset price dynamics,”
*Discrete Dynamics in Nature and Society*, vol. 2005, no. 1, pp. 19–29, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - C. Chiarella, R. Dieci, and X.-Z. He, “Heterogeneity, market mechanisms, and asset price dynamics,” in
*Handbook of Financial Markets: Dynamics and Evolution*, T. Hens and K. R. Schenk-Hopp'e, Eds., pp. 277–344, North-Holland, Amsterdam, The Netherlands, 2009. View at Google Scholar - C. H. Hommes, “Heterogeneous agent models in economics and finance,” in
*Handbook of Computational Economics*, L. Tesfatsion and K. Judd, Eds., vol. 2 of*Agent-Based Computational Economics*, pp. 1109–1186, North-Holland, Amsterdam, The Netherlands, 2006. View at Google Scholar - F. Westerhoff, “Exchange rate dynamics: a nonlinear survey,” in
*Handbook of Research on Complexity*, J. B. Rosser Jr. and K. L. Cramer, Eds., pp. 287–325, Edward Elgar, Cheltenham, UK, 2009. View at Google Scholar - A. Medio and M. Lines,
*Nonlinear Dynamics: A Primer*, Cambridge University Press, Cambridge, UK, 2001. View at Publisher · View at Google Scholar - J. Guckenheimer and P. Holmes,
*Nonlinear Oscillations, Dynamical Systems, and Bifurcations of Vector Fields*, vol. 42 of*Applied Mathematical Sciences*, Springer, New York, NY, USA, 1983. - Y. A. Kuznetsov,
*Elements of Applied Bifurcation Theory*, vol. 112 of*Applied Mathematical Sciences*, Springer, New York, NY, USA, 3rd edition, 2004. - R. H. Abraham, L. Gardini, and C. Mira,
*Chaos in Discrete Dynamical Systems*, Springer, New York, NY, USA, 1997. View at Zentralblatt MATH - B. Xin, T. Chen, and J. Ma, “Neimark-Sacker bifurcation in a discrete-time financial system,”
*Discrete Dynamics in Nature and Society*, vol. 2010, Article ID 405639, 12 pages, 2010. View at Google Scholar · View at Zentralblatt MATH - Y. A. Kuznetsov and S. Rinaldi, “Numerical analysis of the flip bifurcation of maps,”
*Applied Mathematics and Computation*, vol. 43, no. 3, pp. 231–236, 1991. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - D. G. Aronson, M. A. Chory, G. R. Hall, and R. P. McGehee, “Bifurcations from an invariant circle for two-parameter families of maps of the plane: a computer-assisted study,”
*Communications in Mathematical Physics*, vol. 83, no. 3, pp. 303–354, 1982. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - R. Herrero, J. Farjas, R. Pons, F. Pi, and G. Orriols, “Gluing bifurcations in optothermal nonlinear devices,”
*Physical Review E*, vol. 57, no. 5, pp. 5366–5377, 1998. View at Google Scholar · View at Scopus - C. Grebogi, E. Ott, and J. A. Yorke, “Crises, sudden changes in chaotic attractors, and transient chaos,”
*Physica D*, vol. 7, no. 1–3, pp. 181–200, 1983. View at Publisher · View at Google Scholar · View at Zentralblatt MATH