scieee AI-readable full text Open interactive document viewer

Cryptocurrencies, gold, and WTI crude oil market efficiency: A dynamic analysis based on the adaptive market hypothesis

Mirzaee Ghazani, Majid,Jafari, Mohammad Ali

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Mirzaee Ghazani, Majid; Jafari, Mohammad Ali Article Cryptocurrencies, gold, and WTI crude oil market efficiency: A dynamic analysis based on the adaptive market hypothesis Financial Innovation Provided in Cooperation with: Springer Nature Suggested Citation: Mirzaee Ghazani, Majid; Jafari, Mohammad Ali (2021) : Cryptocurrencies, gold, and WTI crude oil market efficiency: A dynamic analysis based on the adaptive market hypothesis, Financial Innovation, ISSN 2199-4730, Springer, Heidelberg, Vol. 7, Iss. 1, pp. 1-26, https://doi.org/10.1186/s40854-021-00246-0 This Version is available at: https://hdl.handle.net/10419/237260 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/ Cryptocurrencies, gold, andWTI crude oil market efficiency: adynamic analysis based ontheadaptive market hypothesis Majid Mirzaee Ghazani* and Mohammad Ali Jafari Introduction The substantial growth of cryptocurrencies has attracted considerable attention from investors and policymakers in recent years. As of June 5, 2019, this growth topped 2216 cryptocurrencies in market capitalization and volume of trade, and the top three coins, Bitcoin, Ethereum, and Ripple, together accounted for more than 70 percent of the market share (Cryptocurrency Market Capitalizations 2019). One of the critical issues yet to be analyzed is whether the dynamic behavior of cryptocurrencies is predictable, which would be inconsistent with the efficient market hypothesis (EMH), according to which prices should follow a random walk (see Fama 1970). Long-memory techniques can be applied for this purpose. In the meantime, numerous studies have provided evidence of the persistent behavior of asset prices (see Caporale etal. 2016)1 and have also found that this behavior varies over time, but few studies have focused on the cryptocurrency market. One of the few exceptions is the work of Bouri etal. (2016), who discovered long memory properties in the volatility of Bitcoin. Abstract This study examined the evolving oil market efficiency by applying daily historical data to the three benchmark cryptocurrencies (Bitcoin, Ethereum, and Ripple), gold, and West Texas Intermediate (WTI) crude oil. The data coverage of daily returns was from August 2015 to April 2019. We applied two alternative tests to examine linear and nonlinear dependency, i.e., automatic portmanteau and generalized spectral tests. The analysis of observed results validated the adaptive market hypothesis (AMH) in all markets, but the degree of adaptability between the data was different. In this study, we also analyzed the existence of evolutionary behavior in the market. To achieve this goal, we checked the results by applying the rolling-window method with three different window lengths (50, 100, and 150 days) on the test statistics, which was consistent with the findings of AMH. Keywords: Adaptive market hypothesis, Market efficiency, Cryptocurrency, Evolutionary, Rolling windows Open Access © The Author(s), 2021. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http:// creat iveco mmons. org/ licen ses/ by/4. 0/. RESEARCH Ghazaniand Jafari Financ Innov (2021) 7:29 https://doi.org/10.1186/s40854-021-00246-0 Financial Innovation *Correspondence: [email protected] Department of Industrial Engineering, K. N. Toosi University of Technology, Tehran, Iran 1 In this regard, we refer to some studies that have analyzed the financial markets through different aspects and methods (e.g., Kou etal. 2014, 2019; Chao etal. 2019). Page 2 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 Most of the existing studies concerning market efficiency in financial assets have accepted weak-form efficiencies (see Fama 1970). The notion of efficient financial markets is a well-established topic in finance and economics. The concept of market efficiency was discussed over the past five decades since Fama (1970) first introduced the renowned EMH concept. In earlier years of analyzing the market efficiency; it focused on stochastic processes of asset price fluctuations. The reasoning behind market efficiency was that asset prices in an efficient market should follow a random-walk process because all available information about the prices was already mirrored in the asset price. Therefore, asset prices could not be forecasted based on a recent series of data. Thus, gathering information in an efficient market would not be effective because new information would immediately change its price. Grossman and Stiglitz (1980) argued that a perfect market is unfeasible because if prices expressed all available information, traders would have no incentive to obtain costly information. In other words, if a market shows weak-form efficiency, then returns are not forecastable and must be independent of each other (Fama 1970). In contrast, if prices are forecastable and dependent, traders can utilize them to obtain abnormal profits. Several papers have shown that asset prices do not accompany random walks and that price fluctuations are forecastable (Fama and French 1988). Diverse trading strategies can be utilized based on these forecasted variances in returns (Jegadeesh and Titman 1993). This finding has caused a burgeoning of literature to scrutinize the viability of the EMH notion in different countries (see Opong etal. 1999; Borges 2010). These studies have applied statistical tests to assess whether a market is efficient over some predetermined periods with the result that market efficiency can be used under all-or-nothing circumstances. A dispute exists between recent literature and EMH because studies have found that market oddities do exist as returns have a dependent feature (see Shahid and Mehmood 2015). These studies have demonstrated that the stock exchanges have some abnormal profits. A theoretical approach has confirmed this dispute, as Grossman and Stiglitz (1980) debated that it is impracticable for a capital market to be perfectly efficient because investors would have no advantage to obtain costly information if markets were efficient and profit-making opportunities were not available. Regarding the aspect of the impossibility of a perfectly efficient market, Campbell etal. (1997) suggested relative efficiency rather than perfect efficiency, which causes an oscillation from testing the market’s efficiency from an all-or-nothing condition to evaluate it over the period. Moreover, these findings and recently developed empirical literature have indicated that market efficiency changes over time (see Lim and Brooks 2011). These studies have challenged the viability of the EMH and suggest that it does not regularly hold. This continued debate about the EMH has been furthered by reasoning from behavioral finance specialists about the central assumption of the EMH (the rationality perspective of investors). Furthermore, Lo (2004) expanded on behavioral biases based on Simon’s (1955) concept of bounded rationality. Bearing in mind the sociological attitude of the EMH argument, an alternative approach may be required rather than the standard deductive method of neoclassical economics, which is bounded by rationality. A new approach was suggested by Farmer and Lo (1999), and Farmer (2002) applied evolutionary concepts to financial markets. Lo (2005) disputed that moving to a state of equilibrium was neither Page 3 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 likely to happen nor assured at any point in the future periods. Undoubtedly, it is erroneous to assume that the market has to adjust its position toward a stable equilibrium state or a perfect efficiency. Alternatively, the new paradigm (suggested in follows), offers more sophisticated market dynamics, such as cycles, crashes, trends, bubbles, and other developments in the financial market, resulting in market inefficiency (Lo 2005). On this subject, Lo (2004) proposed the concept of the adaptive market hypothesis (AMH) to assert that market efficiency and inefficiencies coexist in a reasonably consistent manner. Moreover, the AMH permits market efficiency to oscillate over time and does not suggest an all-or-nothing arrangement. The AMH borrows from the notion of evolution in biology and bounded rationality (Simon 2000) and debates that, by rational entities, the processes of competition, learning, and natural selection push prices to approach their efficient values. As market participants adjust to an evolving environment, they count on heuristics to build their investment choices. The AMH offers an essential theoretical foundation to bring together behavioral models with EMH to explain the anomalies. Note that numerous examples indicate the breaches of rationality that conflict with market efficiency (e.g., overconfidence, loss aversion, mental accounting, overreaction, and other behavioral biases). As long as there may be arbitrage opportunities in the market, these anomalies would disappear as they are detected and used by the market participants, and new opportunities may arise. These conducts are consistent with an evolutionary model of individuals adapting to a changing environment through simple heuristics. In addition, the occurrences that alter financial market situations (e.g., crashes, bubbles) influence participants’ psychological process in the market through which they absorb the new information into prices (Charles etal. 2012). Considering these arguments, in this study, we assessed the market efficiency’s evolutionary behavior in regard to selected cryptocurrencies, gold, and West Texas Intermediate (WTI) oil prices in the AMH framework. We selected gold and WTI crude oil along with cryptocurrencies for the following reasons: In the finance literature, different roles have been expressed for gold, including a surrogate currency, a hedging tool against inflation, and a safe-haven asset, as well as its use in achieving greater risk diversification in investors’ portfolios. These factors have received increased attention from policymakers, portfolio investors, and risk managers. Another asset that investors are usually interested in is crude oil, which is an essential commodity that also has been commonly used to hedge against economic risks. The rise of commodity financialization since 2005 (Lei etal. 2019; Chen etal. 2018; Tang and Xiong 2012) and the impact of oil price changes on the real economy and financial markets have been investigated extensively in the literature (Hamilton 1996; Jones and Kaul 1996; Kilian and Park 2009). In addition, WTI crude oil is a benchmark in this area and is also a critical component in most energy and commodity indices in financial markets. Literature review A critical implication of the AMH is that individual preferences adjust over time, and accordingly, the risk premia are likewise time-varying. This phenomenon brings in a testable hypothesis that the autocorrelation in return series has a time-varying structure Page 4 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 and is conditioned to the financial market’s circumstance (Kim etal. 2011; Baur etal. 2012). Identical results for the AMH are expressed in the framework of other asset markets, such as energy derivatives (Hall etal. 2017), foreign exchange (Charles etal. 2012), and real estate investment trust (REIT; Zhou and Lee 2013). Noda (2016) analyzed the AMH in Japanese stock markets (TOPIX and TSE2) and measured the degree of market efficiency by applying a time-varying model. The obtained results showed that (1) the degree of market efficiency changed over time in the two markets, (2) the level of market efficiency of the TSE2 was lower than that of the TOPIX in most periods, and (3) the evolving behavior was recognizable in the market efficiency of the TOPIX index, but that of the TSE2 was not. Finally, the findings backed the AMH for the more qualified stock market (TOPIX) in Japan. Numapau Gyamfi (2018) analyzed the return predictability of two stock indices (the GSEFSII and the GSEALSH) on the Ghana stock market. This study analyzed results from a return series in 2011–2015 by applying the generalized spectral (GS) test, the wild-bootstrapped automatic variance ratio test, and the automatic portmanteau (AP) Box–Pierce test. The obtained results showed that the GSEALSH index was more foreseeable than the GSEFSII index in all of the tests. Moreover, the author concluded that his findings were consistent with the AMH. Some of the recent research has focused on analyzing the market efficiency of cryptocurrencies, and benchmark financial assets and interconnections have been stated. Urquhart (2016) studied the Bitcoin market from its beginnings in 2010 to mid-2016 and suggested that the market was inefficient, but it moved closer toward efficiency in time. Nadarajah and Chu (2017) disputed these results and concluded that the market was, in fact, efficient. Bariviera (2017) applied the detrended fluctuation analysis (DFA) method to check dependence properties of the Bitcoin price and found a trend toward efficiency and that the volatility of Bitcoin had long-term memory throughout the sample period. Wei (2018) evaluated the connection between liquidity and market efficiency in 456 different cryptocurrencies. His work showed that Bitcoin returns showed signs of efficiency, but several cryptocurrencies still displayed inefficiency in their prices. Moreover, the results of this study indicated that liquidity played a vital role in the market efficiency and return predictability of new cryptocurrencies. Caporale etal. (2018) examined the market efficiency in the cryptocurrency market by checking data persistence. They applied the four leading cryptocurrencies (Bitcoin, Litecoin, Ripple, and Dash) over the sample period, i.e., 2013–2017. Their findings suggested that this market showed persistence and that its degree fluctuated over time. Therefore, based on the predictability of data, they inferred that the market was inefficient, and traders could attain abnormal profits in this situation. Khuntia and Pattanayak (2018) evaluated the AMH and return predictability in the Bitcoin market. They applied two different methods to capture time-varying linear and nonlinear dependence in Bitcoin returns. Their finding was that the market efficiency changed with time and confirmed the AMH in the Bitcoin market. Kristoufek (2018) examined the efficiency of two Bitcoin markets and their evolving behavior over time. They applied the efficiency index of Kristoufek and Vosvrda (2013), which involved numerous types of (in)efficiency measures. Their study’s notable finding was that there was strong evidence of both Bitcoin markets remaining mostly inefficient Page 5 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 between 2010 and 2017 with the exceptions of several periods (after the observation of a bubble-like price increase). Zhang etal. (2018) verified the issue of informational efficiency in the cryptocurrency market by evaluating nine forms of cryptocurrencies (i.e., Bitcoin, Ripple, Ethereum, NEM, Stellar, Litecoin, Dash, Monero, and Verge) according to efficiency tests. The empirical results in their study exhibited inefficiency in all of these cryptocurrencies markets. Corbet etal. (2018) examined the interactions between three well-known cryptocurrencies and various other financial assets. They found evidence of the relative isolation of these assets from the financial and economic assets. In addition, their results showed that cryptocurrencies may offer diversification benefits for investors with short investment horizons and that time variation in the linkages reflect external economic and financial shocks. Gajardo etal. (2018) applied multifractal adjusted detrended cross-correlation analysis (MF-ADCCA) to investigate the presence and asymmetry of the cross-correlations among the major currencies and Bitcoin, the Dow Jones Industrial Average (DJIA), the price of gold, and the crude oil market. They observed that multifractality existed in every cross-correlation studied and that there was an asymmetry in the cross-correla- tion exponents in the data. Bitcoin showed more significant multifractal spectra than the other currencies on its cross-correlation with the WTI, gold, and the DJIA. The authors concluded that Bitcoin had a different relationship with stock market indices and commodities, which should be considered when investing. Ghazani and Ebrahimi (2019) investigated the existence of the AMH by utilizing daily returns from 2003 to 2018 for three crude oils: Brent, WTI, and Organization of the Petroleum Exporting Countries (OPEC) basket. The findings indicated that the WTI and the Brent oil markets had the topmost efficiency levels. OPEC basket behavior demonstrated that by moving toward longer window lengths, the extent of compliance with AMH decreased. Jin etal. (2019) argued that in a system containing three commonly used hedging assets (i.e., Bitcoin, gold, and crude oil), they would be able to recognize which one was more informative in clarifying price oscillations. Three different methods, multifractal detrended cross-correlation analysis (MF-DCCA), information share (IS) analysis, and multivariate GARCH (MVGARCH), were utilized to reach this goal. The results illustrated that (1) the MF-DCCA suggested that multifractality existed in the cross-correla- tions among the three hedging assets, and Bitcoin was more prone to price fluctuations than gold and crude oil markets. (2) The dynamic correlations between gold and crude oil markets were almost positive, whereas those between Bitcoin and gold and between Bitcoin and oil markets were nearly negative. Kang etal. (2019) utilized wavelet coherence and dynamic conditional correlations (DCCs) to analyze the hedging and diversification properties of Bitcoin prices in regard to gold futures. They examined whether the bubble patterns in gold futures prices could be utilized to hedge against the same behavior in the Bitcoin market in the short-term, and vice versa. They also examined whether each could be employed to manage and hedge the overall market and the sector downside risk of the other asset or commodity. The wavelet coherence results indicated a relatively high degree of comovement across Page 6 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 the 8- to 16-week frequency band between Bitcoin and gold futures prices for the 2012– 2015 time period. Noda (2020) investigated whether the market efficiency of selected cryptocurrencies (Bitcoin and Ethereum) changed over time based on the AMH. He measured the extent of market efficiency by applying a time-varying model that did not have any type of dependency upon sample size, unlike prior studies that utilized common approaches. The empirical findings indicated that (1) the extent of market efficiency fluctuated with time in the markets, (2) the level of Bitcoin’s market efficiency was higher than that of Ethereum over most of the periods, and (3) a market with high market liquidity was evolving. Generally, the findings supported the AMH for the most well-established cryptocurrency market. Tran and Leirvik (2020) applied a method to quantify the level of market efficiency, the so-called adjusted market inefficiency magnitude (AMIM; see Tran and Leirvik 2019). They showed that the level of market efficiency in the five largest cryptocurrencies was highly time-varying. Their study noted two reasons for this phenomenon. First, by applying a longer sample than previous studies and, second, by implementing a robust measure of efficiency, they were able to determine directly whether the efficiency was significant. They concluded that Litecoin was the most efficient cryptocurrency, and Ripple was the least efficient one. Tripathi etal. (2020) investigated the AMH for 21 major global market indices for 1998–2018. They employed quantile-regression methodology to scrutinize the market efficiency of 16 financial markets. The findings showed that the returns in higher quantiles were negatively autocorrelated, and those in lower quantiles were positively autocorrelated. In general, market efficiency seemed to be time-varying and conditioned to the state of the market. Moreover, the analysis suggested significant evidence supporting the AMH for a considerable number of financial markets. Varghese and Madhavan (2020) investigated the long memory dynamics in crude oil markets from an AMH perspective. In doing so, they selected the three benchmark crude oils, namely, WTI, Brent, and Dubai crude prices, for a rolling Hurst exponent analysis. Their findings showed the WTI market to be the most efficient, followed by the Brent and Dubai markets. Furthermore, by applying an extensive dataset of more than 36years, they realized crude oil markets to be efficient most of the time and to be interposed only with transitory and short-lived periods of market inefficiency. This study’s main contributions are as follows: First, we tested the AMH on benchmark cryptocurrencies and gold and WTI crude oil to analyze the return predictability of the data by employing well-known linear and nonlinear statistical techniques. These techniques could distinguish any time-varying serial dependence in the conditional mean, support an unidentified form of conditional heteroskedasticity, and confirm the fluctuating conduct of efficiency. Second, we implemented a "rolling sample" approach with different window lengths of time instead of an appointed event approach (which is usually faced with criticism). The remainder of this study is organized as follows: “Methodology” section cites the methodology of the study. “Data and summary statistics” section shows the data and relevant descriptive analysis. The analysis of the research results is given in “Analysis of the empirical results” section, and finally, “Conclusion” section concludes the study. Page 7 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 Methodology The generalized spectral test The GS test (Escanciano and Velasco 2006) is a nonparametric test used to detect the presence of linear and nonlinear dependencies in a stationary time series. The GS test contemplates dependence at all lags; this test statistic is robust to conditional heteroscedasticity and is also reconcilable against a family of uncorrelated nonmartingale series. Some analysts, such as Charles etal. (2012), have conducted Monte Carlo tests to analyze contrasts among small sample properties of other tests following the martingale difference hypothesis (MDH). They concluded that the GS test showed greater power under nonlinear dependence and had more empirical power than other tests; therefore, the GS test is a powerful test for returns predictability. We pursued the GS test as applied in Lazăr etal. (2012): Let Yt be a stationary return time series. According to the MDH, returns are not forecastable. Hence, Yt is a martingale difference sequence when we cannot forecast its value in the future. We examined the null hypothesis of a martingale difference sequence of the return series against the alternative hypothesis by applying a pairwise method: Let ϕ θ  y = E  (Yt − µ)e ixY t−θ  be a nonlinear gauge of conditional mean dependence, where y∈R . The exponential weighting function is utilized to determine the conditional mean dependence in a nonlinear time series. Consequently, the previous null hypothesis is consistent with ϕθ y =0 for all θ≥1 . Escanciano and Velasco (2006) applied the following GS distribution function: The sample estimate of H turns into where ˆϕθ= (n − θ) −1n t=1+θ Y t− Y n−θ e ixY t −θ and √(1−θ/n) is a sample finite correction factor. Therefore, the GS distribution function under the null of MDH evolves into H ψ,y = ϕ 0 y ψ . This test emanated from the difference between ˆ H ψ,y  and ˆ H 0  ψ,y  = ϕ 0  y ψ , as follows: We applied the Cramer-von Mises norm in Eq.(4) to examine the distance of Sn ψ,y  to zero for all potential values of ψ and y : H 0:mθ  y  =0 for all θ≥1;mθ  y  =E[Yt−µ ] H1: P  mθ  y t− θ  �= 0>0for some θ ≥ 1. (1) H ψ,y  =ϕ0  y  ψ+2 ∞  θ=1 ϕθ  y  [sin(θπψ)/θπ];ψ∈[0, 1] . (2) ˆ H ψ,y  =ϕ0  y  ψ+2 n−1  θ=1  (1−θ/n)ˆϕθ  y  sin (θπψ) θπ , (3) S n  ψ,y  =n  2  ˆ H  ψ,y  −ˆ H0  ψ,y  = n−1  θ=1 (n−θ)ˆϕθ  y √ 2 sin (θπψ) θπ , Page 8 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 where the weighting function W(·) fulfills any moderate conditions. If the standard normal cumulative distribution function is considered to be a weighting function, the following test statistic D2 n results: The null hypothesis of the martingale difference hypothesis is rejected when the values of D2 n are substantial. The p values of the test statistic D2 n are captured by the procedure presented in Escanciano and Velasco (2006). Accordingly, the p value of the test statistic is estimated as the proportion of D∗2 n , which is higher than D2 n . This test statistic is a bootstrap approximation of D2 n , which is specified in the work of Escanciano and Velasco (2006). Automatic portmanteau test To adapt to the conditional heteroscedasticity generally exhibited by financial returns, Lobato etal. (2001) altered the AP test developed by Box and Pierce (1970) as follows: Yt represents the returns of financial time series, and ˆτ 2 θ= 1 n−θ n t=1+θ Y t− Y 2 (Y t− θ − Y) 2 is the autocovariance of Yt . Furthermore, k is the optimal lag order endorsed based on the Akaike information criterion (AIC) and the Bayesian information criterion (BIC). The AP test is characterized as follows: The AP is a data-dependent test that selects the optimal lag (through information criteria) and is robust to heteroscedasticity; its usage requires no wild bootstrap. The automatic portmanteau (AQ) statistic asymptotically trails the Chi-square distribution with one degree of freedom under the null hypothesis of no return predictability. Data andsummary statistics We conducted a statistical analysis of the data. The data included daily prices for three benchmark cryptocurrencies (i.e., Bitcoin, Ethereum, and Ripple) as well as data for one of the benchmark crude oils (WTI) and gold prices. The information for cryptocurrencies was acquired from Coinmetrics.io, and the data spanned the period from August 7, 2015, to April 23, 2019. Additionally, the daily returns were determined as percentages according to a logarithmic difference in prices: rt=(lnpt−lnpt−1)∗100 . (4) D 2 n=∫ R 1 ∫ 0   Sn  ψ,y   2W  dy  dψ= n−1  θ=1 (n−θ)1 (θπ)2∫ R   ˆϕθ  y   2W  dy , (5) D 2 n= n−1  θ=1 (n−θ) (θπ)2 n  t=θ+1 n  s=θ+1 (Yt−Yn−θ)  Ys−Yn−θ  exp−1 2(Yt−θ−Ys−θ)2 . (6) Q ∗ k=n k  θ=1 ˜ρ2 θ;˜ρ2 θ=ˆγ2 θ ˆ τ2 θ . (7) AQ∗ ˆ k=n ˆ k  θ=1 ˜ρ 2 θ Page 15 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 intervals (Figs.9, 10), this trend was apparent in the last observations, and as shown in Fig.10, the market remained inefficient within the 150-day window. 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 23 45 67 89 111 133 155 177 199 221 243 265 287 309 331 353 375 397 419 441 463 485 507 529 551 573 595 617 639 661 683 705 727 749 771 793 815 837 859 881 903 925 947 969 991 101 3 103 5 105 7 107 9 110 1 11 23 11 45 11 67 11 89 Fig. 10 The evolving p values of the AQ test statistic checked for the Ethereum (ETH) in 150-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346 369 392 415 438 461 484 507 530 553 576 599 622 645 668 691 714 737 760 783 806 829 852 875 898 921 944 967 990 101 3 103 6 105 9 108 2 110 5 112 8 115 1 117 4 119 7 122 0 124 3 126 6 128 9 Fig. 11 The evolving p values of the AQ test statistic checked for the Ripple (XRP) in 50-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346 369 392 415 438 461 484 507 530 553 576 599 622 645 668 691 714 737 760 783 806 829 852 875 898 921 944 967 990 10 13 10 36 10 59 10 82 11 05 11 28 11 51 11 74 11 97 12 20 12 43 Fig. 12 The evolving p values of the AQ test statistic checked for the Ripple (XRP) in 100-day window length Page 16 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 Ripple With precise attention given to the behavior of Ripple’s data shown in Fig.11, it can be seen that in the 50days, the market efficiency experienced a notable fluctuation, which was more visible in the movement of early observations. By shifting to longer time intervals (Figs.12, 13), it was evident that the level of the market efficiency improved so that the condition of the market4 changed from a relatively inefficient state to an efficient state in the initial observations. As shown in Fig.13, the market fluctuated between efficient and inefficient conditions, and ultimately, in a dampening process, it moved toward an inefficient state. Gold By examining the results obtained for gold, we found that by increasing the length of the time window, a definite pattern in the p values emerged, which is shown in the Figs.14, 15 and 16. By increasing the time window (from 50 to 150days), this behavior can be observed as a W-shaped pattern. This form of behavior was traceable from the initial values of observations to the middle values that became highly volatile in this stage and then again repeated the same pattern as in the first phase (i.e., pattern of the p values formed a W shape). In this situation, however, the period that the market remained in an inefficient state and then moved into more efficient states was more extended, which is visible in Fig.16. 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 23 45 67 89 111 133 155 177 199 221 243 265 287 309 331 353 375 397 419 441 463 485 507 529 551 573 595 617 639 661 683 705 727 749 771 793 815 837 859 881 903 925 947 969 991 10 13 10 35 10 57 10 79 11 01 11 23 11 45 11 67 11 89 Fig. 13 The evolving p values of the AQ test statistic checked for the Ripple (XRP) in 150-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 18 35 52 69 86 103 120 137 154 171 188 205 222 239 256 273 290 307 324 341 358 375 392 409 426 443 460 477 494 511 528 545 562 579 596 613 630 647 664 681 698 715 732 749 766 783 800 817 834 851 868 885 902 919 936 953 Fig. 14 The evolving p values of the AQ test statistic checked for the Gold in 50-day window length 4 In the 150-day window. Page 17 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 WTI As time intervals increased (Figs.17, 18, 19), the market behavior changed from the central part of the observations. The market inefficiency emerged mainly in the middle section of the observations, accompanied by excessive fluctuations (see Fig.19). Moreover, the last part of the observations pointed to the market’s movement toward the inefficient state, which is consistent with most of the other research data results. 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241 257 273 289 305 321 337 353 369 385 401 417 433 449 465 481 497 513 529 545 561 577 593 609 625 641 657 673 689 705 721 737 753 769 785 801 817 833 849 865 881 897 Fig. 15 The evolving p values of the AQ test statistic checked for the Gold in 100-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241 257 273 289 305 321 337 353 369 385 401 417 433 449 465 481 497 513 529 545 561 577 593 609 625 641 657 673 689 705 721 737 753 769 785 801 817 833 849 Fig. 16 The evolving p values of the AQ test statistic checked for the Gold in 150-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241 257 273 289 305 321 337 353 369 385 401 417 433 449 465 481 497 513 529 545 561 577 593 609 625 641 657 673 689 705 721 737 753 769 785 801 817 833 849 865 Fig. 17 The evolving p values of the AQ test statistic checked for the WTI in 50-day window length Page 18 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 Evaluation oftheresults based ontheGS method In the previous section, we examined the adaptive behavior of the study’s data in terms of the AMH based on a linear method (AQ test). We next evaluated this concept by applying a nonlinear method (GS test). Accordingly, we investigated the behavior of the data over time and in the form of different window lengths (50, 100, and 150days). Furthermore, we evaluated the sequence of the p values of the relevant test statistic, which indicated changes in the level of market efficiency. The following sections provide an analysis of the results related to each set of data. Bitcoin By contemplating p values, we verified the high degree of adaptation of the results with the AMH concept. Therefore, we witnessed a particular behavior in the market5 through the slowdown of inefficiency over time and a rolling back toward a more efficient state. This behavior was detectable over the entire length of the observations. The intensity of the market swing was higher at some times, which is visible in Fig.20. In addition, by increasing the window range, we found that the number of observations that led to the rejection of the test’s null hypothesis decreased, and somehow, the market conditions moved toward a more efficient state. This feature is well illustrated by comparing Figs.20, 21 and 22. 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 16 31 46 61 76 91 106 121 136 151 166 181 196 211 226 241 256 271 286 301 316 331 346 361 376 391 406 421 436 451 466 481 496 511 526 541 556 571 586 601 616 631 646 661 676 691 706 721 736 751 766 781 796 811 826 Fig. 18 The evolving p values of the AQ test statistic checked for the WTI in 100-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 15 29 43 57 71 85 99 113 127 141 155 169 183 197 211 225 239 253 267 281 295 309 323 337 351 365 379 393 407 421 435 449 463 477 491 505 519 533 547 561 575 589 603 617 631 645 659 673 687 701 715 729 743 757 771 Fig. 19 The evolving p values of the AQ test statistic checked for the WTI in 150-day window length 5 In the 50-day window. Page 19 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 Ethereum An examination of the results for Ethereum concerning the GS test statistics (Figs.23, 24, 25) indicated that, despite the verification of the AMH, the direction of market movement tended toward an inefficient state, primarily by increasing the length of the time window. We witnessed a situation in the 150-day time window (particularly in the early and middle of the observations) in which the market was sustained in its existing condition, and the intensity of the changing market direction was diminished. 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346 369 392 415 438 461 484 507 530 553 576 599 622 645 668 691 714 737 760 783 806 829 852 875 898 921 944 967 990 10 13 10 36 10 59 10 82 11 05 11 28 11 51 11 74 11 97 12 20 12 43 12 66 12 89 Fig. 20 The evolving p values of the GS test statistic checked for the Bitcoin (BTC) in 50-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346 369 392 415 438 461 484 507 530 553 576 599 622 645 668 691 714 737 760 783 806 829 852 875 898 921 944 967 990 10 13 10 36 10 59 10 82 11 05 11 28 11 51 11 74 11 97 12 20 12 43 Fig. 21 The evolving p values of the GS test statistic checked for the Bitcoin (BTC) in 100-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 23 45 67 89 111 133 155 177 199 221 243 265 287 309 331 353 375 397 419 441 463 485 507 529 551 573 595 617 639 661 683 705 727 749 771 793 815 837 859 881 903 925 947 969 991 10 13 10 35 10 57 10 79 11 01 11 23 11 45 11 67 11 89 Fig. 22 The evolving p values of the GS test statistic checked for the Bitcoin (BTC) in 150-day window length Page 20 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 Ripple The obtained results for the p values of Ripple (Figs.26, 27, 28) showed that an increase in the length of the study’s time window did not have a considerable effect on the changing behavior in the market in terms of efficiency. Nevertheless, we still observed an evolutionary manner in the results, which confirmed the concept of AMH. 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346 369 392 415 438 461 484 507 530 553 576 599 622 645 668 691 714 737 760 783 806 829 852 875 898 921 944 967 990 10 13 10 36 10 59 10 82 11 05 11 28 11 51 11 74 11 97 12 20 12 43 12 66 12 89 Fig. 23 The evolving p values of the GS test statistic checked for the Ethereum (ETH) in 50-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 23 45 67 89 111 133 155 177 199 221 243 265 287 309 331 353 375 397 419 441 463 485 507 529 551 573 595 617 639 661 683 705 727 749 771 793 815 837 859 881 903 925 947 969 991 101 3 103 5 105 7 107 9 110 1 112 3 114 5 116 7 118 9 121 1 123 3 Fig. 24 The evolving p values of the GS test statistic checked for the Ethereum (ETH) in 100-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 23 45 67 89 111 133 155 177 199 221 243 265 287 309 331 353 375 397 419 441 463 485 507 529 551 573 595 617 639 661 683 705 727 749 771 793 815 837 859 881 903 925 947 969 991 10 13 10 35 10 57 10 79 11 01 11 23 11 45 11 67 11 89 Fig. 25 The evolving p values of the GS test statistic checked for the Ethereum (ETH) in 150-day window length Page 21 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 Gold A review of the data for gold suggested that the changing market directions, from moving toward an efficient state or moving away from it, could be understood by separating the observations into three distinct parts. As shown in Figs.29, 30 and 31, p values 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346 369 392 415 438 461 484 507 530 553 576 599 622 645 668 691 714 737 760 783 806 829 852 875 898 921 944 967 990 101 3 103 6 105 9 108 2 110 5 112 8 115 1 117 4 119 7 122 0 124 3 126 6 128 9 Fig. 26 The evolving p values of the GS test statistic checked for the Ripple (XRP) in 50-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346 369 392 415 438 461 484 507 530 553 576 599 622 645 668 691 714 737 760 783 806 829 852 875 898 921 944 967 990 10 13 10 36 10 59 10 82 11 05 11 28 11 51 11 74 11 97 12 20 12 43 Fig. 27 The evolving p values of the GS test statistic checked for the Ripple (XRP) in 100-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 23 45 67 89 111 133 155 177 199 221 243 265 287 309 331 353 375 397 419 441 463 485 507 529 551 573 595 617 639 661 683 705 727 749 771 793 815 837 859 881 903 925 947 969 991 10 13 10 35 10 57 10 79 11 01 11 23 11 45 11 67 11 89 Fig. 28 The evolving p values of the GS test statistic checked for the Ripple (XRP) in 150-day window length Page 22 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 declined, and once again, an increasing trend initiated and then descended. This behavior confirmed the concept of AMH, which was visible in the form of the 150-day window. WTI The observed results for WTI (Figs.32, 33, 34) in many cases were similar to the results for gold. This behavior was visible in the market’s changing direction from the 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 18 35 52 69 86 10 3 12 0 13 7 15 4 17 1 18 8 20 5 22 2 23 9 25 6 27 3 29 0 30 7 32 4 34 1 35 8 37 5 39 2 40 9 42 6 44 3 46 0 47 7 49 4 51 1 52 8 54 5 56 2 57 9 59 6 61 3 63 0 64 7 66 4 68 1 69 8 71 5 73 2 74 9 76 6 78 3 80 0 81 7 83 4 85 1 86 8 88 5 90 2 91 9 93 6 95 3 Fig. 29 The evolving p values of the GS test statistic checked for the Gold in 50-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241 257 273 289 305 321 337 353 369 385 401 417 433 449 465 481 497 513 529 545 561 577 593 609 625 641 657 673 689 705 721 737 753 769 785 801 817 833 849 865 881 897 Fig. 30 The evolving p values of the GS test statistic checked for the Gold in 100-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241 257 273 289 305 321 337 353 369 385 401 417 433 449 465 481 497 513 529 545 561 577 593 609 625 641 657 673 689 705 721 737 753 769 785 801 817 833 849 Fig. 31 The evolving p values of the GS test statistic checked for the Gold in 150-day window length Page 23 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 efficient to inefficient state and vice versa. Altering the time window did not influence the overall market situation in terms of efficiency. Note that the results in “Analysis of 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241 257 273 289 305 321 337 353 369 385 401 417 433 449 465 481 497 513 529 545 561 577 593 609 625 641 657 673 689 705 721 737 753 769 785 801 817 833 849 865 Fig. 32 The evolving p values of the GS test statistic checked for the WTI in 50-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 16 31 46 61 76 91 106 121 136 151 166 181 196 211 226 241 256 271 286 301 316 331 346 361 376 391 406 421 436 451 466 481 496 511 526 541 556 571 586 601 616 631 646 661 676 691 706 721 736 751 766 781 796 811 826 Fig. 33 The evolving p values of the GS test statistic checked for the WTI in 100-day window length 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1 15 29 43 57 71 85 99 113 127 141 155 169 183 197 211 225 239 253 267 281 295 309 323 337 351 365 379 393 407 421 435 449 463 477 491 505 519 533 547 561 575 589 603 617 631 645 659 673 687 701 715 729 743 757 771 Fig. 34 The evolving p values of the GS test statistic checked for the WTI in 150-day window length Page 24 of 26 Ghazaniand Jafari Financ Innov (2021) 7:29 the empirical results” section, in which the number of p values that rejected the null hypothesis was computed, confirmed this finding. Conclusion This study scrutinized the evolving efficiency by utilizing daily historical data for the three benchmark cryptocurrencies (Bitcoin, Ethereum, and Ripple), gold, and WTI crude oil. To assess any variation in market efficiency and check the market’s evolving behavior over time, we applied a rolling-sample technique with diverse window lengths that was consistent with AMH implications. We applied two alternative tests to examine linear and nonlinear dependency, which included AQ and GS. We analyzed the obtained results from two aspects: First, we focused on each market’s overall condition in terms of efficiency and degree of conformity with the AMH. Second, we examined the evolving behavior of each market by moving toward longer window lengths (e.g., from 50 to 150days). Considering these results, the observed behavior in all markets indicated verification of the AMH, but the degree of adaptability of the data was different. According to the AQ test statistic, which was a linear method, we observed that the degree of adaptation of Bitcoin with respect to the AMH concept was relatively trivial (in other words, the change in market direction from an efficient state to an inefficient state and vice versa was insignificant). Gold returns, however, represented a greater degree of conformity with the AMH. Furthermore, concerning the achieved results of the GS test, which was a nonlinear method, we found that the level of adaptability of WTI with AMH was relatively insignificant. In contrast, Ethereum showed a more compatible manner from an evolutionary perspective with respect to market efficiency. Another aspect of the study was to analyze the existence of evolutionary behavior in the market. To achieve this goal, we checked the results by applying a rolling-win- dow method with three different window lengths (50, 100, and 150days) to the test statistics. When we increased the window length for each set of data, the market’s behavior (in terms of efficiency) changed. For example, at a significance level of 10% and based on the AQ test, the market efficiency of Ethereum improved slowly as the window length increased. For the GS test results at the same level of significance, we found that the market changed over two different periods (from 50 to 100 and 100 to 150days) for gold and Bitcoin. Thus, in the period of 50–100days, we observed market distances during the efficient conditions; however, as the window length increased from 100 to 150days, the situation improved slightly. Abbreviations AQ: Automatic portmanteau; GS: Generalized spectral; AMH: Adaptive market hypothesis; EMH: Efficient Market hypothesis; MDH: Martingale difference hypothesis; AIC: Akaike information criterion; BIC: Bayesian information criterion; ADF: Augmented Dickey–Fuller; PP: Phillips–Perron. Acknowledgements Not applicable. Authors’ contributions MMG: Conceptualization, investigation, methodology, formal analysis, visualization, writing the original draft; MAJ: Calculation, review, editing and made suggestions to improve the quality of the manuscript. All authors read and approved the final manuscript.