Abstract
Crashes have fascinated and baffled many canny observers of financial markets. In the strict orthodoxy of the efficient market theory, crashes must be due to sudden changes of the fundamental valuation of assets. However, detailed empirical studies suggest that large price jumps cannot be explained by news and are the result of endogenous feedback loops. Although plausible, a clear-cut empirical evidence for such a scenario is still lacking. Here we show how crashes are conditioned by the market liquidity, for which we propose a new measure inspired by recent theories of market impact and based on readily available, public information. Our results open the possibility of a dynamical evaluation of liquidity risk and early warning signs of market instabilities, and could lead to a quantitative description of the mechanisms leading to market crashes.
Introduction
Why do market prices move? This simple question has fuelled fifty years of academic debate, reaching a climax with the 2013 Nobel prize in economics, split between Fama and Shiller who promote radically different views on the question [1]. Whereas Fama argues that markets are efficient and prices faithfully reflect fundamental values, Shiller has shown that prices fluctuate much more than what efficient market theory would suggest, and has insisted on the role of behavioural biases as a source of excess volatility and price anomalies. Of particular importance is the origin of the largest changes in prices, aka market crashes, that may have dire consequences not only for market participants but also for the society as a whole [2]. It is fair to say that after centuries of market folly [3–6], there is no consensus on this issue. Many studies [7–9] have confirmed the insight of Cutler, Poterba & Summers [10] who concluded that [t]he evidence that large market moves occur on days without identifiable major news casts doubts on the view that price movements are fully explicable by news…. The fact that markets appear to crash in the absence of any remarkable event suggests that destabilising feedback loops of behavioural origin may be at play [11–14]. Although plausible, a clear-cut empirical evidence for such an endogenous scenario is still lacking. After all, crashes are not that frequent and a convincing statistical analysis is difficult, in particular because of the lack of relevant data about the dynamics of supply and demand during these episodes.
In this respect, the Bitcoin [15–17] market is quite unique on many counts. In particular, the absence of any compelling way to assess the fundamental price of Bitcoins makes the behavioral hypothesis highly plausible. For our purpose, the availability of the full order book (i.e. the record of all intentions to buy or sell at a given point in time, each volume coming with an offering price) at all times provides precious insights, in particular before and during extreme events. Indeed, at variance with most financial markets where participants hide their intentions, the orders are placed long in advance by Bitcoin traders over large price ranges. Using two highly informative data-sets—the trade-by-trade MtGox data between December 2011 and January 2014, and the full order book data over the same period—we analyse in depth the liquidity of the Bitcoin market. We find that what caused the crash was not the selling pressure per se, but rather the dearth of buyers that stoked the panic. Following up on this observation, we show that three different liquidity measures that aim at quantifying the presence of buyers (or sellers) are highly correlated and correctly predict the amplitude of potential crashes. Whereas two of them are direct probes of the prevailing liquidity but difficult to access on financial markets, the third one—which is also firmly anchored theoretically [18]—only uses readily available, public information on traded volumes and volatility, and is therefore a promising candidate for monitoring the propensity of a market to crash.
Results
Anatomy of April 10, 2013 crash
Amongst all crashes that happened on the Bitcoin and for which we found some data, the April 10, 2013 crash is probably the most interesting one since on that day the price dropped by more than 50% of its value in a few hours. At that time, MtGox was by far the leading exchange (its market share was over 80% on the BTC/USD spot market) so our data-set captures a large fraction of the investors’ behaviour. Intuitively, the main driver of market crashes is the mismatch between the aggregate market order flow imbalance (, defined below) that becomes strongly negative and the prevailing liquidity on the buy side, i.e. the density of potential buyers below the current price. Whereas the former quantity can be easily reconstructed from the series of trades, the notion of “prevailing liquidity” is only at best ambiguous. It is only when the price starts heading down, that one expects most of the interested buyers to declare themselves and post orders in the order book. Therefore, the liquidity cannot in principle be directly inferred from the information on the publicly available order book. The dynamic nature of liquidity has been clearly evidenced [19, 20], and has led to the notion of “latent” liquidity that underpins recent theories of impact in financial markets [18, 21–23].
However, Bitcoin is quite an exceptional market in this respect, since a large fraction of the liquidity is not latent, but actually posted in the order book—possibly resulting from less strategic participants on a still exotic market—and thus directly observable (see Fig 1). A more quantitative analysis indeed shows that typically 30 − 40% of the volume traded during the day is already present in the order book in the morning. This is to be compared with a ratio below 1% on more traditional financial markets, say stocks (the total volume in the order book of major stocks is 5–10 times the volume at the best quotes, which is itself ∼ 10−3 of the daily turnover, see e.g. [24]). This allows us to test in detail the respective roles of aggregate imbalance and liquidity in the triggering of market crashes. We first study the “aggressive” order flow defined as the aggregated imbalance of market orders for every 4 hours window between January 2013 and August 2013. In fact, two definitions are possible. One is defined as the average of the signed number of Bitcoin contracts sent as market orders (i.e. orders to trade immediately at the best available price) where each i is a different market order of sign ϵ i (ϵ i = +1 for buyer-initiated trades and −1 for seller-initiated trades) and number of contracts q i, and the sum runs over consecutive trades in a 4 hour window. The second is the volume imbalance expressed in USD: where p i is the i-th transaction price. These two quantities are shown in Fig 2 and reveal that (a) large sell episodes are more intense than large buy episodes; (b) when expressed in Bitcoin, the sell-off that occurred on April, 10 (of order of 30,000 BTC on a 4h window) is not more spectacular than several other sell-offs that happened before or after that day; (c) however, when expressed in USD, the April 10 sell-off indeed appears as an outlier.
The difference between and originates from the fact that a large fraction of this selling activity occurred at the peak of the “bubble” that preceded the crash, see Fig 3, top. The BTC price rose from $13 in early January to $260 just before the crash. In Fig 3, we represent a “support” level such that the total quantity of buy orders between and the current price p t is 40,000 BTC, see Fig 1. One notices that the price dramatically departed from the support price during the pre-crash period, which is a clear sign that Bitcoin price was engaged in a bubble. Although the liquidity expressed in USD was actually increasing during that period (see Fig 3, middle), the BTC price increased even faster, resulting in a thinner and thinner liquidity on the buy side of the order book expressed in BTC, see Fig 3, bottom. This scenario is precisely realised in some Agent Based Models of markets [25].
The conclusion of the above analysis, that may appear trivial, is that the crash occurred because the price was too high, and buyers too scarce to resist the pressure of a sell-off. More interesting is the fact that the knowledge of the volume present in the order book allows one to estimate an expected price drop of ≈ 50% in the event of a large—albeit not extreme—sell-off. Of course, the possibility to observe the full demand curve (or a good approximation thereof) is special to the Bitcoin market, and not available in more mainstream markets where the publicly displayed liquidity is only of order 1% of the total daily traded volume. Still, as we show now, one can built accurate proxies of the latent liquidity using observable quantities only, opening the path to early warning signs of an impeding crash.
Three definitions of “liquidity”
More formally, the market liquidity measure discussed above is defined as:
Definition 1 The order-book liquidity (on the buy side) is such that (cf. Fig 1 above):
(1) |
(and similarly for the sell-side). In the above equation, p t is the price at time t and ρ(p, t) is the density of demand that is materialised on the order book at price p and at time t.
Conversely, the price drop −ϕ*p t expected if a large instantaneous sell-off of size Q* occurs is such that:
(2) |
where is a measure of illiquidity.
An a posteriori comparison between realised returns and the liquidity-adjusted imbalance for the 14 most extreme negative returns that have occurred between Jan 1, 2013 and Apr 10, 2013 is shown in Fig 4. These events, which corresponds to dramatic jumps in the cumulated order flow process, are found to have a characteristic scale of about 4h with a standard deviation of 2.5h, justifying the choice made in Fig 2 to plot imbalances at a 4h time scale. The analysis shows that the quantity nearly perfectly matches crashes amplitudes, vindicating the hypothesis that most of the liquidity is indeed present in the visible order book for the Bitcoin.
However, as recalled above, the visible order book on standard financial markets usually contains a minute fraction of the real intentions of the agents. Therefore the use of deduced from the observable order book would lead to a tremendous underestimation of the liquidity in these markets [19, 26]. Liquidity is in fact a dynamic notion, that reveals itself progressively as a reaction (possibly with some lag) to the incoming order flow [19, 20]. Another definition of liquidity, that accounts for the progressive appearance of the latent liquidity as orders are executed, is based on a measure of market impact. With enough statistics, the average (relative) price move I(Q) = 〈Δp/p〉 induced by the execution of a meta-order (i.e. a sequence of individual trades generated by the same trading decision but spread out in time, so as to get a better price and/or not to be detected [21]) can be measured as a function of their total volume Q. Since these meta-orders are executed on rather long time scales (compared to the transaction frequency), it is reasonable to think that their impact reveals the “true” latent liquidity of markets [18, 21–23]. This leads us to a second definition of liquidity, based on market impact:
Definition 2 The impact liquidity is defined as the volume of a meta-order that moves, on average, the price p t by ±ϕp t, or, more precisely, is fixed by the condition:
(3) |
since the impact I(Q) is usually measured in relative terms. As above, the price drop expected if a large sell-off of volume imbalance Q* occurs is simply given by .
The problem with this second definition is that it requires proprietary data with sufficient statistics, available only to brokerage firms or to active asset managers/hedge funds. It turns out to be also available for Bitcoin [27]—see below. However, a very large number of empirical studies in the last 15 years have established that the impact of meta-orders follows an extremely robust “square-root law” [21, 22, 27–35]. Namely, independently of the asset class, time period, style of trading and micro-structure peculiarities, one has:
(4) |
where Y is an a-dimensional constant of order unity, V d is the daily traded volume and σ d is the daily volatility. This square-root law has now been justified theoretically by several authors, building upon the notion of latent liquidity [18, 21–23] (see Ref. [36] for an alternative story). Assuming that the above functional shape of market impact is correct leads to a third definition of liquidity:
Definition 3 The theoretical liquidity is the theoretical volume of a meta-order required to move the price p t by ±ϕp t according to formula Eq (4) above, i.e.:
(5) |
Together with Eq (4), this amounts to consider as a measure of market illiquidity. Clearly, since both σ d and V d can be estimated from public market data, this last definition of liquidity is quite congenial. It was proposed in Ref. [37] as a proxy to obtain impact-adjusted marked-to-market valuation of large portfolios, and tested in Ref. [32] on five stock market crashes, with very promising results. However, there is quite a leap of faith in assuming that our above three definitions are—at least approximately—equivalent. This is why the Bitcoin data is quite unique since it allows one to measure all three liquidities and test quantitatively that they do indeed reveal the very same information.
Comparing the liquidity measures
We measured the order book liquidity at the daily scale by averaging the volume present at all prices in the buy side of the order book for each day. The empirical impact is obtained following Ref. [27] by measuring the full I(Q), obtained as an average over all meta-orders of a given volume Q on a given day. Finally, the theoretical impact Eq (4) is obtained by measuring both the traded volume of the day V d and the corresponding volatility σ d (defined as where O t/H t/L t/C t are the open/high/low/close prices of the sub-periods [38]). The daily scale has been chosen so as to average out market noise and intraday patterns in the measure of and , while remaining reactive to liquidity fluctuations: Fig 3 indeed shows how much liquidity can fluctuate in a few days.
These three estimates allow us to compare, as a function of time (between November 2012 and November 2013) the expected price drop for a large sell meta-order of size—say—Q* = 40,000 BTC, see Fig 5. We have rescaled by a constant factor the predictions based on and , so as to match the average levels. The agreement is quite striking, and shown in a different way in Fig 6 as a scatter plot of vs or , either on the same day, or with a one day lag. As coinciding times, the R 2 of the regressions are ≈ 0.86 and only fall to ≈ 0.83 with a day lag, meaning that one can use past data to predict the liquidity of tomorrow. As a comparison, when using instead Amihud’s [39] measure of illiquidity σ d/V d, one obtains R 2 of resp. 0.74 and 0.71.
That the estimates based on and match is no surprise since the square-root law was already tested with a high degree of precision on the Bitcoin [27]. But that the theoretical measure of liquidity based on easily accessible market data is able to track so closely the information present in the whole order book is truly remarkable, and suggests that one can indeed faithfully use on markets where reliable information on the latent order book is absent (as is the case for most markets).
Discussion
Thanks to the unique features of the Bitcoin market, we have been able to investigate some of the factors that determine the propensity of a market to crash. Two main features emerge from our study. First, the price level should lie within a range where the underlying demand (resp. supply) is able to support large—but expected—fluctuations in supply (resp. demand). When the price is clearly out of bounds (for example the pre-April 2013 period for Bitcoin) the market is unambiguously in a precarious state that can be called a bubble. Our main result allows one to make the above idea meaningful in practice. We show that three natural liquidity measures (based, respectively, on the knowledge of the full order book, on the average impact of meta-orders, and on the ratio of the volatility to the square-root of the traded volume, ) are highly correlated and do predict the amplitude of a putative crash induced by a given (large) sell order imbalance.
Since the latter measure is entirely based on readily available public information, our result is quite remarkable. It opens the path to a better understanding of crash mechanisms and possibly to early warning signs of market instabilities. However, while we claim that the amplitude of a potential crash can be anticipated, we are of course not able to predict when this crash will happen—if it happens at all. Still, our analysis motivates better dynamical risk evaluations (like value-at-risk), impact adjusted marked-to-market accounting [37] or liquidity-sensitive option valuation models. As a next step, a comprehensive study of the correlation between the realised crash probability and on a wider universe of stocks—expanding the work of Ref. [32]—would be a highly valuable validation of the ideas discussed here.
Acknowledgments
We thank A. Tilloy for his insights on the Bitcoin and for reading the manuscript; P. Baqué for reading the manuscript; and J. Bonart for useful discussions.
Data Availability
Bitcoin trades data are available at http://api.bitcoincharts.com/v1/csv/. DOI of Bitcoin order book data: 10.5061/dryad.325ts.
Funding Statement
The authors have no support or funding to report.
References
- 1. Shiller RJ. Sharing Nobel honors, and agreeing to disagree. New York Times. 2013;26. [Google Scholar]
- 2. Taleb NN. The black swan: The impact of the highly improbable fragility. Random House; 2010. [Google Scholar]
- 3. Mackay C. Extraordinary Popular Delusions and the Madness of Crowds. Start Publishing LLC; 2012. [Google Scholar]
- 4. Kindleberger C, Aliber R. Manias, Panics and Crashes: a History of Financial Crises. Palgrave Macmillan; 2011. [Google Scholar]
- 5. Sornette D. Why Stock Markets Crash: Critical Events in Complex Financial Systems. Princeton University Press; 2009. [Google Scholar]
- 6. Reinhart C, Rogoff K. This Time is Different: Eight Centuries of Financial Folly. princeton university press; 2009. [Google Scholar]
- 7.Fair R. Events that shook the market. 2000;.
- 8.Joulin A, Lefevre A, Grunberg D, Bouchaud JP. Stock price jumps: news and volume play a minor role. Arxiv. 2008; http://arxiv.org/abs/0803.1769
- 9. Cornell B. What moves stock prices: Another look. The Journal of Portfolio Management. 2013;39(3):32–38. 10.3905/jpm.2013.39.3.032 [DOI] [Google Scholar]
- 10. Cutler D, Poterba J, Summers L. What moves stock prices? The Journal of Portfolio Management. 1989;15(3):4–12. 10.3905/jpm.1989.409212 [DOI] [Google Scholar]
- 11. Smith V, Suchanek G, Williams A. Bubbles, crashes, and endogenous expectations in experimental spot asset markets. Econometrica: Journal of the Econometric Society. 1988; p. 1119–1151. 10.2307/1911361 [DOI] [Google Scholar]
- 12. Lillo F, Farmer JD. The key role of liquidity fluctuations in determining large price changes. Fluctuation and Noise Letters. 2005;5(02):L209–L216. 10.1142/S0219477505002574 [DOI] [Google Scholar]
- 13. Hommes C, Sonnemans J, Tuinstra J, Van de Velden H. Coordination of expectations in asset pricing experiments. Review of Financial Studies. 2005;18(3):955–980. 10.1093/rfs/hhi003 [DOI] [Google Scholar]
- 14. Bouchaud JP. Crises and collective socio-economic phenomena: simple models and challenges. Journal of Statistical Physics. 2013;151(3-4):567–606. 10.1007/s10955-012-0687-3 [DOI] [Google Scholar]
- 15. Nakamoto S. Bitcoin: A peer-to-peer electronic cash system. Consulted. 2008;1(2012):28. [Google Scholar]
- 16. Ali R, Barrdear J, Clews R, Southgate J. The economics of digital currencies. Bank of England Quarterly Bulletin. 2014; p. Q3. [Google Scholar]
- 17. Böhme R, Christin N, Edelman BG, Moore T. Bitcoin. Journal of Economic Perspectives, Forthcoming. 2014; p. 15–015. [Google Scholar]
- 18.Donier J, Bonart J, Mastromatteo I, Bouchaud JP. A fully consistent, minimal model for non-linear market impact. SSRN. 2014; http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2531917
- 19. Weber P, Rosenow B. Order book approach to price impact. Quantitative Finance. 2005;5(4):357–364. 10.1080/14697680500244411 [DOI] [Google Scholar]
- 20. Bouchaud JP, Kockelkoren J, Potters M. Random walks, liquidity molasses and critical response in financial markets. Quantitative finance. 2006;6(02):115–123. 10.1080/14697680500397623 [DOI] [Google Scholar]
- 21. Toth B, Lempérière Y, Deremble C, de Lataillade J, Kockelkoren J, Bouchaud JP. Anomalous price impact and the critical nature of liquidity in financial markets. Phys Rev X. 2011;1:021006. [Google Scholar]
- 22. Mastromatteo I, Toth B, Bouchaud JP. Agent-based models for latent liquidity and concave price impact. Physical Review E. 2014;89(4):042805 10.1103/PhysRevE.89.042805 [DOI] [PubMed] [Google Scholar]
- 23. Mastromatteo I, Toth B, Bouchaud JP. Anomalous impact in reaction-diffusion models. Physical Review Letters. 2014;113:268701 10.1103/PhysRevLett.113.268701 [DOI] [PubMed] [Google Scholar]
- 24.Wyart M, Bouchaud JP, Kockelkoren J, Potters M, M. Vettorazzo, M. Relation between Bid-Ask Spread, Impact and Volatility in Double Auction Markets Quantitative Finance, 8, 41–57 (2008).
- 25. Giardina I, Bouchaud JP. Bubbles, crashes and intermittency in agent based market models. The European Physical Journal B-Condensed Matter and Complex Systems. 2003;31(3):421–437. [Google Scholar]
- 26. Sandås P. Adverse selection and competitive market making: Empirical evidence from a limit order market. Review of Financial Studies. 2001;14(3):705–734. 10.1093/rfs/14.3.705 [DOI] [Google Scholar]
- 27.Donier, J, Bonart, J. A million metaorder analysis of market impact on the Bitcoin. SSRN. 2014; http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2536001
- 28. http://www.barra.com/newsletter/nl168/mim4-168.asp.
- 29. Almgren R, Thum C, Hauptmann E, Li H. Direct estimation of equity market impact. Risk. 2005;18:5752. [Google Scholar]
- 30. Moro E, Vicente J, Moyano L, Gerig A, Farmer JD, Vaglica G, et al. Market impact and trading profile of hidden orders in stock markets. Physical Review E. 2009;80(6):066102 10.1103/PhysRevE.80.066102 [DOI] [PubMed] [Google Scholar]
- 31. Bladon A, Moro E, Galla T. Agent-specific impact of single trades in financial markets. Physical Review E. 2012;85(3):036103 10.1103/PhysRevE.85.036103 [DOI] [PubMed] [Google Scholar]
- 32.Kyle AS, Obizhaeva AA. Large bets and stock market crashes. In: AFA 2013 San Diego Meetings Paper; 2012.
- 33. Bershova N, Rakhlin D. The non-linear market impact of large trades: Evidence from buy-side order flow. Quantitative Finance. 2013;13(11):1759–1778. 10.1080/14697688.2013.861076 [DOI] [Google Scholar]
- 34. Gomes C, Waelbroeck H. Is market impact a measure of the information value of trades? Market response to liquidity vs. informed metaorders. Quantitative Finance. 2014;(ahead-of-print):1–21. [Google Scholar]
- 35.Brokmann X, Kockelkoren J, Bouchaud JP. Slow decay of impact in equity markets. SSRN. 2014; http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2471528
- 36. Farmer JD, Gerig A, Lillo F, Waelbroeck H. How efficiency shapes market impact. Quantitative Finance. 2013;13(11):1743–1758. 10.1080/14697688.2013.848464 [DOI] [Google Scholar]
- 37. Caccioli F, Bouchaud J, Farmer D. Impact-adjusted valuation and the criticality of leverage. Risk. 2012;. [Google Scholar]
- 38. Garman M, Klass M. On the estimation of security price volatilities from historical data. Journal of business. 1980; p. 67–78. 10.1086/296072 [DOI] [Google Scholar]
- 39. Amihud Y. Illiquidity and stock returns: cross-section and time-series effects. Journal of financial markets. 2002;5(1):31–56. 10.1016/S1386-4181(01)00024-6 [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
Bitcoin trades data are available at http://api.bitcoincharts.com/v1/csv/. DOI of Bitcoin order book data: 10.5061/dryad.325ts.