Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Evolutionary dynamics in financial markets with heterogeneities in investment strategies and reference points

  • Wen-Juan Xu,

    Roles Funding acquisition, Methodology

    Affiliation School of Law, Zhejiang University of Finance and Economics, Hangzhou, China

  • Chen-Yang Zhong,

    Roles Methodology

    Affiliation Department of Statistics, Columbia University, New York, NY, United States of America

  • Fei Ren,

    Roles Visualization

    Affiliation School of Business and Research Center for Econophysics, East China University of Science and Technology, Shanghai, China

  • Tian Qiu,

    Roles Visualization

    Affiliation School of Information Engineering, Nanchang Hangkong University, Nanchang, China

  • Rong-Da Chen,

    Roles Visualization

    Affiliation School of Finance and Coordinated Innovation Center of Wealth Management and Quantitative Investment, Zhejiang University of Finance and Economics, Hangzhou, China

  • Yun-Xin He,

    Roles Conceptualization, Visualization

    Affiliation School of Finance and Coordinated Innovation Center of Wealth Management and Quantitative Investment, Zhejiang University of Finance and Economics, Hangzhou, China

  • Li-Xin Zhong

    Roles Writing – review & editing

    zlxxwj@163.com

    Affiliation School of Finance and Coordinated Innovation Center of Wealth Management and Quantitative Investment, Zhejiang University of Finance and Economics, Hangzhou, China

Abstract

In nature and human societies, the effects of homogeneous and heterogeneous characteristics on the evolution of collective behaviors are quite different from each other. By incorporating pair pattern strategies and reference point strategies into an agent-based model, we have investigated the effects of homogeneous and heterogeneous investment strategies and reference points on price movement. In the market flooded with the investors with homogeneous investment strategies or homogeneous reference points, large price fluctuations occur. In the market flooded with the investors with heterogeneous investment strategies or heterogeneous reference points, moderate price fluctuations occur. The coexistence of different kinds of investment strategies can not only refrain from the occurrence of large price fluctuations but also the occurrence of no-trading states. The present model reveals that the coexistence of heterogeneous populations, whether they are the individuals with heterogeneous investment strategies or heterogeneous reference points of stock prices, is an important factor for the stability of the stock market.

Introduction

In financial markets, the stock price movement is not only related to good or bad news for a typical company but also to people’s subjective cognitions [14]. For a homogeneous population, common beliefs would lead to similar buying-selling actions. Herding behaviors are easy to occur [510]. For a heterogeneous population, whether the individuals with heterogeneous investment strategies or heterogeneous price expectations, they would show different buying and selling behaviors. An equilibrium is easy to be reached in the stock market [1117]. Understanding the effects of homogeneous and heterogeneous populations on the price movement is quite important for the risk management and the construction of an efficient market [1824].

In exploring the possible strategic effects and psychological effects on stock price movement, a variety of agent-based models have been borrowed to model people’s social and economic behaviors [2532], among which the minority game and the majority game are mainly used to simulate people’s trading behaviors [3338]. Depending upon the minority game model, the effects of response time on price movement have been investigated [39]. The delayed response to historic information leads to the lagged price fluctuations. Depending upon the majority game, the effects of imitation on price movement have been investigated [40, 41]. Buying and selling the stocks according to most people’s choices leads to the occurrence of herding effects in the stock market. Depending upon the mixed minority game, the majority game and the dollar-game [42], the effects of sophisticated individuals on the evolution of stock prices have been investigated. Different kinds of trader-trader interactions lead to typical stylized facts in the stock markets [4348].

In the study of the effects of investment strategies on the evolution of stock prices, the pair pattern strategies and the reference point strategies are two kinds of typical strategies [4952]. Depending upon the pair pattern strategies, people buy and sell the stocks frequently, which leads to the occurrence of a power-law return distribution similar to that in real stock markets [5357]. Different from the pair pattern strategies, with which an individual makes a buying or selling decision according to the history of price movement, the reference point strategies are myopic strategies. They depend on people’s subjective cognitions and provide them anchors to simplify their complex decision-making processes [52, 58, 59]. In real trading markets, the reference point strategies help us finish the transactions in a simplified way.

In the present work, we incorporate the investors with pair pattern strategies and reference point strategies into an agent-based model. The role of homogeneous and heterogeneous investment strategies in price fluctuations is investigated. Different from the agent-based models introduced in references [52, 60], in which the effects of market impact on the competitive advantage of investment strategies and the occurrence of self-reinforcing feedback loops have been investigated, in the present model, we have investigated the role of homogeneous and heterogeneous investment strategies and reference points in price fluctuations. Our main findings are as follows.

  1. (1)The existence of the individuals with heterogeneous investment strategies or heterogeneous reference points of stock prices can effectively suppress the price fluctuations. As nearly all the individuals have similar investment strategies, large fluctuations occur. As the individuals with heterogeneous investment strategies come into the market, the price fluctuations become moderate.
  2. (2)As compared with the situation where there is only one kind of investment strategy, the coexistence of different kinds of investment strategies not only helps the stock market refrain from large fluctuations but also being stuck in a no-trading state.
  3. (3)A theoretical analysis indicates that the stability of the stock market is governed by the coexistence of different kinds of investment strategies. The individuals with homogeneous investment strategies or homogeneous reference points drive the system far away from the equilibrium and lose more. The individuals with heterogeneous investment strategies or heterogeneous reference points draw the system back to the equilibrium and gain more. The coexistence of the people with different kinds of investment strategies can promote the inhomogeneity of the investment strategies, which stabilizes the stock prices.

The paper is organized as follows. In section 2, an agent-based model with pair pattern strategies and reference point strategies is introduced. In section 3, the stylized facts in price return distributions are reproduced and the numerical results are presented. In section 4, a theoretical analysis is given. The conclusions are drawn in section 5.

The model

Pair pattern strategies and reference point strategies

Similar to that in references [42, 51], a strategy consisting of a pair of patterns or history signals is incorporated into the present model. For a M-bit long history of price changes, there are a total of 2M possible patterns or history signals recording the latest price changes. Since a strategy’s buying pattern and selling pattern should not be the same, there are 2M(2M − 1) possible pairs of patterns in total. Therefore, the pair pattern strategy space consists of a series of buying-and-selling strategy pairs. A buying or selling strategy consists of a M-bit long binary array. For example, if 1 represents an increase in prices, 0 represents a decrease in prices, for a typical individual i with M = 3, his buying and selling strategies are and respectively, which means, facing the latest price history ↑↑↓, on condition that the number of shares in individual i’s hand is below the number of maximal shares Kmax that he is permitted to have, he would buy a share. Facing the latest price history ↑↓↑, on condition that the number of shares in individual i’s hand is above the minimum number of shares Kmin that he is permitted to have, he would sell a share. Or else, individual i would take a hold. Therefore, for an individual with pair pattern strategies, although he owns nS pairs of buying and selling strategies, he only uses one pair of buying and selling strategies at a typical time. There are three kinds of decisions he could make: buying, selling or taking a hold. Initially, each individual randomly chooses nS strategies from the full pair pattern strategy space. These strategies are kept fixed throughout the game. Each individual i keeps track of the cumulative performance of all her pair pattern strategies by assigning a virtual score to each strategy. The real buying or selling decision is made according to the strategy with the highest score. The buying and selling actions are symmetric, which means, an individual is permitted to open a position by buying or open a position by selling.

For the pair pattern strategies, the degree of homogeneity or heterogeneity in investment strategies is related to the value of the memory size M. For a small M, nearly all the individuals have similar strategies. For a large M, each individual has his own typical investment strategies which are different from other people’s investment strategies. Therefore, an increase in M is similar to an increase in the degree of heterogeneities in the pair pattern strategies.

The reference point strategy space consists of a series of expected prices, called reference points Pref in the present model [52]. If the latest price P(t) is lower than an individual i’s reference point, , on condition that the number of shares in his hand is below Kmax, he would buy a share with probability for and Γ = 1 for . If the latest price is higher than individual i’s reference point, , on condition that the number of shares in his hand is above Kmin, he would sell a share with probability . Or else, individual i would take a hold.

Each individual’s reference point is related to the average price in the latest Δ long price history and his risk tolerance gi. An individual i’s reference point should be within the range of , in which α is a constant. Or else, a new reference point will be randomly chosen from the range of .

The degree of homogeneity or heterogeneity in reference point strategies is determined by the maximum value of risk tolerance gmax. Facing the latest price P(t − 1), the difference in the number of investors buying and selling the stocks should be (1) in which NPref>P and NPref<P are the number of investors buying and selling the stocks respectively. For quite a small gmax, i.e. gmax = 1, all the reference points are within a small range (2) in which is the averaged value of stock prices in the latest Δt steps. For quite a large gmax, i.e. gmax = N, all the reference points are within a wide range (3)

Therefore, for a small gmax, nearly all the individuals have the same strategy. For a large gmax, each individual has his own typical investment strategies which are different from other people’s investment strategies. Therefore, an increase in gmax is similar to an increase in the degree of heterogeneities in the reference point strategies.

Similar to that in references [35, 61, 64], the effects of an individual’s limited wealth in real financial markets are incorporated into the present model. As an individual i has made his buying (ai = +1), selling (ai = -1) or taking a hold (ai = 0) decision at time t, his position ki(t) becomes (4)

In the present model, because of the limited wealth, an individual’s maximum position K, i.e. ∣ki(t)∣ ≤ K, is kept fixed throughout the paper. For an individual i with K = 1, once the maximal number of shares, Kmax = 1, has been reached, the further buying decision would be ignored. Once the minimal number of shares, Kmin = −1, has been reached, the further selling decision would be ignored [35, 64]. For example, for an individual i with buying strategy and selling strategy , if the history ↑↑↓ occurs, on condition that ki(t) = 0 or ki(t) = −1, individual i will buy a share. Or else, individual i will do nothing. If the history ↑↓↑ occurs, on condition that ki(t) = 0 or ki(t) = 1, individual i will sell a share. Or else, individual i will do nothing.

The evolution of stock prices

In the present model, the total population N consist of ρrefN individuals with reference point strategies and (1 − ρref)N individuals with pair pattern strategies, in which ρref is the ratio of individuals with reference point strategies. Although each individual only owns buying strategies and selling strategies, he has three kinds of decisions which could be made: buying, selling or taking a hold. After all the individuals have made their buying, selling or taking a hold decisions, i.e. ai = +1, -1 or 0, the price is updated according to the equation (5) in which , β is a pre-given constant and N is the total population. As time goes on, the stock price evolves continuously.

The standard deviation of stock prices

The standard deviation σP of stock prices reflects the degree of price fluctuations, which can be calculated according to the equation (6) in which ΔT is the time interval within which the values of [P(t) − P(t − 1)]2 are accumulated.

The predictability of stock prices

In an efficient market, the prices should be unpredictable. However, in a real stock market, the stock prices are usually predictable because of the lagged information or people’s herding behaviors. The predictability of stock prices can be measured according to the differences between the probabilities of an increase in prices and a decrease in prices as some typical price history occurs. Supposing that the price history χ occurs with probability ρ(χ) and the mean value of price changes facing the price history χ is 〈ΔP|χ〉, we can get the predictability H [52, 61] (7)

A larger value of H indicates that the stock prices are more predictable. For example, following a given price history ↓ ↓ ↑, more ↑ than ↓ or more ↓ than ↑ would lead to a larger H. Or else, the stock prices would be unpredictable and the value of H would be H ∼ 0.

The averaged wealth of the population with a typical kind of investment strategies

For an individual i, if the initial cash in his hand is Ci(t = 0) = 0 and the number of shares in his hand is ki, the accumulated wealth at time T is got according to the equation [52, 61] (8) in which and . Psell and Pbuy are the real prices that individual i buys and sells the share. Pinstant is the instant price in the market. The averaged wealth of the population with a typical kind of investment strategy can be obtained (9)

Simulation results and discussions

Reproduction of the stylized facts similar to that in the real financial markets

In the study of the real financial markets, the distributions of price returns are usually investigated, which reflect the typical characteristics of the price movement. For a random price movement, the distribution of price returns is close to a Normal distribution. For an autocorrelated price movement, the distribution of price returns is close to a power-law distribution [1, 2, 62, 63].

Gontis et al. have investigated the distributions of price returns in the NYSE and FOREX markets [1]. They have found that herding interactions can reproduce the power-law properties and the scaling of return intervals found in real financial markets. Watorek et al. have investigated the price return distributions of currency exchange rates, cryptocurrencies, and contracts [2]. They have found that the characteristics of the tails of the return distributions are closely related to the characteristics of the time scales.

In the present work, we firstly examine whether the present model can reproduce the distributions of price returns, such as normal distributions and power-law distributions in real financial markets [1, 2].

Fig 1(a) and 1(b) show that, as all the investors adopt pair pattern strategies, the probability distribution of price returns is like a power-law distribution, the tail of which is satisfied with the probability density function PR(|R|) ∼ |R|γ. An increase in memory size M leads to a decrease in the exponent γ. As we plot a fitting line to the data, we find that, for M = 3, γ ∼ 4.8. For M = 5, γ ∼ 4.

thumbnail
Fig 1.

(a)The probability distribution of price returns R for the ratio of investors with reference point strategies ρref = 0 and the memory size M = 3 (circles), 5(squares); (b) the probability distribution of absolute price returns |R| for ρref = 0 and M = 3 (circles), 5(squares); (c)The probability distribution of price returns R for M = 3 and ρref = 0 (circles), 0.5 (triangles); (d) the probability distribution of absolute price returns |R| for M = 3 and ρref = 0 (circles), 0.5 (triangles). Other parameters are: the total population N = 5000, the number of strategies for each investor with pair pattern strategies nS = 2, the time interval for getting is Δ = 10, the gene for the investors with reference point strategies g = 5000, the maximum and minimum number of shares for each investor Kmax = 1 and Kmin = -1, the constant α = β = 10. The fitting lines in (b) are PR(|R|) ∼ |R|−4.8 (green line) and PR(|R|) ∼ |R|−4(orange slash line) respectively. The fitting lines in (d) are PR(|R|) ∼ |R|−4.8(green line) and PR(|R|) ∼ |R|−8(magenta slash dotted line) respectively.

https://doi.org/10.1371/journal.pone.0288277.g001

Fig 1(c) and 1(d) show that, for a given memory size M = 3, the probability distribution of price returns is closely related to the ratio of the investors with reference point strategies ρref. An increase in ρref leads to an increase in the exponent γ. As we plot a fitting line to the data, we find that, for ρref = 0, γ ∼ 4.8. For ρref = 0.5, γ ∼ 8.

Such results indicate that the probability distribution of price returns in the present model is closely related to the memory size M and the ratio of the investors with reference point strategies ρref. Compared with the situation where there is a small M and a small ρref, a large M and an intermediate ρref lead to a broader probability distribution of price returns.

The evolutionary dynamics of stock prices

In the present model, we are especially concerned about how the heterogeneities in investment strategies and reference points affect the price fluctuations. In the following, we firstly examine how the coupling of the memory size M of the investors with pair pattern strategies, the maximum gene gmax of the investors with reference point strategies and the ratio ρref of the investors with reference point strategies affects the time-dependent behaviors of the stock prices.

Fig 2(a) shows that, as all the investors adopt pair pattern strategies, the price movement is closely related to the memory size M. For M = 2, the price has a large fluctuation. For M = 5, the price fluctuation becomes ease. In the present model, a large M indicates that the investors with pair pattern strategies have more opportunities to choose his personal investment strategies. Given a large M and nS = 2, it is quite possible that all the investors have different investment strategies. The results in Fig 2(a) indicate that the heterogeneities in pair pattern strategies suppress the price fluctuations.

thumbnail
Fig 2.

The time-dependent price P (a) for the system with only pair pattern strategies and the memory size M = 2 (slashes), 5 (slash dotted lines); (b) for the system with only reference point strategies and the maximum gene gmax = 100 (circles), 1000 (squares); (c) for the system with the coexistence of pair pattern strategies and reference point strategies, ρref = 0.1(slashes), 0.4(slash dotted lines), M = 3, gmax = 100; (d) for the system with the coexistence of pair pattern strategies and reference point strategies, ρref = 0.1(slashes), 0.5(slash dotted lines), M = 3, gmax = 1000. Other parameters are: the total population N = 1000, the number of strategies for each investor with pair pattern strategies nS = 2, the time interval for getting is Δ = 10, the maximum and minimum number of shares for each investor Kmax = 1 and Kmin = -1, the constant α = β = 10.

https://doi.org/10.1371/journal.pone.0288277.g002

Fig 2(b) shows that, as all the investors adopt reference point strategies, the price movement is closely related to the maximum gene gmax. For gmax = 100, the price has a zigzag fluctuation. For gmax = 1000, the price becomes stable. In the present model, a large gmax indicates that the reference point strategies scatter about a large range of . Given a large gmaxN, it is quite possible that all the investors have different reference points. The results in Fig 2(b) indicate that the heterogeneities in reference points suppress the price fluctuations.

Fig 2(c) and 2(d) show that, as the investors with pair pattern strategies coexist with the investors with reference point strategies, the price movement is closely related to the ratio of the investors with pair pattern strategies and reference point strategies. An increase in the ratio of the investors with reference point strategies leads to a decrease in the price fluctuations. As compared with the situations in Fig 2(a) and 2(b), we find that a large M coupled with a large gmax can not only inhibit the occurrence of large price fluctuations but also the occurrence of no-trading states.

Such results indicate that the heterogeneities in investment strategies and reference points have a great impact on the evolution of stock prices. Homogeneous populations promote price fluctuations while heterogeneous populations suppress price fluctuations. In the heterogeneous environment where the investors with pair pattern strategies coexist with the investors with reference point strategies, the pair pattern strategies drive the system away from the equilibrium while the reference point strategies draw the system back to the equilibrium. Heterogeneities in the present model are beneficial for stabilizing the stock prices.

In order to get a clear view of the relationship between the price fluctuations and the heterogeneities in pair pattern strategies and reference points, in Fig 3(a) and 3(b) we plot the standard deviation σP of stock prices as a function of the memory size M and the maximum gene gmax respectively.

Fig 3(a) shows that, as all the investors adopt pair pattern strategies, the price fluctuations are determined by the memory size M. As M increases from M = 2 to M = 10, the standard deviation σP of stock prices decreases from σP ∼ 22 to σP ∼ 0.1. An increase in the ratio ρref of the investors with reference point strategies leads to an overall decrease of σP within the whole range of 2 ≤ M ≤ 10. An increase in ρref does not affect the changing tendency of σP vs M.

thumbnail
Fig 3.

The standard deviation σP of stock prices (a) as a function of the memory size M for the maximum gene of the investors with reference point strategies gmax = 1000 and the ratio of the investors with reference point strategies ρref = 0 (circles), 0.8 (squares); (b) as a function of gmax for M = 3 and ρref = 1 (circles), 0.8 (squares). Other parameters are: the total population N = 1000, the number of strategies for each investor with pair pattern strategy nS = 2, the time interval for getting is Δ = 10, the maximum and minimum number of shares for each investor Kmax = 1 and Kmin = -1, the constant α = β = 10. Final data are obtained by averaging over 100 runs and 104 times after 105 relaxation times in each run.

https://doi.org/10.1371/journal.pone.0288277.g003

Fig 3(b) shows that, as all the investors adopt reference point strategies, the price fluctuations are determined by the maximum gene gmax. There exist two critical points and . As gmax increases from gmax = 1 to gmax = 500, σP keeps a fixed value of 2 × 105. As gmax increases from gmax = 500 to gmax = 1100, σP drops quickly from σP ∼ 2 × 105 to σP ∼ 0.01. As gmax increases from gmax = 1100 to gmax = 1800, σP keeps the value of σP ∼ 0.01. A decrease in the ratio ρref of the investors with reference point strategies leads to a decrease in the critical points and . Within the range of , a decrease in ρref leads to an overall decrease of σP. Within the range of , a decrease in ρref leads to an overall increase of σP. A decrease in ρref does not affect the changing tendency of σP vs gmax.

Such results indicate that both heterogeneous investment strategies and heterogeneous reference points have a great impact on the price movement. For the system with either pair pattern strategies or reference point strategies, the existence of the individuals with heterogeneous investment strategies or heterogeneous reference points suppresses the price fluctuations. For the system with the coexistence of pair pattern strategies and reference point strategies, the price fluctuations may be promoted within some range and may be suppressed within other range.

In a predictable market, people usually make a deal according to the historic information, which may lead to people’s common behaviors. In the present model, even if people have the same historic information, because they have heterogeneous investment strategies or heterogeneous reference points, it is quite possible that their common behaviors may be inhibited. In order to examine whether the reduction of price fluctuations in the present model results from the reduction of the predictability of price movement, in Fig 4(a) and 4(b) we plot the predictability H of stock prices as a function of the memory size M and the maximum gene gmax respectively.

thumbnail
Fig 4.

The predictability H of stock prices (a)as a function of the memory size M for the maximum gene of the investors with reference point strategies gmax = 1000 and the ratio of the investors with reference point strategies ρref = 0 (circles), 0.8 (squares); (b)as a function of gmax for M = 3 and ρref = 1 (circles), 0.8 (squares). Other parameters are: the total population N = 1000, the number of strategies for each investor with pair pattern strategies nS = 2, the time interval for getting is Δ = 10, the maximum and minimum number of shares for each investor Kmax = 1 and Kmin = -1, the constant α = β = 10. Final data are obtained by averaging over 100 runs and 104 times after 105 relaxation times in each run.

https://doi.org/10.1371/journal.pone.0288277.g004

Fig 4(a) shows that, as all the investors adopt pair pattern strategies, the predictability H of stock prices is closely related to the memory size M. As M increases from M = 2 to M = 10, H decreases from H ∼ 6.8 to H ∼ 0.05. An increase in the ratio ρref of the investors with reference point strategies leads to an overall decrease in H within the whole range of 2 ≤ M ≤ 10. An increase in ρref does not affect the changing tendency of H vs M. Comparing the results in Fig 4(a) with the results in Fig 3(a), we find that a more predictable market has a larger price fluctuation.

Fig 4(b) shows that, as all the investors adopt pair pattern strategies, the predictability H of stock prices is closely related to the maximum gene gmax. There exist two critical points and . As gmax increases from gmax = 1 to gmax = 500, H keeps a fixed value of 1 × 105. As gmax increases from gmax = 500 to gmax = 1100, H drops quickly from H ∼ 1 × 105 to H ∼ 0.002. As gmax increases from gmax = 1100 to gmax = 1800, H keeps the value of H ∼ 0.002. A decrease in the ratio ρref of the investors with reference point strategies leads to a decrease in the critical points and . Within the range of , a decrease in ρref leads to an overall decrease of H. Within the range of , a decrease in ρref leads to an overall increase of H. A decrease in ρref does not affect the changing tendency of H vs gmax. Comparing the results in Fig 4(b) with the results in Fig 3(b), we find that a more predictable market has a larger price fluctuation.

Such results indicate that the predictability of price movement is closely related to the heterogeneities in investment strategies and reference points. For the system with either pair pattern strategies or reference point strategies, the heterogeneities are quite possible to make the market become unpredictable, which is similar to the situation in an efficient market. For the system with the coexistence of pair pattern strategies and reference point strategies, the price movement may become more predictable within some range and may become more unpredictable within other range.

The price fluctuations are closely related to the predictability of price movement, which can be understood as follows. For a typical price history, a bias in the subsequent price changes can be used as a signal to predict the price movement [36, 61]. In the present model, the levels of such a bias are measured by parameter H and the levels of price fluctuations are measured by parameter σP. Similar to that in the minority game mechanism [29, 6467], in the process of exploiting the predictable information, for a small memory size M, the crowd effect leads to a large price fluctuation. For a large M, the crowd-anticrowd effect makes the system become stable. In the present model, the crowd effect makes the predictable system become unstable. For example, facing the signal indicating that the price would rise, most of the investors would make a buying decision, which would lead to a quick increase in the prices. Facing the signal indicating that the price would drop, most of the investors would make a selling decision to avoid losses, which would lead to a quick decrease in the prices. Therefore, a higher level of predictability corresponds to a larger value of price fluctuation. For a heterogeneous population, facing the same history signal, the number of the investors making a buying decision is quite possible to be the same as the number of the investors making a selling decision. Therefore, there would be a low level of predictability and a small value of price fluctuation. For a homogeneous population, facing the same history signal, it is quite possible that most of the investors make the same buying or selling decisions. Therefore, there would be a high level of predictability and a large value of price fluctuation.

In order to find the advantage of the coexistence of different kinds of investment strategies in the present model, in Fig 5(a)–5(d) we plot the averaged wealth of the investors with pair pattern strategies and reference point strategies respectively.

thumbnail
Fig 5.

(a)The averaged wealth of the investors with pair pattern strategies as a function of the memory size M for the maximum gene of the investors with reference point strategies gmax = 1000 and the ratio of the investors with reference point strategies ρref = 0 (circles), 0.8 (squares); (b) as a function of gmax for M = 3 and ρref = 0.8 (squares); (c)the averaged wealth of the investors with reference point strategies as a function of M for gmax = 1000 and ρref = 0.8 (squares); (d) as a function of gmax for M = 3 and ρref = 1 (circles), 0.8 (squares). Other parameters are: the total population N = 1000, the number of strategies for each investor with pair pattern strategies nS = 2, the time interval for getting is Δ = 10, the maximum and minimum number of shares for each investor Kmax = 1 and Kmin = -1, the constant α = β = 10. Final data are obtained by averaging over 100 runs and 104 times after 105 relaxation times in each run.

https://doi.org/10.1371/journal.pone.0288277.g005

Fig 5(a) and 5(c) show that, as all the investors adopt pair pattern strategies, the wealth of the investors with pair pattern strategies is closely related to the memory size M. There exists a critical point Mc = 4. As M increases from M = 2 to M = 4, increases quickly from to . As M increases from M = 4 to M = 10, increases slowly from to . An increase in the ratio of the investors with reference point strategies does not affect the critical point Mc = 4. As M increases from M = 2 to M = 4, increases from to while the wealth of the investors with reference point strategies firstly increases from to and then drops from to . As M increases from M = 4 to M = 10, increases from to while decreases from to . Within the range of MMc, the coexistence of pair pattern strategies and reference point strategies is beneficial for the investors with reference point strategies.

Fig 5(b) and 5(d) show that, as all the investors adopt reference point strategies, the wealth of the investors with reference point strategies is closely related to the maximum gene gmax. There exist two critical points and . Within the range of gmax < 500, fluctuates within the range of . As gmax increases from gmax = 500 to gmax = 700, increases from to . As gmax increases from gmax = 700 to gmax = 1800, increases from to .

A decrease in the ratio ρref of the investors with reference point strategies leads to a decrease in the critical points and . For ρref = 0.8, as gmax increases from gmax = 1 to gmax = 300, the wealth of the investors with pair pattern strategies fluctuates around while the wealth of the investors with reference point strategies fluctuate within the range of . As gmax increases from gmax = 300 to gmax = 500, decreases from to while increases from to . As gmax increases from gmax = 500 to gmax = 1800, increases from to while increases from to . Within the range of , the coexistence of pair pattern strategies and reference point strategies is beneficial for the investors with pair pattern strategies.

Comparing the results in Fig 5(a) and 5(c) with the results in Fig 5(b) and 5(d), we find that the coexistence of the investors with pair pattern strategies and reference point strategies is not always good for both sides. In some cases the investors with reference point strategies may defeat the investors with pair pattern strategies and in other cases the investors with pair pattern strategies may defeat the investors with reference point strategies.

Theoretical analysis

Relationship between the price fluctuations and the heterogeneities in investment strategies and reference points

The price fluctuation is determined by the difference in the numbers of the investors buying and selling the stocks, which is satisfied with the equation (10)

On condition that all the investors adopt pair pattern strategies, for a given population N, the heterogeneity in pair pattern strategies is determined by the memory size M. For M = 1, the total number of pair pattern strategies is npair = 2M = 2, i.e. s1 = (0,1) and s2 = (1,0), which means that, facing an increase in the latest price, s1 tells the investors to sell and s2 tells the investors to buy. Facing a decrease in the latest price, s1 tells the investors to buy and s2 tells the investors to sell. Therefore, facing a typical change in the latest price, the difference in the numbers of the investors buying and selling the stocks should be (11) in which and are the numbers of the investors buying and selling the stocks respectively.

For quite a large M, i.e. M = 10, the number of the combination of M latest price changes is 2M = 1024. The total number of pair pattern strategies is . For a given N = 1000, facing a typical combination of the latest M price changes, the difference in the numbers of the investors buying and selling the stocks should be (12)

On condition that all the investors adopt reference point strategies, for a given population N, the heterogeneity in reference point strategies is determined by the maximum value of risk tolerance gmax. Facing the latest price P(t − 1), the difference in the numbers of the investors buying and selling the stocks should be (13) in which NPref>P and NPref<P are the numbers of the investors buying and selling the stocks respectively.

For quite a small gmax, i.e. gmax = 1, all the reference points are within a small range (14) in which is the averaged value of the stock prices in the latest Δt steps. For quite a large gmax, i.e. gmax = N, all the reference points are within a wide range (15)

Given a typical ΔN = NPref>PNPref<P = 2, for gmax = 1, ΔN is quite possible to become ΔN = NPref>PNPref<P = -2 in the next step because nearly all the investors are within a small range around P(t − 1). For gmax = N, ΔN is quite possible to become ΔN = NPref>PNPref<P = 1 or ΔN = NPref>PNPref<P = 0 in the next step because the investors scatter within a wide range around P(t − 1).

On condition that the investors with pair pattern strategies coexist with the investors with reference point strategies, the price fluctuation is determined by the coupling of the heterogeneities in investment strategies and the heterogeneities in reference points. In a heterogeneous population, the existence of the investors with pair pattern strategies helps the investors with reference point strategies away from a no-trading state while the existence of the investors with reference point strategies helps the investors with pair pattern strategies away from a large fluctuation. The price has the characteristics of a random walk which slowly fluctuates around an equilibrium state.

The above analyses indicate that, for a small M and a small gmax, a zigzag price fluctuation is more possible to occur. For a large M and a large gmax, a slow price fluctuation like a random walk is more possible to occur.

The averaged wealth of pair pattern strategies and reference point strategies

The wealth of the investors with pair pattern strategies and reference point strategies is determined by the difference between the buying price and the selling price. (16)

The price change ΔP = P(t) − P(t − 1) = Σapair + Σaref. If |Σapair|> > |Σaref|, the price change is determined by the investors with pair pattern strategies. If |Σapair| ≪ |Σaref|, the price change is determined by the investors with reference point strategies.

On condition that only the investors with pair pattern strategies exist, facing a typical combination of M latest price changes, if there are more buyers than sellers, the price increases. The number of the investors buying the stock with a higher price is larger than the number of the investors selling the stock with a higher price. Facing another typical combination of M latest price changes, if there are more sellers than buyers, the price decreases. The number of the investors selling the stock with a lower price is larger than the number of the investors buying the stock with a lower price. Therefore, buying high and selling low would lead to the negative wealth of the investors with pair pattern strategies.

On condition that only the investors with reference point strategies exist, facing the latest price P(t − 1), if there are more buyers than sellers, the price increases. The number of the investors buying the stock with a higher price is larger than the number of the investors selling the stock with a higher price. Facing the latest price P(t − 1), if there are more sellers than buyers, the price decreases. The number of the investors selling the stocks with a lower price is larger than the number of the investors buying the stocks with a lower price. Therefore, buying high and selling low lead to the negative wealth of the investors with reference point strategies.

On condition that the investors with pair pattern strategies coexist with the investors with reference point strategies, the price movement is determined by the strategy governing the moving trend of the price, no matter whether the strategy is pair pattern strategy or reference point strategy. The investors in the minority side gain more than the investors in the majority side.

For a small memory size M and a small maximum gene gmax, the moving patterns is closely related to the ratio of the investors with pair pattern strategies and reference point strategies. For a small and an intermediate ρref, because a small gmax has a greater impact on the price movement than a small M, a large ρpair has a greater impact on the price movement than a small ρref. The moving trend of the stock prices is governed by both the investors with pair pattern strategies and reference point strategies. The wealth of the investors with pair pattern strategies is similar to the wealth of the investors with reference point strategies. For a large ρref, the price movement is governed by the investors with reference point strategies, which means that, if the investors with reference point strategies buy more, the price increases. If the investors with reference point strategies sell more, the price decreases. The majority choice of the investors with reference point strategies determines the moving trend of the price. Therefore, buying high and selling low lead to the negative wealth of the investors with reference point strategies. For the investors with pair pattern strategies, if they have the buying and selling behaviors similar to the investors with reference point strategies, buying high and selling low lead to their negative wealth. If they have the buying and selling behaviors different from the investors with reference point strategies, buying low and selling high lead to their positive wealth. Therefore, compared with the wealth of the investors with reference point strategies, the wealth of the investors with pair pattern strategies is quite possible to be larger than 0.

For a small memory size M and a large maximum gene gmax, because a large gmax has little impact on the price movement, the moving trend of the price is determined by the investors with pair pattern strategies. If the investors with pair pattern strategies buy more, the price increases. If the investors with pair pattern strategies sell more, the price decreases. Therefore, buying high and selling low lead to the negative wealth of the investors with pair pattern strategies. For the investors with reference point strategies, if they have the buying and selling behaviors similar to the investors with pair pattern strategies, buying high and selling low lead to their negative wealth. If they have the buying and selling behaviors different from the investors with pair pattern strategies, buying low and selling high lead to their positive wealth. Therefore, compared with the wealth of the investors with pair pattern strategies, the wealth of the investors with reference point strategies is quite possible to be larger than 0.

For an intermediate memory size M and a small maximum gene gmax, similar to the situation where there is a small memory size M and a small maximum gene gmax, the moving patterns is closely related to the ratio of the investors with pair pattern strategies and reference point strategies ρref. For a small and an intermediate ρref, because a small gmax has a greater impact on the price movement than an intermediate M and a large ρpair has a greater impact on the price movement than a small ρref, the moving trend of the price is governed by both the investors with pair pattern strategies and reference point strategies. The wealth of the investors with pair pattern strategies is similar to the wealth of the investors with reference point strategies. For a large ρref, the price movement is governed by the investors with reference point strategies, which means that, if the investors with reference point strategies buy more, the price increases. If the investors with reference point strategies sell more, the price decreases. The majority choice of the investors with reference point strategies determines the moving trend of the price. Therefore, buying high and selling low lead to the negative wealth of the investors with reference point strategies. For the investors with pair pattern strategies, if they have the buying and selling behaviors similar to the investors with reference point strategies, buying high and selling low lead to their negative wealth. If they have the buying and selling behaviors different from the investors with reference point strategies, buying low and selling high lead to their positive wealth. Therefore, compared with the wealth of the investors with reference point strategies, the wealth of the investors with pair pattern strategies is quite possible to be larger than 0.

For an intermediate memory size M and a large maximum gene gmax, similar to the situation where there is a small memory size M and a large maximum gene gmax, because a large gmax has little impact on the price movement, the moving trend of the price is determined by the investors with pair pattern strategies. If the investors with pair pattern strategies buy more, the price increases. If the investors with pair pattern strategies sell more, the price decreases. Therefore, buying high and selling low lead to the negative wealth of the investors with pair pattern strategies. For the investors with reference point strategies, if they have the buying and selling behaviors similar to the investors with pair pattern strategies, buying high and selling low lead to their negative wealth. If they have the buying and selling behaviors different from the investors with pair pattern strategies, buying low and selling high lead to their positive wealth. Therefore, compared with the wealth of the investors with pair pattern strategies, the wealth of the investors with reference point strategies is quite possible to be larger than 0.

The above analyses indicate that the strategy that drives the system far away from the equilibrium loses more while the strategy that draws the system back to the equilibrium gains more. The theoretical analysis is in accordance with the simulation data in Fig 6.

thumbnail
Fig 6.

The averaged wealth of the investors with pair pattern strategies (circles) and reference point strategies (squares) for (a)M = 1, gmax = 100; (b)M = 1, gmax = 1000; (c)M = 3, gmax = 100; (d)M = 3, gmax = 1000. Other parameters are: the total population N = 1000, the ratio of the investors with reference point strategies ρref = 0.5, the number of strategies for each investor with pair pattern strategy nS = 2, the time interval for getting is Δ = 10, the maximum and minimum number of shares for each investor Kmax = 1 and Kmin = -1, the constant α = β = 10. Final data are obtained by averaging over 100 runs and 104 times after 105 relaxation times in each run.

https://doi.org/10.1371/journal.pone.0288277.g006

Acknowledgments

Thanks for Professor Yi-Cheng Zhang’s kind suggestions.

References

  1. 1. Gontis V, Havlin S, Kononovicius A, Podobnik B, Stanley HE. Stochastic model of financial markets reproducing scaling and memory in volatility return intervals. Physica A. 2016 November; 462:1091–1102.
  2. 2. Watorek M, Kwapien J, Drozdz S. Financial return distributions: past, present, and COVID-19. Entropy. 2021 July; 23:884. pmid:34356425
  3. 3. Stauffer D. A biased review of sociophysics. Journal of Statistical Physics. 2013 Oct; 151:9–20.
  4. 4. Lin ZH, Feng M, Tang M, Liu ZH, Xu C, Hui PM, et al. Non-markovian recovery makes complex networks more resilient against large-scale failures. Nature Communication. 2020 May; 11:2490. pmid:32427821
  5. 5. Zhang SP, Dong JQ, Liu L, Huang ZG, Huang L, Lai YC. Artificial intelligence meets minority game: toward optimal resource allocation. Phys Rev E. 2019 Mar; 99:032302.
  6. 6. Zhang JQ, Huang ZG, Wu ZX, Su R, Lai YC. Controlling herding in minority game systems. Scientific Reports. 2016 Feb; 6:20925. pmid:26883398
  7. 7. Matteo TD, Aste T, Dacorogna MM. Long-term memories of developed and emerging markets: Using the scaling analysis to characterize their stage of development. Journal of Banking and Finance. 2005 April; 29 (4): 827–851.
  8. 8. Matteo TD, Aste T, Dacorogna MM. Scaling behaviors in differently developed markets. Physica A. 2003 June; 324: 183–188.
  9. 9. Musmeci N, Aste T, Matteo TD. Relation between financial market structure and the real economy: Comparison between clustering methods. PloS one. 2015 Mar; 10: e0116201. pmid:25786703
  10. 10. Pozzi F, Matteo TD, Aste T. Exponential smoothing weighted correlations. The European Physical Journal B. 2012 June; 85: 1–21.
  11. 11. Medo M, Zhang YC. Market model with heterogeneous buyers. Physica A. 2008 May; 387 (12): 2889–2908.
  12. 12. Chau HF, Chow FK, Ho KH, Man WC. Multiplpe choice minority game with different publicly known histories. New Journal of Physics. 2005 Oct; 7: 206.
  13. 13. Zhong LX, Zheng DF, Zheng B, Hui PM. Effects of contrarians in the minority game. Phys Rev E. 2005 Aug; 72: 026134. pmid:16196671
  14. 14. Wiesinger J, Sornette D, Satinover J. Reverse engineering financial markets with majority and minority games using genetic algorithms. Comput Econ. 2013; 41: 475–492.
  15. 15. Sasidevan V, Dhar D. Co-action equilibria and strategy switchings in a stochastic minority game. Physica A. 2014; 402: 306–317.
  16. 16. De Martino A, Giardina I, Marsili M, Tedeschi A. Generalized minority games with adaptive trend-followers and contrarians. Phys Rev E. 2004; 70: 025104. pmid:15447533
  17. 17. Wong KYM, Lim SW, Gao Z. Effects of diversity on multi-agent systems: minority games. Phys Rev E. 2005; 71: 066103.
  18. 18. Manrique PD, Johnson NF. Individual heterogeneity generates explosive system network dynamics. Phys Rev E. 2018; 97: 032311. pmid:29776136
  19. 19. Cao ZF, He Z, Johnson NF. Asymmetric access to information impacts the power-law exponent in networks. Phys Rev E. 2018; 98: 042307.
  20. 20. Burkholz R, Garas A, Schweitzer F. How damage diversification can reduce systemic risk. Phys Rev E. 2016; 93: 042313. pmid:27176318
  21. 21. Zhang T, Gu GF, Zhou WX. Order imbalances and market efficiency: New evidence from the Chinese stock market. Emerging Markets Review. 2019; 38: 458–467.
  22. 22. Wawrzyniak K, Wislicki W. Phenomenology of minority games in efficient regime. Advances in Complex Systems. 2009; 6: 619.
  23. 23. Biswas S, Ghosh A, Chatterjee A, Naskar T, Chakrabarti BK. Continuous transition of social efficiencies in the stochastic strategy minority game. Phys Rev E. 2012; 85: 031104. pmid:22587035
  24. 24. Xie YB, Wang BH, Hu CK, Zhou T. Global optimization of minority game by smart agents. Eur Phys J B. 2005; 47: 587–593.
  25. 25. Schweitzer F. An agent-based framework of active matter with applications in biological and social systems. European Journal of Physics. 2018 Nov; 40: 014003.
  26. 26. Hadzibeganovic T, Cui P, Wu ZX. Nonconformity of cooperators promotes the emergence of pure altruism in tag-based multi-agent networked systems. Knowl Based Syst. 2019; 171: 1–24.
  27. 27. Hadzibeganovic T, Xia CY. Cooperation and strategy coexistence in a tag-based multi-agent system with contingent mobility. Knowl Based Syst. 2016; 112: 1–13.
  28. 28. Gao J, Zhang YC, Zhou T. Computational Socioeconomics. Physics Reports. 2019; 817: 1–104.
  29. 29. Hart M, Jefferies P, Johnson NF, Hui PM. Crowd-anticrowd theory of the Minority Game. Physica A. 2001; 298: 537–544.
  30. 30. Lo TS, Hui PM, Johnson NF. Theory of the evolutionary minority game. Phys Rev E. 2000; 62: 4393. pmid:11088971
  31. 31. Lo TS, Chan HY, Hui PM, Johnson NF. Theory of networked minority games based on strategy pattern dynamics. Phys Rev E. 2004; 70: 056102. pmid:15600687
  32. 32. Hod S, Nakar E. Self-segregation vs. clustering in the evolutionary minority game. Phys Rev Lett. 2002; 88: 238702. pmid:12059406
  33. 33. Zhang YC. Modeling market mechanism with evolutionary games. Europhys News. 1998; 29: 51.
  34. 34. Challet D, Zhang YC. On the minority game: analytical and numerical studies. Physica A. 1998; 256: 514–532.
  35. 35. Challet D, Chessa A, Marsili M, Zhang YC. From minority games to real markets. Quantitative Finance. 2001; 1: 168–176.
  36. 36. Challet D, Marsili M, Zhang YC. Stylized facts of financial markets and market crashes in Minority Games. Physica A. 2001; 294: 514–524.
  37. 37. Challet D, De Martino A, Marsili M. Dynamical instabilities in a simple minority game with discounting. Journal of Statistical Mechanics: Theory and Experiment. 2008; 4: L04004.
  38. 38. Challet D, De Martino A, Marsili M, Castillo IP. Minority games with finite score memory. Journal of Statistical Mechanics: Theory and Experiment. 2006; 3: P03004.
  39. 39. Mosetti G, Challet D, Zhang YC. Minority games with heterogeneous timescales. Physica A. 2006; 365: 529–542.
  40. 40. Alfi V, De Martino A, Pietronero L, Tedeschi A. Detecting the traders’ strategies in Minority-Majority games and real stock-prices. Physica A. 2007; 382: 1–8.
  41. 41. De Martino A, Giardina I, Mosetti G. Statistical mechanics of the mixed majority-minority game with random external information. J Phys A. 2003; 36: 8935.
  42. 42. Challet D. Inter-pattern speculation: beyond minority, majority and dollar-games. Journal of Economic Dynamics and Control. 2008; 32: 85–100.
  43. 43. Gabaix X, Gopikrishnan P, Plerou V, Stanley HE. A theory of power-law distributions in financial market fluctuations. Nature. 2003; 423: 267–270. pmid:12748636
  44. 44. Jiang ZQ, Xie WJ, Zhou WX, Sornette D. Multifractal analysis of financial markets: A review. Reports on Progress in Physics. 2019; 82: 125901. pmid:31505468
  45. 45. Bianconi G, Galla T, Marsili M. Effects of tobin taxes in minority game markets. J Econ Behav Organ. 2009; 70: 231–240.
  46. 46. Galla T, Zhang YC. Minority games, evolving capitals and replicator dynamics. Journal of Statistical Mechanics: Theory and Experiment. 2009; 8: P11012.
  47. 47. Barato AC, Mastromatteo I, Bardoscia M, Marsili M. Impact of meta-order in the Minority Game. Quantitative Finance. 2013; 13: 1343–1352.
  48. 48. Marsili M, Zhang YC. Interacting individuals leading to Zipf’s Law. Phys Rev Lett. 1998; 80: 2741.
  49. 49. Zhang YC. Toward a theory of marginally efficient markets. Physica A. 1999; 269: 30–44.
  50. 50. Zhang YC, Blattner M, Yu YK. Heat conduction process on community networks as a recommendation model. Phys Rev Lett. 2007; 99: 154301. pmid:17995171
  51. 51. Ren F, Zhang YC. Trading model with pair pattern strategies. Physica A. 2008; 387: 5523–5534.
  52. 52. Xu WJ, Zhong LX. Market impact shapes competitive advantage of investment strategies in financial markets. PLoS One. 2022; 17(2): e0260373. pmid:35113865
  53. 53. Mantegna RN, Stanley HE. Scaling behaviour in the dynamics of an economic index. Nature. 1995; 376: 46–49.
  54. 54. Mantegna RN, Stanley HE. Modeling of financial data: comparison of the truncated levy flight and the ARCH(1) and GARCH(1,1) processes. Physica A. 1998; 254: 77–84.
  55. 55. Cizeau P, Liu YH, Meyer M, Peng CK, Stanley HE. Volatility distribution in the SP500 stock index. Physica A. 1997; 245: 441–445.
  56. 56. Gopikrishnan P, Meyer M, Amaral LAN, Stanley HE. Inverse cubic law for the probability distribution of stock price variations. Eur Phys J B. 1998; 3: 139.
  57. 57. Plerou V, Gopikrishnan P, Rosenow B, Amaral LAN, Stanley HE. Universal and non-universal properties of cross-correlations in financial time series. Phys Rev Lett. 1999; 83: 1471.
  58. 58. Baker M, Pan X, Wurgler J. The effect of reference point prices on mergers and acquisitions. Journal of Financial Economics. 2012; 106: 49–71.
  59. 59. Shi Y, Cui XY, Yao J, Li D. Dynamic trading with reference point adaptation and loss aversion. Operations Research. 2015; 63: 789–806.
  60. 60. Zhong LX, Xu WJ, Chen RD, Zhong CY, Qiu T, Ren F, et al. Self-reinforcing feedback loop in financial markets with coupling of market impact and momentum traders. Physica A. 2018; 493: 301–310.
  61. 61. Yeung CH, Wong KYM, Zhang YC. Models of financial markets with extensive participation incentives. Phys Rev E. 2008; 77:026107. pmid:18352090
  62. 62. Gu GF, Zhou WX. Emergence of long memory in stock volatility from a modified Mike-Farmer model. Europhys Lett. 2009; 86: 48002.
  63. 63. Gu GF, Zhou WX. On the probability distribution of stock returns in the Mike-Farmer model. Eur Phys J B. 2009; 67: 585–592.
  64. 64. Giardina I, Bouchaud JP. Bubbles, crashes and intermittency in agent based market models. Eur Phys J B. 2003; 31: 421–437.
  65. 65. Challet D, Marsili M. Phase transition and symmetry breaking in the minority game. Phys Rev E. 1999; 60: R6271. pmid:11970612
  66. 66. Jefferies P, Hart ML, Hui PM, Johnson NF. From market games to real-world markets. The European Physical Journal B. 2001; 20(4):493–501.
  67. 67. Johnson NF, Hart ML, Hui PM, Zheng DF. Trader dynamics in a model market. International Journal of Theoretical and Applied Finance. 2000; 3(3):443–450.