The efficient market hypothesis (EMH) continues to be embraced as the preeminent model of financial markets. The rapid growth in assets managed by strategies this theory underpins – namely, index tracking, risk premia and smart beta − reflects the consensus it has achieved among investment professionals.
Yet the EMH often breaks down as an effective model of real-world market behaviour. It fails, for example, to explain booms, manias and busts, or the long-term investment results achieved by firms such as Winton.
Clearly every model has its limitations – a model itself is only an idealised description of reality – but we find the widespread adoption of EMH-driven strategies alarming, especially given the role that this flawed intellectual framework has played in past financial crises.
Here, we examine an enticing alternative, inspired by ecology, and we find that it captures properties of real-world financial markets that are absent from models rooted in the EMH.
Despite only coming to prominence in the last two decades of the 20th century, the efficient market hypothesis was postulated more than 100 years ago by French mathematician Louis Bachelier , whose work compared the movement of financial market asset prices to the physical processes of Brownian motion and diffusion.
Essentially, the theory holds that the market is always right; it synthesises the wisdom of crowds so that it is never possible to earn steady trading profits by forecasting future price moves. Belief in the theory’s accuracy among investment professionals is, however, generally qualified by a recognition of the paradox that the market must reward some level of security analysis to achieve efficiency.
Efficient market theory makes several forecasts, some of which are borne out in practice, such as it is hard to earn speculative profits, and there is little or no opportunity for risk-free arbitrage profit.
But the theory makes other forecasts that are less consistent with empirical evidence: that return distributions are Gaussian and broadly stationary; that there is no autocorrelation spectrum and no cyclicality. The prices of common stocks have been shown to exhibit a much higher level of historical volatility than would have been justified by an apparently efficient market .
Perhaps a reason the theory has lasted so long is that its breakdown is manifested over long time horizons. That is not to say that it is a particularly good model over all short-term horizons, but it can produce reasonable predictions over these timeframes. It thus takes a long time for the model’s deficiencies to become apparent, and there is a tendency for its periodic failures to be excused as exceptional, or as “black swan” events.
The study of both price movements and market participants’ behaviour provides ample evidence of the efficient market theory’s over-idealisation . Is there an alternative theory that can better capture reality?
For inspiration, we look away from Brownian motion and diffusion and towards ecology. In ecology, predator-prey models with recursive character were designed to capture the cyclical, crash-prone behaviour of populations such as the celebrated Canadian lynx-snowshoe hare system in North America (Figure 1). Such models produce chaotically fluctuating histories.
It isn’t too hard to imagine financial markets comprising various types of participant, whose populations evolve in response to one another and exhibit idiosyncratic behaviours. Such a genre of agent-based modelling has existed in financial economics for 30 years  .
The agents in these models do not determine their actions by performing costly or impractical optimisations, based on perfect knowledge of the state of the world. Rather, they use heuristic techniques shaped by experience. The most experimental and rapidly evolving group of organisms would probably be the hedge funds that Andrew Lo labels the “Galapagos Islands of finance” .
This type of agent-based model (ABM) would not tend to produce markets in equilibrium, nor time series of returns that are stationary or Gaussian. They would be likely to produce unpredictable behaviour, including apparent trends, sometimes in the form of “phase transitions” between alternative equilibria. These would be the general characteristics of market behaviour.
Working out the correct number, type and behaviour of agents to model a particular market usefully is a formidable challenge, especially when the “forcing” influence of external events is itself evolving. Even a single one of our Galapagos islanders might well be dauntingly complex in character. We can start to look at more generic properties of simple markets with a straightforward model, however.
The aim of this model will be to investigate whether a stylised market − comprising 50 agents interacting with each other according to simple rules − can produce a system with properties similar to real financial markets. We do not seek to match the sophistication of recent models in the academic literature   . Rather, we introduce features informed by Winton’s first-hand experience of markets, and emphasise the properties of the price series that emerge as a result. We are interested, for example, in the characteristics of price trends.
Our market consists of a single market-maker and 50 traders that can buy or sell a single asset. It evolves in discrete timesteps, which is a considerable simplification compared to the continuously updated order books used in many markets.
At each timestep, every trader has the chance to place an order with the market-maker, to buy or sell some number of units of the asset. Traders only interact with each other indirectly, via their orders with the market-maker. Orders influence the asset’s price and, in some scenarios, the behaviour of the market-maker − it is these changes that are “experienced” by the other traders.
The market-maker collects all the orders submitted by traders in a given timestep, and deals with them in a random sequence. For each order, the market-maker reports back to the corresponding trader the price at which the order has been filled. We do not consider incomplete fills and, because we do not maintain an order book, all orders are effectively market orders. This price is a function of the pre-order price and the size of the order: in other words, traders experience slippage in the execution of their order. They must also pay a commission to the market-maker.
In addition, the order has a permanent effect on the price, moving it higher in the case of a buy and lower in the case of a sell. The slippage and permanent effect on prices follow empirical models developed by Winton in its research into execution in a range of futures markets.
By the end of a timestep, the inventory of the market-maker (that is, the number of units of the asset it holds), the market price, and the inventory and capital of each of the traders have been updated. We record this information and move to the next step.
Our 50 traders are grouped into four categories:
The remaining agent types can be regarded as speculators of one kind or another:
Even with a small number of agent types, our model still has many dials to turn and levers to pull: for example, the starting capital of the different traders; the level of skill of the value traders; the parameters of the price impact function (which, in a real market, would correspond to its volume and liquidity); the level of variation in supply and demand in the physical market; the speed of trend-following employed by each of the technical traders, and so on.
Previous work has tweaked model parameters to try to match a small number of so-called “stylised facts” about financial markets (see , for example, and references therein). Two are particularly clear when looking at market data:
Mandelbrot highlights the importance of long memory and heavy tails when challenging his readers of  to pick out the real market from a selection of return series. These include one with uncorrelated Gaussian returns, and one generated by his multifractal model. We present a similar challenge in Figure 2, and the Gaussian returns are easy to identify.
However, in many of these models, the autocorrelation function of the returns themselves (rather than the squared returns) is often taken to be indistinguishable from zero: in other words, there is no tendency for markets to trend (or, indeed, to mean-revert).
We do not take this position. On the contrary, we wish to understand the performance of trend following in financial markets, and so we are interested in examining the return distribution conditioned on the direction and strength of an earlier trend.
Figure 3 displays the price history and open interest for a run of our ABM. To help reveal the detail of the market, we only show 30,000 steps of the model’s entire 100,000-step history. The parameters of the model are chosen to allow the technical and value traders to achieve a reasonable level of profit, which enables us to maintain a good mix of traders throughout the simulation without having to step in and to adjust parameters as it runs. We also find that a combination of technical and value trading is necessary to achieve a realistic-looking distribution of returns.
Note that we only introduce the technical traders after 10,000 timesteps: this allows trend followers (for all the trading speeds we consider) to estimate their trend signal and the market volatility. The result is a step up in the open interest at this point, from values of ≈200,000 lots, to the levels observed for the period shown in Figure 3.
Regarding the open interest, note that the market-maker is the counterparty to every contract. In early versions of our model, there could be long-term imbalances between supply and demand in the physical market, leaving the market-maker with very large holdings.
To avoid this, we introduced an asymmetry into the function used by the market-maker to determine the slippage and the permanent price impact of an order: if the market-maker has a net short position, it will impose a larger slippage and price impact for agents’ buy orders (which, in turn, would make the market-maker’s short position larger), and vice versa if the market-maker is net long. This makes the outstanding balance of contracts held by the speculators a mean-reverting process, with a mean of zero.
The notional wealth of the speculators can be calculated by adding their capital to the current market value of the contracts they hold – that is, not accounting for the slippage they would experience in closing out their positions. Figure 4 displays the change in notional wealth between timesteps 10,000 and 100,000 for our value and technical traders in the market shown in Figure 3.
If we consider each timestep to be one day, we can compute annualised Sharpe ratios for these agents, assuming a risk-free rate of zero. The value traders have Sharpe ratios between 1.61 and -0.73, while the technical traders achieve ratios between 2.61 and -0.49. These figures can be measured with an error of around ±0.06. This is only possible for a single market because of the very long experiments we can run: 85,000 daily prices after allowing some time for “burn in”, far more than is possible for a real individual market.
When we compare the performance of the value traders before and after the technical traders are switched on (at timestep 10,000) in Figure 5, we find that the introduction of the latter improves the profitability of the former.
Nonetheless, trend following is profitable at some speeds, and also makes the distribution of returns more like those seen in real markets. With value traders alone, the volatility is low but the distribution of returns is unrealistically heavy-tailed.
Four examples of return distributions can be seen in Figure 6. They are shown for the following markets:
Figure 6 shows how, by adjusting the mix of agents in the ABM, we can generate return distributions reminiscent of a wide range of markets. We cannot claim, however, that the differences between parameter choices correspond to differences between the real markets.
As we have noted, an ABM with only value traders does not yield a market that looks “efficient”: we see a heavy-tailed return distribution, and price movements that only weakly track the clearing price in the physical market.
The inclusion of technical traders increases volatility, broadening the return distribution and making the fat tails appear less prominent. But they do not “arbitrage” away inefficiencies; instead, the slower trend followers enhance the returns of the faster trend followers and value traders, which appear to profit at the slow trend followers’ expense.
The process by which the fast trend followers profit from the slow trend followers also alters the distribution of returns experienced by the latter group: returns during times of positive, negative and weak trends are different; in ways that we observe in real markets.
That said, this result contradicts the observed decline in the performance of fast trend following, once transaction costs are accounted for (see ), despite a general increase in the capital controlled by technical traders.
At this point we also hit a limitation of our approach: it is not possible to probe what happens on shorter timescales than a single timestep, which we have treated as a trading “day”. To continue down to the millisecond timescales of high-frequency trading would need another seven or so orders of magnitude of dynamic range, which is computationally infeasible.
Thus it is entirely possible that our fastest trend followers would be “eaten” by agents operating even more quickly, leaving the slow systems relatively unaffected. We can only try to capture intraday effects by tweaking the market-maker’s price impact function.
The agents’ profitability is also limited by the unpredictability present in the simulation. This comes in two forms:
The price series start to diverge after the rounding. This happens slowly at first, but at some point, the difference is large enough for the agents’ interactions to take the price series in opposite directions. At long timescales, the same trends are present in either case, but at shorter timescales there is intrinsic unpredictability.
This should be no surprise: chaos can be seen in deterministic ecological systems of as few as three species, modelled by coupled, recursive equations. It is interesting to contemplate, though, how much of the unpredictability in financial markets comes from their being buffeted by random, external events, and how much comes from the interaction between the agents operating in the market, even those driven by cool, rational algorithms.
In reality, these algorithms are not static. This suggests an extension of our model: what happens when our agents can learn from their trading experience and alter their behaviour? At present, the mix of agents only changes as capital flows to the more successful strategies, making the more successful strategies more influential. Is this observation sufficient to explain the changes we have seen in the performance of different speeds of trend following ? Or is a more careful treatment of the structure of the market and its external influences required?
Agent-based models provide us with a flexible framework to explore ideas and capture some of the behaviour of real markets. However, we must be very cautious about extrapolating from what is still a highly simplified model to the behaviour of a real financial market. We do not envisage setting up an agent-based model of a particular market and using it to predict returns.
It is, instead, best to think of these ecologically-inspired models as a way to generate hypotheses and develop our intuition about the qualitative features of financial markets and their causes. These hypotheses can then be developed and tested on real market data.
The recent rise of products rooted in the efficient market hypothesis shows a lack of inspiration on the part of the investment management industry. We believe ecological models could be more fruitful hypothesis generators than a picture of a market as a simple physical mechanism, about which we already know all there is to know.
 L. Bachelier, Théorie de la spéculation, Annales scientifiques de l'École Normale Supérieure, vol. 17, pp. 21-86, 1900.
 R. J. Shiller, The Use of Volatility Measures in Assessing Market Efficiency, The Journal of Finance, vol. 36, no. 2, pp. 291-304, 1981.
 B. B. Mandelbrot, The Variation of Certain Speculative Prices, The Journal of Business, vol. 36, no. 4, pp. 394-419, 1963.
 E. Odum, Fundamentals of ecology, Philadelphia, PA: WB Saunders Company, 1953.
 D. A. Mac Lulich, Fluctuations in the numbers of varying hare (Lepus Americanus), vol. 43, Toronto: University of Toronto Press, 1937.
 Santa Fe Institute, The economy as an evolving complex system: the proceedings of the Evolutionary Paths of the Global Economy Workshop, held September, 1987 in Santa Fe, New Mexico, P. W. Anderson, K. J. Arrow and D. Pines, Eds., Santa Fe, NM: Addison-Wesley Pub. Co., 1988.
 J. Duke, Using an agent-based simulation to explore hedging pressure in futures markets, MSc Thesis in Intelligent Systems, University College London, 2006.
 A. W. Lo, Adaptive Markets: Financial Evolution at the Speed of Thought, Princeton, NJ: Princeton University Press, 2017.
 L. Cocco, G. Concas and M. Marches, Using an artificial financial market for studying a cryptocurrency market, Journal of Economic Interaction and Coordination, July 2017, Volume 12, Issue 2, pp 345–36 5.
 C. Chiarella, X. He, L. Shi and L. Wei, A behavioural model of investor sentiment in limit order markets, Journal of Quantitative Finance, 2017, vol. 17, Issue 1, pp 71-86.
 C. M. Wray and S. R. Bishop, A Financial Market Model Incorporating Herd Behaviour, PLoS ONE 11(3): e0151790.
 A. Chakraborti, I. M. Toke, M. Patriarca and F. Abergel, Econophysics review: I. Empirical facts; II. Agent-based models, Quantitative Finance, vol. 11, no. 7, pp. 991-1041, 2011.
 B. B. Mandelbrot and R. L. Hudson, The (Mis)behavior of Markets: A Fractal View of Risk, Ruin and Reward, New York: Basic Books, 2004.
 Winton Research, Historical Performance of Trend Following, 2013 (https://www.winton.com/research/historical-performance-of-trend-following)
This article contains simulated or hypothetical performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity and cannot completely account for the impact of financial risk in actual trading. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all of which can adversely affect actual trading results. Simulated or hypothetical trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any investment will or is likely to achieve profits or losses similar to those being shown.