1 Introduction

A recurrent theme in the nascent literature seeking to model the behavior of bitcoin prices is that such prices are neither explainable on the basis of economic fundamentals nor are they entirely rational (Balcilar et al. 2017; Bouri et al. 2017; Li and Wang 2017; Pieters and Vivanco 2017; Koutmos 2018a). Bitcoin’s unprecedented price volatility and its seemingly uncorrelated nature in relation to economic forces make it an attractive alternative asset for speculators and investors seeking to diversify their portfolios. Just in the midst of the European debt crisis, one bitcoin was worth about 13 USD (in January 2, 2013). In December 15, 2017, which was when bitcoin achieved its record high price, one bitcoin was worth over 19,600 USD—an arithmetic holding period return of well over 150,000% relative to early January of 2013! From this peak through early December 2018, bitcoin shed approximately 80% of its value before reaching another peak in June of 2019 where one bitcoin was worth over 11,800 USD. Since then, it has exhibited various significant price upswings and downswings and, currently in the midst of the global COVID-19 pandemic, one bitcoin is worth approximately 8000 USD.

This type of price volatility is exceptional compared to the return behavior of other traditional currencies and conventional asset classes and begs the question of what, or who, is driving bitcoin’s price behavior. The increasing popularity of bitcoin yet our lack of empirical understanding as to what forces drive its price variation motivates this work.

This paper seeks to empirically model bitcoin prices by developing an intertemporal regime-switching asset pricing model that characterizes the trading behaviors of heterogeneous agents who carry different attitudes and expectations about the persistence and volatility of bitcoin prices. Estimation results from experimental tests seeking to elicit heterogeneity in trading behaviors shows evidence supporting the notion that behavioral heterogeneity is a significant driver of bitcoin price behavior. This is a novel finding and departs from the conventional route taken in empirical literature thus far which seeks to regress bitcoin returns against theoretically-motivated economic or technological factors that potentially underlie its price movements (Panagiotidis et al. 2018; Aalborg et al. 2019). Given that bitcoin is such an unusual asset, it is conceivable that its microstructure characteristics are driven by investors and a clientele base that is distinct from what can be found in traditional currency markets. Since the risk aversions of such investors differs fundamentally from those of traditional investors, it is not a complete surprise that bitcoin’s value appears detached from established economic variables.

It may thus be of importance to instead focus on modeling the behavioral heterogeneity of bitcoin traders rather than relying on the usual economic factors that are familiarly reliable explanatory variables for traditional asset classes. From an econometric perspective, the asset pricing model posited herein provides a generalized and empirically tractable framework for exploring the trading behavior of mean–variance optimizers, speculators and fundamentalists, respectively. It is advantageous in that it can be applied to virtually any asset class for which price data is observable and it can accommodate an empiricist’s desired selection of fundamental variables to motivate the buying and selling behavior of fundamentalists.

As is discussed later, the underpinnings for the posited framework align with asset pricing theory whereby in the statistical absence of speculators and fundamentalists the model reduces to the intertemporal capital asset pricing model of Merton (1980). The structure of the framework nests both the Sentana and Wadhwani (1992) and Cutler et al. (1990) models to provide a generalized framework for eliciting the trading behaviors of heterogeneous agents. Nesting the models is a novel econometric approach since conventional asset pricing tests tend to model speculators only in isolation (Hou and Li 2014; Wan and Yang 2017).

An econometric innovation in the posited framework herein is that the demand function for fundamentalists depends on the extent to which fundamental factors deviate from their long-run trend. To model long-term trend trajectories in the proposed fundamental factors, the Hodrick–Prescott filtering technique is used (Hodrick and Prescott 1997). It can be shown that such deviations trigger buying and selling responses among fundamentalists.

Using daily bitcoin price data, this paper argues the following. First, that future research should consider behavioral trading patterns when attempting to explain bitcoin returns and not exclusively focus on familiar economic variables that have successfully explained the returns of conventional asset classes. Second, bitcoin returns experience regime shifts in their volatility dynamics and any statistical framework, such as ordinary least squares, which neglects to account for such shifts may yield parameter estimates that are unstable or lack robustness across random sampling periods. This latter point is the reason for the regime-shifting framework proposed herein and echoes the conclusions of Li and Wang (2017) who argue that “…it will be necessary to revisit the model (of bitcoin prices) at some future time and consider the possibility of multiple regime changes in exchange rate dynamics” (p. 59). The regime-switching framework also allows us to gauge the trading behaviors of heterogeneous agents across volatility regimes and to then make cross-regime comparisons.

In all, the findings of this paper can be summarized as follows. First, unlike findings focusing on conventional assets, such as equities or index funds (Bange 2000; Hou and Li 2014; Kinnunen 2014; Wan and Yang 2017), this paper shows that mean–variance optimizers are statistically present in driving bitcoin price movements, albeit their trading behavior is more pronounced during low bitcoin price volatility regimes. It may be the case that during relatively benign volatility periods, mean–variance optimizers are compensated in the form of expected returns per unit of conditional volatility. During high volatility regimes, however, expected returns from bitcoin are insufficient to compensate them for the exponential rise in price volatility. As is discussed further, during high volatility regimes, volatility risk, estimated from value-at-risk (VaR) and modified VaR measures, increase substantially during the high bitcoin price volatility regimes. Sharpe and modified Sharpe ratio computations also show a deterioration in risk-adjusted returns during the high volatility regime periods. This finding may be a reason why mean–variance optimizers are virtually absent during the high volatility regime.

Second, as what is found when exploring traditional asset classes, it can be shown that speculators are an important driving force behind bitcoin price movements. Their behavior is akin to the so-called ‘bandwagon effect’ whereby they buy more bitcoins when prices appreciate and sell bitcoins when prices decline. Thus, although bitcoin’s uncorrelated nature with the state of economy is alluring to investors seeking alternative assets, it is not so different in the sense that ‘bandwagon behavior’ does drive its price movements (Baur et al. 2018). The fact that experimental tests herein indicate that speculators are consistently present in both low and high bitcoin price volatility regimes serves as a cautionary note to investors. This is because when speculative pressures are highly infused within asset prices, the value of those assets can, at any time, swiftly change regardless of their fundamental or true value (Shiller 1984, 2000).

Finally, fundamentalists are shown to be a strong driving force behind bitcoin price movements in both high and low volatility regimes. Specifically, when microstructure measures which impact bitcoin’s value deviate from their long-run trajectory, they buy or sell bitcoins. Remarkably, during low volatility regimes, fundamentalists behave very much like contrarians. During the low volatility regime, when microstructure measures that have a positive impact on bitcoin’s value increase at a greater rate than their long-term trajectory, fundamentalists actually sell bitcoins. Conversely, during high volatility regimes, fundamentalists behave more like fundamentalists. Thus, during the high volatility regime, when microstructure measures that have a positive impact on bitcoin’s value increase at a greater rate than their long-term trajectory, fundamentalists buy bitcoins. Cross-regime comparisons of the findings show that fundamentalists act like contrarians during low volatility regime periods while acting more like fundamentalists during high volatility regime periods. Perhaps a reason for this behavior is that fundamentalists seek to capitalize on bitcoin returns during high volatility regimes when prices are likely to respond (more) positively to favorable movements in fundamental measures while maintaining a contrarian stance during periods of relatively stable prices.

These findings are a step in answering the question of what, or who, drives bitcoin price movements. From a theoretical perspective, they provide a reason for why the extant literature cannot decipher what factors, if any, determine bitcoin’s price movements. The findings herein encourage future research into methodologies which seek to detect behavioral trading patterns when attempting to explain bitcoin returns and not to exclusively focus on familiar economic variables that have successfully explained the returns of conventional asset classes. From an econometric perspective, the behavioral heterogeneity framework proposed herein can tractably be re-parameterized and fitted with an empiricist’s desired fundamental variables to be applied to virtually any asset with an observable price series. Finally, the findings are of importance to regulators, economists, investors and vendors who accept bitcoins because they illustrate the high degree of noise trading that is infused within bitcoin prices.

This paper focuses exclusively on bitcoin given its popularity and liquidity. To date, there are over 2000 cryptocurrencies in existence (CoinMarketCap 2020). Presently, bitcoin is the most popular cryptocurrency and the most liquid. It has a market capitalization of over 100 billion USD and represents the majority of the total market capitalization of all cryptocurrencies.

The remainder of this paper is structured as follows. Section 2 describes the bitcoin price data and fundamental measures that serve as proxies for bitcoin’s fundamental source of value. The Hodrick–Prescott filtering approach is also discussed in Sect. 2. Section 3 develops the behavioral heterogeneity framework and explains the demand behavior of each of the proposed heterogeneous agents. Section 4 discusses the Markov regime-switching model that is used to implement the behavioral heterogeneity model. The risk-return dynamics for the low and high volatility regimes are also discussed in Sect. 4. Section 5 discusses the findings. Finally, Sect. 6 provides concluding remarks.

2 Data

2.1 Bitcoin prices

To examine the extent to which heterogeneous trading behavior drives the price movements of bitcoin, this paper utilizes daily spot prices of bitcoin from April 28, 2013 until March 1, 2020 for a total of 2500 daily observations. Unlike conventional assets which trade only on weekdays, bitcoin trades on weekdays as well as weekends. This paper considers a sample range which includes weekend price data.Footnote 1

Figure 1 depicts a time series plot of daily spot prices for bitcoin (expressed in USD) for the full sample range. A sample of major events that impacted bitcoin’s value are also indicated along with a brief description. Thus far, security breaches across some of the major cryptocurrency exchanges (such as Mt. Gox, Bitfinex and Coincheck, respectively), and the Chinese government’s announcement to ban cryptocurrencies, are arguably the events that led to the highest volatility and price declines in bitcoin throughout the history which this cryptocurrency has been circulating and trading. The recent global COVID-19 pandemic may also see further declines in bitcoin’s price, as investors make a flight-to-safety and hold less volatile assets in their investment accounts.

Fig. 1
figure 1

Time series plot of bitcoin prices (in USD). This figure shows the time series plot for daily bitcoin prices (in USD) for the sample period April 28, 2013 until March 1, 2020. The vertical dashed lines numbered from (1) through (15) denote but a sample of the important socioeconomic and political events that transpired which impacted bitcoin users, exchanges and, ultimately, bitcoin prices. Their dates and the nature of the events are as follows: (1) May 14, 2013: The Department of Homeland Security obtains a seizure warrant against Mt. Gox, a bitcoin exchange based in Tokyo, Japan. (2) November 18, 2013: The US senate holds a hearing on bitcoin and digital currencies. (3) February 24, 2014: Mt. Gox suspends all trading and closes. (4) December 11, 2014: Microsoft begins accepting bitcoins. (5) January 26, 2015: Coinbase, the first regulated bitcoin exchange, opens inside US borders. (6) October 8, 2015: Gemini bitcoin exchange is launched. (7) August 2, 2016: Approximately 120,000 units of bitcoin (worth $72 million at the time) are stolen from the exchange platform Bitfinex in Hong Kong. (8) November 9, 2016: Donald Trump is elected US president. (9) April 1, 2017: Japan declares that bitcoin may be used as legal tender. (10) September 15, 2017: China’s three largest exchanges—BTC China, Huobi and OKCoin—have suspended local trading in anticipation of regulatory measures that will either stifle or altogether expunge bitcoin trading and transacting in China. (11) January 26, 2018: Coincheck, which is one of Japan’s largest cryptocurrency OTC market, is hacked and over $500 million of NEM are stolen or missing. This caused trading suspensions. (12) April 26, 2018: 17 million (out of the 21 million) bitcoins are mined. (13) September 14, 2018: Over $60 million in bitcoin and two other cryptocurrencies are stolen from Zaif (Japanese-based exchange). (14) October 18, 2019: 18 million (out of the 21 million) bitcoins are mined. (15) January 30, 2020: The World Health Organization (WHO) declared the Coronavirus (COVID-19) outbreak to be a “public health emergency of international concern.”

Events such as these also provide some support for the notion that structural breaks are inherent within the time series behavior of bitcoin returns—a feature in the data that can lead to strong time-dependence in the signs and statistical magnitudes of coefficient estimates (Thies and Molnar 2018).

As is discussed further in Sect. 4, this paper shows that bitcoin returns have distinct price volatility regimes which exhibit statistically significant differences in risk-return tradeoffs for investors. This result is also a likely reason why extant findings, such as those mentioned earlier in the introduction, cannot determine whether a set of theoretically motivated variables, economic in nature or otherwise, are significant in explaining bitcoin prices.

The relative frequency distribution of sampled daily logarithmic bitcoin returns, depicted in Fig. 2, is further informal demonstration of the large degree of dispersion in bitcoin price movements. It espouses the notion that distinct volatility regimes are inherent in the price data whereby conventional econometric tools, such as ordinary least squares, can generate unstable coefficient estimates, or, estimates that are strongly time-dependent.

Fig. 2
figure 2

Relative frequency distribution of daily logarithmic bitcoin returns. This figure shows a relative frequency distribution of daily logarithmic bitcoin returns for the sample period April 28, 2013 until March 1, 2020. The vertical axis denotes relative frequencies while the horizontal axis denotes bitcoin returns. The mean, standard deviation (S.D.), skewness (Skew.) and kurtosis (Kurt.), respectively, for logarithmic bitcoin returns over the sample period are also tabulated

2.2 Fundamental factors and Hodrick–Prescott filtering

This paper proposes a behavioral heterogeneity framework to model heterogeneous agents’ trading behavior. The framework, discussed in Sect. 3, posits the existence of three types of agents: mean–variance optimizers, speculators and fundamentalists, respectively. While mean–variance optimizers consider returns and volatility risks, speculators make trading decisions on the basis of past prices and can engage in ‘bandwagon behavior’ when they buy bitcoins during recent price increases and sell bitcoins during recent price declines. In contrast to these two agents, fundamentalists make decisions on the basis of fundamental factors that likely impact the intrinsic value of bitcoin.

Despite bitcoin having a longer history in relation to other cryptocurrencies, it is still a novel asset and it will potentially take years, with a richer data experience, to better understand its fundamental value. This notwithstanding, bitcoin traders have a large degree of publicly available data at their disposal since, as is consistent with the underlying philosophy inherent in its distributed ledger design, transparency is an important feature of bitcoin that can ensure its continued existence in the years to come (Brandvold et al. 2015).

This paper makes use of four fundamental variables that are used by traders, and which are publicly available, in order to gauge the intrinsic value of bitcoin: miners’ revenue, unique bitcoin addresses, number of transactions, and the median fee per transaction (in USD), respectively. These four factors are selected because they are important components within bitcoin’s microstructure and whereby shifts in these factors can ultimately lead to changes in bitcoin’s fundamental value.

Figure 3 shows time series plots for each of the four fundamental factors and we discuss them, in turn, here. Miners’ revenue is expressed in USD and reflects the total compensation miners receive to mine increasingly scarcer bitcoins and to verify transactions. It reflects the profitability for miners and is computed as follows: \(\left( {{\text{number of bitcoins mined per day}} + {\text{transaction fees}}} \right) * {\text{market price}}\).Footnote 2 As mining revenues increase, it indicates growing demand for miners’ services and a growing market price for bitcoin.

Fig. 3
figure 3

Time series plots of fundamental factors with Hodrick–Prescott trend lines. This figure shows time series plots for bitcoin miners’ revenue (in USD), number of unique bitcoin addresses, number of transactions involving bitcoin and the median fee per bitcoin transaction (in USD), respectively. Hodrick–Prescott trend lines (in blue) are estimated from (1) and (2). This data is updated daily and publicly available at https://www.quandl.com. More information and real-time data updates are available at https://blockchain.info (Color figure online)

Unique bitcoin addresses are identifiers that represent a unique possible destination for a bitcoin payment. From an economic perspective, there is a ‘network effect’ associated with the creation of a unique address. Specifically, bitcoin becomes a more valuable asset (or currency) when more and more people are using it and exchanging it. It is akin to, say, online social networks like Twitter and Facebook. The more members and users there are, the more useful (or valuable) the network becomes.

From a time series data analysis perspective, the number of bitcoin transactions is akin to, say, trading volume for equities. The more trade volume (or bitcoin transactions), the more liquidity there is for investors (or bitcoin users). An increasing number of transactions means that more businesses and vendors, as well as customers and investors, are adopting bitcoin as a method of transacting.

The median fee per transaction reflects the average cost for a transaction for one user (for the transfer of bitcoins from one address to another). As the number of users and transactions increases, the work of miners becomes more critical as they serve to verify transactions in a timely manner and to keep the bitcoin network efficient and usable. With more transactions and users, we expect to see higher network and transaction fees.

These four fundamental factors are important components within bitcoin’s microstructure whereby significant rises (declines) in any of these factors is generally a positive (negative) indication for the fundamental value of bitcoin. As the demand for bitcoin rises, ceteris paribus, we naturally expect to see a rise in the levels of these fundamental factors. In the behavioral heterogeneity model in Sect. 3, fundamentalists buy or sell bitcoins based on the extent to which the aforementioned fundamental factors deviate from their long-run trajectories. In order to model each fundamental factor’s trajectory, the Hodrick and Prescott (1997) filter technique is used. This technique decomposes an observed variable into its trend and cycle components, respectively. In the case of this paper, the Hodrick–Prescott filter technique is applied to each of the aforementioned four \(i\) fundamental factors, \(\text{F}_{i,t}\).Footnote 3

Given \(T\) observations of \(\text{F}_{i,t}\), the trend growth component, \(g_{t}\), can be computed as

$$\mathop {\hbox{min} }\limits_{{\left\{ {g_{t} } \right\}_{t = - 1}^{T} }} \left\{ {\mathop \sum \limits_{t = 1}^{T} \left( {\text{F}_{t} - g_{t} } \right)^{2} +\uplambda\mathop \sum \limits_{t = 1}^{T} \left[ {\left( {g_{t} - g_{t - 1} } \right) - \left( {g_{t - 1} - g_{t - 2} } \right)} \right]^{2} } \right\}$$
(1)

As the smoothness penalty \(\uplambda \to 0\), \(g_{t}\) is equivalent to the series \(\text{F}_{t}\). Conversely, when \(\uplambda \to \infty\), this method essentially becomes a regression on a linear time trend. As is discussed in Hamilton (2017), a closed-form expression for (1) can be written in vector notation whereby \(\tilde{T} = T + 2\) and \(\begin{array}{*{20}c} \text{F} \\ {\left( {T \times 1} \right)} \\ \end{array} = \left( {\text{F}_{T} , \text{F}_{T - 1} , \ldots ,\text{F}_{1} } \right)^{\prime }\). The growth component is defined as \(g = \left( {g_{T} ,g_{T - 1} , \ldots g_{ - 1} } \right)^{'}\) and, if we let \(I_{T}\) denote the \(\left( {T \times T} \right)\) identity matrix,

$$\begin{array}{*{20}c} H \\ {\left( {T \times \tilde{T}} \right)} \\ \end{array} = \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {I_{T} } \\ {\left( {T \times T} \right)} \\ \end{array} } & {\begin{array}{*{20}c} 0 \\ {\left( {T \times 2} \right)} \\ \end{array} } \\ \end{array} } \right]$$

and \(\begin{array}{*{20}c} Q \\ {\left( {T \times \tilde{T}} \right)} \\ \end{array} =\)

whereby the solution to (1) can be expressed as

$$g^{*} = \left( {H^{\prime}H +\uplambda\,Q^{\prime}Q} \right)^{ - 1} H^{\prime}\text{F} = A*\text{F}$$
(2)

The extracted trend growth component, \(g^{*}\), for a given date \(t\) is therefore a linear function of the entire set of \(\text{F}\) observable across all dates.

For each of the fundamental factors, \(\text{F}\), in Fig. 3, the Hodrick–Prescott filter is also shown and reflects the long-run growth component, or, trajectory, for each of the factors. Positive ‘shocks’ in the factors, or, (transitory) rises above their growth component, likely indicate (transitory) surges in bitcoin’s popularity as a medium of exchange and the demand for miners’ services. This translates into (transitory) rises in the fundamental value of the bitcoin network. Conversely, negative ‘shocks’ in the factors, or, (transitory) declines below their growth component, likely indicate (transitory) contractions in the fundamental value of the bitcoin network.

3 Modeling heterogeneous agents

This paper elucidates upon the forces driving bitcoin price variations by modeling the trading heterogeneity of three types of behaviorally-driven heterogeneous agents: mean–variance optimizers, speculators, and fundamentalists, respectively. The framework extends theoretically the work of Merton (1980), Shiller (1984), Cutler et al. (1990), Sentana and Wadhwani (1992), Nofsinger and Sias (1999), Guo and Ou-Yang (2014) and Zhang and Zhang (2015) in order to provide an econometric framework for modeling heterogeneity which can be applied to virtually any asset class for which prices are observable.

The first group of agents are referred to as mean–variance optimizers. They trade seeking to maximize their expected mean–variance utility (Nakamura 2015). The demand for bitcoins by mean–variance optimizers, \(MV\), is defined as

$$MV_{t} = \left[ {E_{t - 1} \left( {R_{t} } \right) - r_{f} } \right]/\left( {\theta \sigma_{t}^{2} } \right); \theta > 0 ~~ or ~~ \theta < 0$$
(3)

whereby \(MV_{t}\) is the fraction of bitcoins they hold at time \(t\). \(E_{t - 1} \left( {R_{t} } \right)\) is the expected return conditional on information available as of \(t - 1\) while \(r_{f}\) denotes the risk-free rate.Footnote 4 The coefficient of relative risk aversion is denoted by \(\theta\) and, consistent with theoretical postulations should be positive and significant to support the notion of a positive risk-return tradeoff. The conditional variance of bitcoin returns at time \(t\) is denoted by \(\sigma_{t}^{2}\). If we assume that \(\theta\) is positive, although the bitcoin price data ultimately decide the sign and significance of this coefficient, the product of \(\theta \sigma_{t}^{2}\) represents the risk premium at time \(t\). The demand for bitcoins by mean–variance optimizers is sensitive to volatility risk, \(\sigma_{t}^{2}\), whereby their demand for bitcoins rises when their expected returns, \(E_{t - 1} \left( {R_{t} } \right) - r_{f}\), also rise.

The second group of agents are referred to as speculators. Their demand for bitcoins, \(Spec\), is determined by past returns and is defined as

$$Spec_{t} = \psi \left( {R_{t - 1} - r_{f} } \right); \psi > 0 ~~ or ~~ \psi < 0$$
(4)

whereby \(Spec_{t}\) is the fraction of bitcoins they hold at time \(t\). Their behavior is speculative in the sense that it is driven solely by past returns, \(R_{t - 1}\), and whereby the coefficient \(\psi\) reveals the direction of their trading behavior. If \(\psi\) is positive, it shows that speculators are following trend-chasing, or, ‘bandwagon’ behaviors and buying during recent price increases and selling during recent price decreases. If \(\psi\) is negative, it shows they are buying during recent price decreases and selling during recent price increases.

The third group of agents are referred to as fundamentalists. Their demand for bitcoins, \(Fund\), is determined by the extent to which fundamental factors, \(\text{F}_{i}\), deviate from their respective long-run trajectories, \({\tilde{F}}_{i}\). As mentioned, there are four fundamental factors that are used; miners’ revenue, unique bitcoin addresses, number of transactions, and the median fee per transaction, respectively. Thus, for \(\text{F}_{i}\), \(i\) corresponds to these four fundamental factors, respectively, which serve as measures for bitcoin’s value. The long-run trajectory for each of the \(i\) factors, \({\tilde{F}}_{i}\), is estimated using the Hodrick–Prescott filtering procedure in (1) through (2). When \(\text{F}_{i} > {\tilde{F}}_{i}\) it indicates a positive (and favorable) ‘shock’ in the fundamental value of bitcoin, whereas when \(\text{F}_{i} < {\tilde{F}}_{i}\) it indicates a negative (and unfavorable) ‘shock’ in the fundamental value of bitcoin. To generalize, when fundamental factor \(i\), \(\text{F}_{i}\), is above its growth trend, \({\tilde{F}}_{i}\), it signifies sudden surges in the popularity of bitcoin and an unexpected growth in bitcoin’s microstructure at large.

Since fundamentalists trade in accordance with the spread between fundamental factors and their growth trajectories, their demand for bitcoins, \(Fund_{t}\), is defined as

$$Fund_{t} = \pi \left( {\text{F}_{i,t - 1} - {\tilde{F}}_{i,t - 1} } \right); \pi > 0 ~~ or ~~ \pi < 0$$
(5)

whereby \(Fund_{t}\) is the fraction of bitcoins they hold at time \(t\) and the coefficient \(\pi\) reveals the direction of their trading behavior. If \(\pi\) is positive, they behave consistent with a fundamentalist approach to trading—buying bitcoins during recent periods of positive shocks in its fundamental value and selling bitcoins during recent periods of negative shocks in its fundamental value. If, however, \(\pi\) is negative, it indicates contrarian-type behaviors whereby they sell during recent periods of unexpected increases (positive shocks) in fundamental value and buy during recent periods of unexpected decreases (negative shocks) in fundamental value.Footnote 5

For equilibrium between traders to hold in bitcoin markets, it is required that all bitcoins must be held by these three groups of heterogeneous agents,

$$MV_{t} + Spec_{t} + Fund_{t} = 1$$
(6)

If we substitute (3) through (5) into (6), we can express this alternatively as

$$\left[ {E_{t - 1} \left( {R_{t} } \right) - r_{f} } \right]/\left( {\theta \sigma_{t}^{2} } \right) + \psi \left( {R_{t - 1} - r_{f} } \right) + \pi \left( {\text{F}_{i,t - 1} - {\tilde{F}}_{i,t - 1} } \right) = 1$$
(7)

The model in (7) can be converted into a regression equation with a stochastic residual term by setting \(r_{t} = R_{t - 1} - r_{f}\) and \(r_{t} + \varepsilon_{t} = E_{t - 1} \left( {R_{t} } \right) - r_{f}\). When substituting these into (7), we have

$$r_{t} = \theta \sigma_{t}^{2} - \psi \left( {\theta \sigma_{t}^{2} } \right)\left( {r_{t - 1} } \right) - \pi \left( {\theta \sigma_{t}^{2} } \right)\left( {\text{F}_{i,t - 1} - {\tilde{F}}_{i,t - 1} } \right) + \varepsilon_{t}$$
(8)

Despite any (a)theoretical expectations, such as the coefficient \(\theta\) is positive, parameterizations in (3) through (5) do not restrict the signs of the coefficients in any way. Moreover, and as is explained in Sect. 4, this allows them to possibly take on different signs during low and high bitcoin price volatility regimes.

It is expected that \(\theta\) is positive, as this is consistent with the notion of a positive risk-return tradeoff (Merton 1980). The term \(- \psi \left( {\theta \sigma_{t}^{2} } \right)\left( {r_{t - 1} } \right)\) implies that if speculators engage in trend chasing, or, ‘bandwagon’ trading behaviors, and thus the parameter \(\psi\) is positive and significant, it induces a negative autocorrelation pattern in bitcoin returns that is proportional to the conditional variance, \(\sigma_{t}^{2}\). Trend chasing behavior during periods of high volatility leads to a relatively larger degree of negative bitcoin return autocorrelation than, say, trend chasing during periods of low volatility. Conversely, a negative sign for \(\psi\), indicating speculators buy during recent price decreases and sell during recent price increases, results in positive autocorrelation since we now have \(- \left( { - \psi \left( {\theta \sigma_{t}^{2} } \right)\left( {r_{t - 1} } \right)} \right)\). Finally, a positive sign for \(\pi\), indicating fundamentalists are trading with fundamentals (buying when there is a positive shock and selling when there is a negative shock in fundamental value) leads to a positive value for \(\pi\) and thus negative autocorrelation resulting from the term \(- \pi \left( {\theta \sigma_{t}^{2} } \right)\). Conversely, if fundamentalists trade against fundamentals (buying when there is a negative shock and selling when there is a positive shock in fundamental value) this leads to a negative value for \(\pi\) and thus positive autocorrelation resulting from now having the term \(- \left( { - \pi \left( {\theta \sigma_{t}^{2} } \right)} \right)\).

The behavioral heterogeneity framework in (8) can be recast in a simplified form and, when including a coefficient to account for autocorrelation arising from non-synchronous trading or other market frictions (Lo and MacKinlay 1990), can be expressed as

$$r_{t} = \beta_{0} + \beta_{1} \sigma_{t}^{2} + \left( {\beta_{2} + \beta_{3} \sigma_{t}^{2} } \right)\left( {r_{t - 1} } \right) + \beta_{4} \sigma_{t}^{2} \left( {\text{F}_{i,t - 1} - {\tilde{F}}_{i,t - 1} } \right) + \varepsilon_{t}$$
(9)

whereby \(\beta_{1} = \theta\) and \(\beta_{3} = - \psi \left( \theta \right)\). The constant term, \(\beta_{0}\), is included as is econometrically a convention when performing asset pricing regression tests. It serves to account for other forces or information content not subsumed in the proposed explanatory variables.Footnote 6 The autocorrelation coefficient is \(\beta_{2}\) while \(\beta_{4} = - \pi \left( \theta \right)\). Given its structure, the formulization in (9) fundamentally reduces to the Merton (1980) intertemporal capital asset pricing model in the absence of speculative traders and fundamentalists; \(\beta_{3} = \beta_{4} = 0\).

Since four fundamental factors are used to test for fundamentalists, \(\text{F}\) takes the value of each of the four factors, respectively, for each separate estimation. Each regression estimation is designated as “model 1” (when \(\text{F} =\) miners’ revenue), “model 2” (when \(\text{F} =\) unique addresses), “model 3” (when \(\text{F} =\) number of transactions), and “model 4” (when \(\text{F} =\) median fee per transaction), respectively (Koutmos 2018b). This is to distinguish between the estimations involving each of the fundamental factors and to enable cross-equation comparisons.

Finally, in order to implement (9), an estimate for the conditional variance of bitcoin returns, \(\sigma_{t}^{2}\), is needed. For this purpose, the exponential generalized autoregressive conditional heteroskedasticity (EGARCH) model of Nelson (1991) is used,

$$\ln \left( {\sigma_{t}^{2} } \right) = \delta_{0} + \delta_{1} \left| {\frac{{\varepsilon_{t - 1} }}{{\sigma_{t - 1} }}} \right| + \delta_{2} \left( {\frac{{\varepsilon_{t - 1} }}{{\sigma_{t - 1} }}} \right) + \delta_{3} { \ln }\left( {\sigma_{t - 1}^{2} } \right)$$
(10)

whereby the term \(\left| {\varepsilon_{t - 1} /\sigma_{t - 1} } \right|\) represents the absolute value of the standardized innovations. Volatility asymmetry and persistence is indicated by the coefficients \(\delta_{2}\) and \(\delta_{3}\), respectively.Footnote 7

Figure 4 shows a time series plot of the conditional variance of bitcoin returns estimated from the EGARCH in (10). The 25th, 50th (median) and 75th percentiles, respectively, are also shown and support the notion that bitcoin can experience distinct volatility regimes in its price behavior. Perhaps the most significant events that led to the most uncertainty and volatility in bitcoin prices is the hacking of the various aforementioned exchanges, the Chinese government’s ban on cryptocurrencies, and the recent COVID-19 global pandemic.

Fig. 4
figure 4

Conditional variance of daily logarithmic bitcoin returns. This figure shows the conditional variance of daily logarithmic bitcoin returns for the sample period April 28, 2013 until March 1, 2020. The conditional variance is estimated using the EGARCH model in (10). The three horizontal dashed lines (in red) denote the 25th, 50th (median) and 75th percentiles, respectively (Color figure online)

4 Analytical framework

4.1 Markov regime-switching model

It is plausible that behavioral forces in bitcoin markets can sway prices in different ways across volatility regimes. As shown in Fig. 4, periods of low versus high bitcoin price volatility can naturally trigger distinct responses by the heterogeneous agents proposed in (9). Thus, utilizing an econometric framework, such as ordinary least squares, which neglects to distinguish between price volatility regimes can lead to an incomplete picture of the impact these heterogeneous agents exert.

In empirical asset pricing, the risk-return dynamics of various asset classes are very different across their price volatility regimes. This is the consequence of volatility clustering in financial markets—an empirical stylized fact whereby periods of price tranquility are interrupted by periods of statistically persistent turbulence (Kirchler and Huber 2007). From an investor psychology point of view, trading days associated with above average uncertainty and volatility, such as the when cryptocurrency exchanges are hacked, can exert an asymmetrically more powerful affect on their trading behaviors. This is consistent with the negativity bias in economic psychology which posits asymmetrically higher risk aversion shocks in the presence of negative news, or events, than to positive ones of similar magnitude.

This paper thus empirically tests for behavioral heterogeneity using a Markov regime-switching approach. For the sake of discussing this approach, let us re-state (9) with notations indicating volatility regime states, \({\text{s}}_{\text{t}}\), as follows:

$$r_{t} = \beta_{{0,{\text{s}}_{\text{t}} }} + \beta_{{1,{\text{s}}_{\text{t}} }} \sigma_{t}^{2} + \left( {\beta_{{2,{\text{s}}_{\text{t}} }} + \beta_{{3,{\text{s}}_{\text{t}} }} \sigma_{t}^{2} } \right)\left( {r_{t - 1} } \right) + \beta_{{4,{\text{s}}_{\text{t}} }} \sigma_{t}^{2} \left( {\text{F}_{i,t - 1} - {\tilde{F}}_{i,t - 1} } \right) + \varepsilon_{t}$$
(11)

which will serve to test for behavioral trading patterns in low and high bitcoin price volatility regimes, respectively. Since bitcoin traders can behave differently in these two regimes, each of the coefficients in our behavioral heterogeneity model in (11) can thus take different values and exhibit distinct levels of significance depending on the state:

$$\begin{aligned} & {\mathbb{A}}_{{s_{t} }} = \left\{ {\begin{array}{*{20}c} {\beta_{0,1} \quad{\text{if}}\,{\text{s}}_{\text{t}} = 1} \\ {\beta_{0,2} \quad{\text{if}}\, {\text{s}}_{\text{t}} = 2} \\ \end{array} } \right.\quad {\mathbb{B}}_{{s_{t} }} = \left\{ {\begin{array}{*{20}c} {\beta_{1,1} \quad{\text{if}}\,{\text{s}}_{\text{t}} = 1} \\ {\beta_{1,2} \quad{\text{if}}\,{\text{s}}_{\text{t}} = 2} \\ \end{array} } \right. \\ & {\mathbb{C}}_{{s_{t} }} = \left\{ {\begin{array}{*{20}c} {\beta_{2,1} \quad{\text{if}}\,{\text{s}}_{\text{t}} = 1} \\ {\beta_{2,2} \quad{\text{if}}\,{\text{s}}_{\text{t}} = 2} \\ \end{array} } \right.\quad {\mathbb{D}}_{{s_{t} }} = \left\{ {\begin{array}{*{20}c} {\beta_{3,1} \quad{\text{if}}\,{\text{s}}_{\text{t}} = 1} \\ {\beta_{3,2} \quad{\text{if}}\,{\text{s}}_{\text{t}} = 2} \\ \end{array} } \right. \\ & \quad\quad\quad\quad\quad\quad{\mathbb{E}}_{{s_{t} }} = \left\{ {\begin{array}{*{20}c} {\beta_{4,1} \quad{\text{if}} {\text{s}}_{\text{t}} = 1} \\ {\beta_{4,2} \quad{\text{if}} {\text{s}}_{\text{t}} = 2} \\ \end{array} } \right. \\ \end{aligned}$$
(12)

The evolution of the unobservable state variables in (11) and (12) thus follow a two-state Markov chain:

$$\begin{aligned} & \Pr \left( {{\text{s}}_{\text{t}} = 1 | {\text{s}}_{{{\text{t}} - 1}} = 1} \right) = {\text{p}}_{11} \quad \Pr \left( {{\text{s}}_{\text{t}} = 2 | {\text{s}}_{{{\text{t}} - 1}} = 1} \right) = {\text{p}}_{12} \\ & \Pr \left( {{\text{s}}_{\text{t}} = 1 | {\text{s}}_{{{\text{t}} - 1}} = 2} \right) = {\text{p}}_{21} \quad \Pr \left( {{\text{s}}_{\text{t}} = 2 | {\text{s}}_{{{\text{t}} - 1}} = 2} \right) = {\text{p}}_{22} \\ \end{aligned}$$
(13)

whereby \({\text{p}}_{11} + {\text{p}}_{12} = {\text{p}}_{21} + {\text{p}}_{22} = 1\). The notations \({ \Pr }\left( \cdot \right)\) and \({\text{p}}\left( \cdot \right)\) respectively represent the discrete probability set and a probability density function (Hamilton 1988; Phillips 1991; Shen 1994). The estimated values for \({\text{p}}_{11}\), \({\text{p}}_{12}\), \({\text{p}}_{21}\) and \({\text{p}}_{22}\) denote respective transition probabilities from going from one regime state to another (this is discussed more in Sect. 4.2).

The Markov chain in (13) is presumed to be independent of lagged bitcoin returns if we set conditions on \({\text{s}}_{t - 1}\). Estimating (11) using this approach is akin to drawing from a mixture of two normal distributions whereby the state, \({\text{s}}_{t}\), decides which of the two normal densities are utilized to generate the model (Shen 1994). Bitcoin returns are thus assumed to switch between two states in accordance with their transition probabilities.

For simplicity, let us set \(x_{t} = \left( {1, \sigma_{t}^{2} , r_{t - 1} , \sigma_{t}^{2} *r_{t - 1} , \sigma_{t}^{2} *\left( {\text{F}_{i,t - 1} - {\tilde{F}}_{i,t - 1} } \right)} \right)\) to represent the constant and the trading behaviors of each of the heterogeneous agents which serve as independent variables in (11). In addition, let us allow \(\Phi _{{{\text{s}}_{t} }}^{'} = \left( {{\mathbb{A}}_{{s_{t} }} ,{\mathbb{B}}_{{s_{t} }} ,{\mathbb{C}}_{{s_{t} }} ,{\mathbb{D}}_{{s_{t} }} ,{\mathbb{E}}_{{s_{t} }} } \right)\) to represent the set of coefficients in (11) that are estimated by the model.

In a more compact way, the model in (11) can thus be expressed as follows:

$$r_{t + n} = x_{t}\Phi _{{{\text{s}}_{\text{t}} }} + \varepsilon_{t + n}$$
(14)

Let us furthermore denote all the information available at time \(t\) for each of the heterogeneous agents and for bitcoin returns with the capital letters \(X_{t}\) and \(Y_{t}\), respectively:

$$X_{t} = \left( {x_{1} ,x_{2} ,x_{3} , \ldots ,x_{t} } \right)^{'}$$
$$Y_{t} = \left( {y_{1} ,y_{2} ,y_{3} , \ldots ,y_{t} } \right)'$$

If we allow the parameter \(\Omega\) to denote all the unknown parameters to be estimated in (11):

$$\Omega = \left( {\beta_{0,1} ,\beta_{0,2} ,\beta_{1,1} ,\beta_{1,2} ,\beta_{2,1} ,\beta_{2,2} ,\beta_{3,1} ,\beta_{3,2} ,\beta_{4,1} ,\beta_{4,2} } \right)$$
(15)

and if we assume that the state, \({\text{s}}_{\text{t}}\), is known, we can specify the sample likelihood function conditional on a given state as follows:

$${\text{P}}\left( {y_{t} | {\text{s}}_{\text{t}} ;x_{t} ,\Omega } \right) = \left( {1/\sqrt {2\uppi \upsigma } } \right) \times { \exp }\left[ {\left( {y_{t} - x_{t}\Phi _{{{\text{s}}_{\text{t}} }} } \right)^{2} / - 2\upsigma^{2} } \right]$$
(16)

whereby searching for the value of \(\Omega\) which maximizes (16) is optimal.

The estimation for (11) through (16) consists of three parts. First, filter probabilities, \({ \Pr }({\text{s}}_{\text{t}} |Y_{t} ;X_{t} ,\Omega )\), are estimated which utilize information available up until time \(t\). Second, smooth probabilities, \({ \Pr }({\text{s}}_{\text{t}} |Y_{T} ;X_{T} ,\Omega )\), are extracted using the filter probabilities. Whereas filter probabilities utilize information up to time \(t\), smooth probabilities utilize the full data sample of ex post available information (up to time \(T\)) in order to make inferences about the historical regime states. Third, the smoothed probabilities are used in order to weight data and implement the regression (Hamilton 1990; Shen 1994). The weightings for the observations are computed as follows:

$$y_{t}^{{\left( {j,*} \right)}} = y_{t} \times \sqrt {{ \Pr }({\text{s}}_{\text{t}} = j|Y_{T} ;X_{T} ,\Omega )}$$
$$x_{t}^{{\left( {j,*} \right)}} = x_{t} \times \sqrt {{ \Pr }({\text{s}}_{\text{t}} = j|Y_{T} ;X_{T} ,\Omega )}$$
(17)

The left-hand side of (17) represents the weighted observations and with the notation * in order to distinguish between the original observations. The superscript \(j\) represents the present state.

Estimating (11) through (17) is advantageous because the risk-return dynamics of bitcoin’s price behavior can display distinct statistical properties in each of the regimes (as is discussed in Sect. 4.2). This can yield interesting insights into the trading patterns of each of the heterogeneous agents and allows for cross-regime comparisons of their behaviors.

4.2 Volatility regimes and their risk-return tradeoffs

Before discussing the estimation results of (11), from an econometric standpoint, it is essential to scrutinize the statistical properties of bitcoin returns that fall under each of the regime states, \({\text{s}}_{\text{t}}\). As mentioned, this paper entertains four fundamental factors that serve as the basis for bitcoin’s microstructure to model the behavior of fundamentalists; miners’ revenue (“Model 1”), unique addresses (“Model 2”), number of transactions (“Model 3”), and median fee per transaction (“Model 4”), respectively. Given that (11) is estimated using the Markov regime-switching approach in (12) through (17) with each of the four aforementioned fundamental factors separately, it is possible to extract four separate smoothed probabilities which, a priori, are expected to be virtually identical. The smoothed probability of state 2, \({\text{P}}\left( {{\text{s}}_{\text{t}} = 2} \right)\), which is the high volatility regime, is shown in Fig. 5 for each of the four models (that correspond with each of the four fundamental factors). Each of these four smoothed probabilities are illustrated in a stacked fashion. Their time series movements are virtually identical and, qualitatively, they uniformly identify regimes of high bitcoin price volatility.

Fig. 5
figure 5

Smoothed high volatility regime probabilities. This figure shows the time series of smoothed regime probabilities for the high bitcoin price volatility regime, \({\text{P}}\left( {{\text{s}}_{\text{t}} } \right) = 2\). These probabilities arise from estimation of the regime-switching behavioral heterogeneity framework in (11) that captures the trading behaviors of mean–variance optimizers, speculators and fundamentalists, respectively. For illustrative purposes, these regime probabilities are stacked whereby the horizontal dashed lines denote a probability of 1.00 for model 1 (in blue), model 2 (in red), model 3 (in green) and model 4 (in orange), respectively. The sample period is from April 28, 2013 until March 1, 2020 and each of the four models estimated uses a distinct fundamental factor, Ϝ, to capture the behavior of fundamentalists. The fundamental factors are miners’ total revenue (model 1), number of unique addresses (model 2), number of transactions (model 3) and median fee per transaction in USD (model 4), respectively. Time series plots of each of these fundamental factors are illustrated in Fig. 3 (Color figure online)

From Fig. 5, it is evident that state 2, the high volatility regime, occurs with relatively less frequency than state 1. However, it appears that high probabilities for state 2 cluster around certain events or time periods. This observation aligns with the notion of volatility clustering whereby large changes in an asset’s price cluster around certain time periods, despite constituting a relatively smaller proportion of the overall sample.

Although smoothed regime probabilities represent the probability of being either in state 1 (low volatility regime) or state 2 (high volatility regime), it is important to make a distinction between the relative frequency of each regime’s smoothed probability within the overall sample and the transition probabilities in (13). While the former is illustrated in Fig. 5 and shows that throughout the sample period there are more “low volatility regime” days than “high volatility regime” days, transition probabilities instead seek to answer the question, what is the probability of going from one regime state to another?

Given there are two states, there are four possibilities in terms of transitioning between low \(\left( {{\text{s}}_{\text{t}} = 1} \right)\) and high \(\left( {{\text{s}}_{\text{t}} = 2} \right)\) volatility regimes: (i) Transitioning from a low \(({\text{s}}_{{{\text{t}} - 1}} = 1)\) to a low \(({\text{s}}_{\text{t}} = 1)\) volatility regime; (ii) Transitioning from a low \(({\text{s}}_{{{\text{t}} - 1}} = 1)\) to a high \(({\text{s}}_{\text{t}} = 2)\) volatility regime; (iii) Transitioning from a high \(({\text{s}}_{{{\text{t}} - 1}} = 2)\) to a low \(({\text{s}}_{\text{t}} = 1)\) volatility regime; (iv) Transitioning from a high \(({\text{s}}_{{{\text{t}} - 1}} = 2)\) to a high \(({\text{s}}_{\text{t}} = 2)\) volatility regime.

These transition probabilities in (13) can thus be expressed in a \(2 \times 2\) transition matrix as follows:

(18)

Figure 6 shows transition probabilities for (13) after estimating (11) with the Markov regime-switching framework in (12) through (17). Four transition probability matrixes are shown—each one corresponding to the fundamental factor that is used to empirically test (11); miners’ revenue (“Model 1”), unique addresses (“Model 2”), number of transactions (“Model 3”), and median fee per transaction (“Model 4”), respectively.

Fig. 6
figure 6

Transition probabilities. This figure shows transition probabilities computed from (13) illustrated in matrix form as shown in (18). These probabilities arise from estimation of the regime-switching behavioral heterogeneity framework in (11) that captures the trading behaviors of mean–variance optimizers, speculators and fundamentalists during low (regime 1) and high (regime 2) bitcoin price volatility regime states, \({\text{s}}_{t}\), respectively. The sample period is from April 28, 2013 until March 1, 2020 and each of the four models estimated uses a distinct fundamental factor, Ϝ, to capture the behavior of fundamentalists. The fundamental factors are miners’ revenue (model 1), number of unique addresses (model 2), number of transactions (model 3) and the median fee per transaction in USD (model 4), respectively. Time series plots of each of these fundamental factors are illustrated in Fig. 3

The transition matrices for each of the four models reveal that \({\text{p}}_{11} > {\text{p}}_{12}\); the probability of going from \({\text{s}}_{{{\text{t}} - 1}} = 1\) to \({\text{s}}_{\text{t}} = 1\) \(({\text{p}}_{11} )\) ranges from 89.29% (“Model 2”) to 90.43% (“Model 1”) while the probability of going from \({\text{s}}_{{{\text{t}} - 1}} = 1\) to \({\text{s}}_{\text{t}} = 2\) \(({\text{p}}_{12} )\) ranges from 9.57% (“Model 1”) to 10.71% (“Model 2”). Likewise, inspection of the lower quadrants of the transition matrices show \({\text{p}}_{21} < {\text{p}}_{22}\). In sum, these findings support the notion of volatility clustering for bitcoin returns (and volatility regimes); in the words of Mandelbrot (1963), large changes tend to be followed by large changes, of either sign, and small changes tend to be followed by small changes. This point is also ascertained by observing the high transition probabilities of \({\text{p}}_{11}\) and \({\text{p}}_{22}\), respectively, and although in all four models \({\text{p}}_{11} > {\text{p}}_{22}\), the transition probability for \({\text{p}}_{22}\) is still quite high despite the fact that \({\text{s}}_{\text{t}} = 1\) constitutes a larger segment of the overall sample.

From the transition probabilities computed in (13), we can also estimate the durations for each of the regime states (Hamilton 1989). Estimating durations help in approximating when a current regime state is likely to end. For example, using the transition probabilities in Fig. 6 for “Model 1” (when \(\text{F} =\) miners’ revenue), the expected duration for the low volatility regime, \({\text{s}}_{\text{t}} = 1\), is \(1/\left( {1 - {\text{p}}_{11} } \right) \approx 10\) trading days while for the high volatility regime, \({\text{s}}_{\text{t}} = 2\), the expected duration is \(1/\left( {1 - {\text{p}}_{22} } \right) \approx 6\) trading days.Footnote 8 Despite constituting a significantly smaller segment of the overall sample, as shown in Fig. 5, the expected duration for the high volatility regime is more than half that of the low volatility regime—testament to the high persistence in bitcoin price volatility.

Having explored the nature of the transition probabilities, it is vital to understand the risk-return characteristics of bitcoin returns which fall under each of the two volatility regimes. Doing so provides an understanding of each regime’s investment environment and a context for the trading behaviors of the heterogeneous agents. Since we model (11) using four fundamental factors, \(\text{F}\), separately, we now have four smoothed regime probabilities as shown in Fig. 5. As mentioned, the time series in these probabilities is virtually identical in distinguishing low from high volatility regimes and, as shown in Table 1, the pairwise correlations between each of the smoothed probabilities are no less than 0.9962 in any given case and, on average, are over 0.99.

Table 1 Pairwise correlations between high volatility smoothed regime probabilities

For the purposes of quantifying the risk-return environments for each of the volatility regimes, the smoothed regime probabilities in Fig. 5 are combined by taking an equal-weighted time-series average of all four of them in order to produce a single regime probability that can serve as an indicator for regime shifts for (11). Figure 7 shows the averaged smoothed probability for the high volatility regime \(({\text{s}}_{\text{t}} = 2)\) alongside the logarithm of bitcoin prices and the logarithm of the conditional variance for bitcoin returns. These three time series in Fig. 7 show that as the averaged high volatility regime probability approaches 1.00, this corresponds with peaks in the price volatility of bitcoin returns.

Fig. 7
figure 7

Averaged high volatility regime probability. This figure shows an averaged time series for the smoothed high volatility regime probability (in grey and measured on the right axis). It is computed as an equal-weighted average of all the smoothed high volatility regime probabilities illustrated in Fig. 5 from the four models which utilize a distinct fundamental factor to capture the behavior of fundamentalist traders (models 1 through 4). The natural logarithm of the conditional price volatility of bitcoin returns, derived from the EGARCH in (10) and illustrated in levels in Fig. 4, is shown in red while the natural logarithm of bitcoin prices, illustrated in raw prices (in USD) in Fig. 1, is shown in black. The left axis here denotes natural logarithms and the sample period is from April 28, 2013 until March 1, 2020

Using the averaged smooth regime probability in Fig. 7, Table 2 reports the risk-return characteristics of the inferred low \(({\text{s}}_{\text{t}} = 1)\) and high \(({\text{s}}_{\text{t}} = 2)\) volatility regimes, respectively. In the low volatility regime, mean returns are 0.11% while in the high volatility regime mean returns are − 0.45%. Computing value-at-risk (VaR) for each of the regimes at the 95% confidence interval shows that \({\text{s}}_{\text{t}} = 2\) (with a VaR of − 17.33%) exposes investors to a higher degree of possible losses relative to \({\text{s}}_{\text{t}} = 1\). Sharpe ratio calculations show a lower return per unit of volatility risk for \({\text{s}}_{\text{t}} = 2\) relative to \({\text{s}}_{\text{t}} = 1\). If we integrate higher moment risks into the Sharpe ratio and VaR computations, it can be shown that investors in the high volatility regime are not rewarded for the incremental multifaceted risks they must absorb.Footnote 9

Table 2 Risk-return statistics of bitcoin returns across volatility regimes

In order to compute risk-return statistics while adjusting for departures from normality in the return series, which can account for crash risk (skewness) and tail risk (kurtosis), it is meaningful to estimate a modified VaR (MVaR) and modified Sharpe ratio to reflect such higher moment risks (Gregoriou and Gueyie 2003). The MVaR can be expressed as follows (using some of the same notation as the VaR in footnote (9)):

$${\text{MVaR}} = W\left[ {\mu - \{ {z_{c} + \frac{1}{6}( {z_{c}^{2} - 1} )S + \frac{1}{24}( {z_{c}^{3} - 3z_{c} } )K - \frac{1}{36}( {2z_{c}^{3} - 5z_{c} } )S^{2} } \}\sigma } \right]$$
(19)

whereby \(W\) is the value of the portfolio invested in bitcoin; \(z_{c}\) is the critical value for the probability \(\left( {1 - \alpha } \right)\) and − 1.96 for a 95% probability; \(\mu\) is the mean return for bitcoin; \(\sigma\) is the standard deviation of bitcoin returns; \(S\) is skewness of bitcoin returns; \(K\) is excess kurtosis of bitcoin returns. The skewness and kurtosis of bitcoin returns, \(R_{t}\), are defined as follows:

$$S = \frac{1}{T}\mathop \sum \limits_{t = 1}^{T} \left( {\frac{{R_{t} - \bar{R}}}{\sigma }} \right)^{3}$$
(20)
$$K = \frac{1}{T}\mathop \sum \limits_{t = 1}^{T} \left( {\frac{{R_{t} - \bar{R}}}{\sigma }} \right)^{4} - 3$$
(21)

After computing each volatility regime’s MVaR, we can then compute their modified Sharpe ratios which serve as a measure for returns per unit of higher moment risks:

$${\text{Modified Sharpe Ratio}} = \left( {R_{\text{t}} - r_{\text{f}} } \right)/{\text{MVaR}}$$
(22)

whereby \(r_{f}\) is the risk-free rate (see footnote (10)).

When comparing MVaR and modified Sharpe ratios across the two regimes, it is apparent that the risk-return tradeoff deteriorates significantly for investors when transitioning from \({\text{s}}_{\text{t}} = 1\) to \({\text{s}}_{\text{t}} = 2\). The distinct risk-return environments of the two regimes thus provide an empirical laboratory for gauging the behaviors of the heterogeneous agents in (11) and for making cross-regime comparisons.

5 Estimation results

This section estimates the behavioral heterogeneity framework in (11) using the Markov regime-switching approach outlined in (12) through (17) and discusses the empirical implications of its findings on the stock price dynamics of bitcoin. A convenient feature of the model in (11) is its tractability and that it has been formulated to examine fundamentalists’ behavior in terms of deviations between fundamental factors with their long-run trajectories. Since risk preferences, forward-looking expectations and, consequently, behavioral trading patterns, can differ between low and high regimes of bitcoin price volatility, it is also advantageous to estimate (11) using the regime-switching framework outlined herein in order to allow for agents to switch between trading behaviors, conditional on their demand functions, in order to allow for cross-regime comparisons.

Table 3 shows coefficient estimates for (11) for the low \(\left( {{\text{s}}_{\text{t}} = 1} \right)\) and high \(\left( {{\text{s}}_{\text{t}} = 2} \right)\) volatility regimes, respectively, for each of the four models corresponding with the factor, \(\text{F}\), that is used to gauge the behavior of fundamentalists; miners’ revenue (“Model 1”), unique addresses (“Model 2”), number of transactions (“Model 3”), and median fee per transaction (“Model 4”), respectively. Each of these fundamental factors serve as important components within bitcoin’s microstructure whereby rises (declines) in any of these factors is generally a positive (negative) indication for the fundamental value of bitcoin. As the demand for bitcoin rises, ceteris paribus, we naturally expect to see a rise in the levels of these fundamental factors.

Table 3 Testing for behavioral heterogeneity

The theoretical compositions of the demand functions for the heterogeneous agents bears empirical implications on the price dynamics of bitcoin. This is observable from the structure of (11) given the coefficient delineations stemming from the unsimplified model in (8); for mean–variance optimizers, \(\beta_{1} = \theta\), it is expected that rises (declines) in their demand for bitcoins leads to a positive (negative) autocorrelation pattern in bitcoin returns. Theoretically, \(\beta_{1}\) is expected to be positive and significant—consistent with the notion that investors are averse towards volatility risk and that they demand a positive risk premium to hold risky assets. In the case of speculators, \(\beta_{3} = - \psi \left( \theta \right)\), trend chasing behavior, buying when past returns are positive and selling when they are negative, is confirmable if the coefficient \(\beta_{3}\) is positive and significant. The behavior of such traders leads to a negative autocorrelation pattern in bitcoin returns. In the case of fundamentalists, \(\beta_{4} = - \pi \left( \theta \right)\), trading with fundamentals \((\text{F}_{i} > {\tilde{F}}_{i} )\) is confirmable if the coefficient \(\beta_{4}\) is positive and significant; behavior that leads to a negative autocorrelation pattern in bitcoin returns. Trading against fundamentals \((\text{F}_{i} < {\tilde{F}}_{i} )\) is akin to contrarian-type trading and leads to a positive autocorrelation pattern in bitcoin returns.

As discussed, the low volatility regime, \({\text{s}}_{\text{t}} = 1\), comprises more of the overall sample (as is shown in Figs. 5 and 7) and reflects an investment environment that is less volatile and which provides a more favorable risk-return tradeoff for investors relative to the high volatility regime, \({\text{s}}_{\text{t}} = 2\). For the low volatility regime, and for all the four models, there is consistent support for the presence of mean–variance optimizers and a positive risk premium for holding bitcoin. This is evidence of a positive risk-return tradeoff in the context of Merton (1980) and is a finding that contrasts sharply with the negative risk-return tradeoff typically observed when examining the time series returns of conventional asset classes such as equities or index funds.Footnote 10 This suggests that bitcoin returns in the low volatility regime sufficiently provide a premium to compensate risk-averse investors for its volatility risk.Footnote 11

Speculative trading pressure is unanimously observed in the low volatility regime from the coefficient \(\beta_{3}\). Its negative sign for all four of the models reveals that speculators engage in ‘bandwagon behaviors’ and buy bitcoins during recent price appreciations and sell during recent price declines. The negative sign for \(\beta_{3}\) indicates that their trading behavior leads to a negative autocorrelation pattern in bitcoin returns; recall from (8) that this type of trend chasing behavior results in a positive value for the parameter \(\psi\) and, consequently, a negative value for \(\beta_{3}\) since \(\beta_{3} = - \psi \left( \theta \right)\). The extent of the negative autocorrelation partially depends on the level of the conditional variance; this can be inferred from the term \(- \psi \left( {\theta \sigma_{t}^{2} } \right)\left( {r_{t - 1} } \right)\) from (8) which captures speculators’ demand for bitcoins and their market impact.

The positive and statistically significant sign for the coefficient \(\beta_{4}\) for the low volatility regime for Models 2 and 3, indicates that fundamentalists are trading against bitcoin fundamentals; they are buying when \(\text{F}_{i} < {\tilde{F}}_{i}\) and selling when \(\text{F}_{i} > {\tilde{F}}_{i}\). From (8), it is shown that contrarian behavior among this group of investors results in a negative value for the parameter \(\pi\) and a positive value for the coefficient \(\beta_{4}\) since \(\beta_{4} = - \pi \left( \theta \right)\). This induces a positive autocorrelation pattern in bitcoin returns; this can be inferred from the term \(- \pi \left( {\theta \sigma_{t}^{2} } \right)\left( {\text{F}_{i,t - 1} - {\tilde{F}}_{i,t - 1} } \right)\) from (8) which captures fundamentalists’ demand for bitcoins and their market impact.

The results for the high volatility regime, which is associated with a deterioration in the risk-return tradeoff relative to the low volatility regime, reveal that the trading impact of mean–variance optimizers all but dissipate; the coefficient \(\beta_{1}\) is positive and weakly significant at the 10% level for Models 1, 2 and 3, respectively. As in the low volatility regime, the high volatility regime also shows evidence of speculators (as evidenced by the coefficient \(\beta_{3}\)) who buy (sell) during recent price rises (declines).

Fundamentalists in this high volatility regime trade with fundamentals; the coefficient \(\beta_{4}\) is negative and statistically significant for all models (with the exception of “Model 3”). Thus, during this regime, they buy bitcoins when \(\text{F}_{i} > {\tilde{F}}_{i}\) and sell when \(\text{F}_{i} < {\tilde{F}}_{i}\).

The economic implications of the findings across the two regimes are as follows; first, the expected returns arising from the high volatility regime are insufficient to satisfy the risk aversions of mean–variance optimizers and to compensate for the accentuated levels of risks they are exposed to. Second, speculators are observable in both regimes; they exhibit trend chasing behavior and this serves as a cautionary note to prospective bitcoin investors and vendors because, at any time, bitcoin’s price can drastically change even in the absence of changes in its fundamentals because of herding behaviors which may or may not be purely rational. Third, fundamentalists exhibit heterogeneity in their trading behavior across regimes; their contrarian-like behavior during periods of mild price fluctuations may reflect their anticipation of a correction in bitcoin’s market price. Conversely, they trade with fundamentals during exuberant periods to capitalize on large price upswings.

6 Concluding remarks

Is bitcoin a modern-day Dutch tulip mania? Departing from broad speculative discussions and relying on empirical means to answer this question, we realize that it is too premature to soundly conclude anything. Satoshi Nakamoto, the unknown architect behind bitcoin and its reference implementation, has stated “…in a few decades when the reward gets too small (for miners), the transaction fee will become the main compensation for nodes. I am sure that in 20 years there will either be very large transaction volume or no volume…”Footnote 12

Perhaps none of us, even its creator, know the exact fate of bitcoin or cryptocurrencies at large. A good starting point in our discussions, however, is defining the forces that drive its price variations. Since bitcoin and other cryptocurrencies are a recent phenomena, we only have a few years of time series to examine, which explains why empirical research is now emerging. One of the recurrent themes of this research is that bitcoin prices appear largely detached from familiar economic variables or other sources of aggregate market risk. Any empirical discernment of statistical relations between bitcoin prices and other factors are purportedly unstable across time, leading empiricists to conclude that bitcoin prices cannot be explained or are irrational.

This paper departs from the usual route taken in empirical literature thus far which seeks to regress bitcoin returns against economic or technological factors that potentially underlie its price movements. Since bitcoin is such an unusual asset, it is conceivable that its microstructure characteristics are driven by investors and a clientele base that is inherently distinct from what is usually found in other asset classes. Since risk aversions of such investors differs from those of traditional investors, it is not a complete surprise that bitcoin’s prices appear econometrically detached from established economic variables.

Instead, this paper proposes an asset pricing model that captures the heterogeneity in the behavioral trading patterns of three types of agents: mean–variance optimizers, speculators and fundamentalists, respectively. The model allows for estimating the impacts of these investors during low and high bitcoin price volatility regimes. It shows evidence in favor of behavioral heterogeneity as a driving force of bitcoin price fluctuations. The fractions of agents engaging in one strategy over another shows variation during low and high bitcoin price volatility regimes. Speculators consistently show ‘bandwagon behaviors’ in both regimes and tend to buy during recent bitcoin price appreciations and sell during recent price declines. Their strong presence in bitcoin markets serves as a cautionary note for investors and vendors who accept bitcoins. This is because the strong speculative pressures these speculators exert can lead to large swings in prices at any given time. Finally, it is remarkable to observe the duality in the behavior of fundamentalists; during low price volatility regimes they exhibit contrarian-type behaviors while during high volatility price regimes they behave more like fundamentalists.

An econometric contribution of the framework laid forth in this paper is that it can tractably be applied to virtually any asset class for which prices are observable. The Markov regime-switching framework which implements the proposed framework allows testing for the presence of behavioral heterogeneity across volatility regimes. Doing so permits cross-regime comparisons to test whether any duality exists between trading behaviors. The demand function proposed herein for fundamentalists can also be modified by empiricists to accommodate virtually any fundamental factor which theoretically serves as a measure of fundamental value.