fig bitcoin

doi: 10.1371/journal.pone.0139356Why Do Markets Crash?Bitcoin Data Offers Unprecedented InsightsAuthor information Article notes Copyright and License information AbstractCrashes 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.IntroductionWhy 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.
reddcoin to bitcoinIn particular, the absence of any compelling way to assess the fundamental price of Bitcoins makes the behavioral hypothesis highly plausible.
bitcoin italian foundationFor our purpose, the availability of the full order book (i.e.
uk bitcoin vat

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.
bitcoin kurs schweizUsing 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.
bitcoin price api jsonWe find that what caused the crash was not the selling pressure per se, but rather the dearth of buyers that stoked the panic.
bitcoin wiki italia

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.ResultsAnatomy of April 10, 2013 crashAmongst 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–].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 ).

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.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) 𝒪B = ∑iϵiqi, 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 qi, and the sum runs over consecutive trades in a 4 hour window.

The second is the volume imbalance expressed in USD: 𝒪$ = ∑iϵiqipi, where pi is the i-th transaction price.These two quantities are shown in 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.Instantaneous cumulated order book.Order flow imbalances in USD and BTC.The difference between 𝒪B 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 , top.The BTC price rose from $13 in early January to $260 just before the crash.In , we represent a “support” level pS40k such that the total quantity of buy orders between pS40k and the current price pt is 40,000 BTC, see .

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 , 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 , bottom.This scenario is precisely realised in some Agent Based Models of markets [25].Liquidity and support price.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 ℒOB(ϕ) (on the buy side) is such that (cf.Fig 1 above): ∫pt(1-ϕ)ptdpρ(p,t):=LOB(ϕ), (and similarly for the sell-side).In the above equation, pt 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 −ϕ*pt expected if a large instantaneous sell-off of size Q* occurs is such that: ϕ*=LOB-1(Q*), where ℒOB−1 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 .

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 to plot imbalances at a 4h time scale.The analysis shows that the quantity ℒOB−1(𝒪B) nearly perfectly matches crashes amplitudes, vindicating the hypothesis that most of the liquidity is indeed present in the visible order book for the Bitcoin.Forecast of crashes amplitudes using order book volumes.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 ℒOB(ϕ) 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–].This leads us to a second definition of liquidity, based on market impact:Definition 2 The impact liquidity ℒI(ϕ) is defined as the volume of a meta-order that moves, on average, the price pt by ±ϕpt, or, more precisely, ℒI(ϕ) is fixed by the condition: II( 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 ℒI−1(Q*)=I(Q*).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, , 27–35].Namely, independently of the asset class, time period, style of trading and micro-structure peculiarities, one has: ITH(Q)≈YσdQVd, where Y is an a-dimensional constant of order unity, Vd 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–] (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 ℒTH(ϕ) is the theoretical volume of a meta-order required to move the price pt by ±ϕpt according to formula Eq (4) above, i.e.: ITHTH(.

Together with Eq (4), this amounts to consider σd/Vd as a measure of market illiquidity.Clearly, since both σd and Vd 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.paring the liquidity measuresWe measured the order book liquidity ℒOB 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 Vd and the corresponding volatility σd (defined as σd2=1T∑t=1T(0.5ln(Ht/Lt)2−(2ln(2)−1)ln(Ct/Ot)2) where Ot/Ht/Lt/Ct 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 ℒI−1 and ℒTH−1, while remaining reactive to liquidity fluctuations: 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 .We have rescaled by a constant factor the predictions based on ℒI and ℒTH, so as to match the average levels.The agreement is quite striking, and shown in a different way in as a scatter plot of ℒOB−1 vs ℒI−1 or ℒTH−1, either on the same day, or with a one day lag.As coinciding times, the R2 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/Vd, one obtains R2 of resp.parison between the three (il-)iquidity measures.Regression of the actual (il-)liquidity against the different (il-)liquidity measures.That the estimates based on ℒI and ℒTH 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 ℒTH 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 ℒTH on markets where reliable information on the latent order book is absent (as is the case for most markets).DiscussionThanks 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.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, σd/Vd) 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 σd/Vd on a wider universe of stocks—expanding the work of Ref.DOI of Bitcoin order book data: 10.5061/dryad.325ts.References.8.Joulin A, Lefevre A, Grunberg D, Bouchaud JP.Stock price jumps: news and volume play a minor role.Cornell B. . . 2013;(3):32–38.Cutler D, Poterba J, Summers L. .Smith V, Suchanek G, Williams A. . . 1988; p.Lillo F, Farmer JD.Hommes C, Sonnemans J, Tuinstra J, Van de Velden H. . . 2005;(3):955–980.