This paper is the first of a series of short articles that explore the efficiency of major cryptocurrency markets. A number of statistical tests and properties of statistical distributions will be used to assess if cryptocurrency markets are efficient, and how their efficiency changes over time. In this paper, we analyze autocorrelation of returns in major cryptocurrency markets using the following methods: Pearson's autocorrelation coefficient of different orders, Ljung-Box test, and first-order Pearson's autocorrelation coefficient in a rolling window. All experiments are conducted on the BTC/USD, ETH/USD, ETH/BTC markets on Bitfinex exchange, and the XBT/USD market on Bitmex exchange, each on 5-minute, 1-hour, 1-day, and 1-week time frames. The results are represented visually on charts. Statistically significant autocorrelation is persistently present on the 5m and 1H time frames on all markets. The tests disagree on the 1D and 1W time frames. The results of this article are fully reproducible. Used datasets, source code, and a runnable Jupyter Notebook are available on GitHub.
Impact of the COVID-19 pandemic on the financial market efficiency of price returns, absolute returns, and volatility increment: Evidence from stock and cryptocurrency markets
In this paper we extend the known methodology for fitting stable distributions to the multivariate case and apply the suggested method to the modelling of daily cryptocurrency-return data. The investigated time period is cut into 10 non-overlapping sections, thus the changes can also be observed. We apply bootstrap tests for checking the models and compare our approach to the more traditional extreme-value and copula models.
The year 2017 saw the rise and fall of the crypto-currency market, followed by high variability in the price of all crypto-currencies. In this work, we study the abrupt transition in crypto-currency residuals, which is associated with the critical transition (the phenomenon of critical slowing down) or the stochastic transition phenomena. We find that, regardless of the specific crypto-currency or rolling window size, the autocorrelation always fluctuates around a high value, while the standard deviation increases monotonically. Therefore, while the autocorrelation does not display signals of …
Since the introduction of Bitcoin in 2009, the dramatic and unsteady evolution of the cryptocurrency market has also been driven by large investments by traditional and cryptocurrency-focused hedge funds. Notwithstanding their critical role, our understanding of the relationship between institutional investments and the evolution of the cryptocurrency market has remained limited, also due to the lack of comprehensive data describing investments over time. In this study, we present a quantitative study of cryptocurrency institutional investments based on a dataset collected for 1324 currencies …
Cryptocurrency markets have many of the characteristics of 20th century commodities markets, making them an attractive candidate for trend following strategies. We present a decade of evidence from the infancy of bitcoin, showcasing the potential investor returns in cryptocurrency trend following, 255% walkforward annualised returns. We find that cryptocurrencies offer similar returns characteristics to commodities with similar risk-adjusted returns, and strong bear market diversification against traditional equities. Code available at https://github.com/Globe-Research/bittrends.
Anticipating price developments in financial markets is a topic of continued interest in forecasting. Funneled by advancements in deep learning and natural language processing (NLP) together with the availability of vast amounts of textual data in form of news articles, social media postings, etc., an increasing number of studies incorporate text-based predictors in forecasting models. We contribute to this literature by introducing weak learning, a recently proposed NLP approach to address the problem that text data is unlabeled. Without a dependent variable, it is not possible to finetune pr…
This paper introduces new methods to study behaviours among the 52 largest cryptocurrencies between 01-01-2019 and 30-06-2021. First, we explore evolutionary correlation behaviours and apply a recently proposed turning point algorithm to identify regimes in market correlation. Next, we inspect the relationship between collective dynamics and the cryptocurrency market size - revealing an inverse relationship between the size of the market and the strength of collective dynamics. We then explore the time-varying consistency of the relationships between cryptocurrencies' size and their returns an…
We analyse tick-by-tick data representing major cryptocurrencies traded on some different cryptocurrency trading platforms. We focus on such quantities like the inter-transaction times, the number of transactions in time unit, the traded volume, and volatility. We show that the inter-transaction times show long-range power-law autocorrelations. These lead to multifractality expressed by the right-side asymmetry of the singularity spectra $f(α)$ indicating that the periods of increased market activity are characterised by richer multifractality compared to the periods of quiet market. We also s…
We test various volatility models using the Bitcoin spot price series. Our models include HIST, EMA ARCH, GARCH, and EGARCH, models. Both of our in-sample-fit and out-of-sample-forecast results suggest that GARCH and EGARCH models perform much better than other models. Moreover, the EGARCH model's asymmetric term is positive and insignificant, which suggests that Bitcoin prices lack the asymmetric volatility response to past returns. Finally, we formulate an option trading strategy by exploiting the volatility spread between the GARCH volatility forecast and the option's implied volatility. We…
Asymmetric relationship between price and volatility is a prominent feature of the financial market time series. This paper explores the price-volatility nexus in cryptocurrency markets and investigates the presence of asymmetric volatility effect between uptrend (bull) and downtrend (bear) regimes. The conventional GARCH-class models have shown that in cryptocurrency markets, asymmetric reactions of volatility to returns differ from those of other traditional financial assets. We address this issue from a viewpoint of fractal analysis, which can cover the nonlinear interactions and the self-s…
Cryptocurrencies are considered the latest innovation in finance with considerable impact across social, technological, and economic dimensions. This new class of financial assets has also motivated a myriad of scientific investigations focused on understanding their statistical properties, such as the distribution of price returns. However, research so far has only considered Bitcoin or at most a few cryptocurrencies, whilst ignoring that price returns might depend on cryptocurrency age or be influenced by market capitalization. Here, we therefore present a comprehensive investigation of larg…
Social systems are characterized by an enormous network of connections and factors that can influence the structure and dynamics of these systems. All financial markets, including the cryptocurrency market, belong to the economical sphere of human activity that seems to be the most interrelated and complex. The cryptocurrency market complexity can be studied from different perspectives. First, the dynamics of the cryptocurrency exchange rates to other cryptocurrencies and fiat currencies can be studied and quantified by means of multifractal formalism. Second, coupling and decoupling of the cr…
Social and economic systems are complex adaptive systems, in which heterogenous agents interact and evolve in a self-organized manner, and macroscopic laws emerge from microscopic properties. To understand the behaviors of complex systems, computational experiments based on physical and mathematical models provide a useful tools. Here, we perform computational experiments using a phenomenological order-driven model called the modified Mike-Farmer (MMF) to predict the impacts of order flows on the autocorrelations in ultra-high-frequency returns, quantified by Hurst index $H_r$. Three possible …
Designing profitable and reliable trading strategies is challenging in the highly volatile cryptocurrency market. Existing works applied deep reinforcement learning methods and optimistically reported increased profits in backtesting, which may suffer from the false positive issue due to overfitting. In this paper, we propose a practical approach to address backtest overfitting for cryptocurrency trading using deep reinforcement learning. First, we formulate the detection of backtest overfitting as a hypothesis test. Then, we train the DRL agents, estimate the probability of overfitting, and r…
We perform a scaling analysis on NYSE daily returns. We show that volatility correlations are power-laws on a time range from one day to one year and, more important, that they exhibit a multiscale behaviour.
The efficient market hypothesis has far-reaching implications for financial trading and market stability. Whether or not cryptocurrencies are informationally efficient has therefore been the subject of intense recent investigation. Here, we use permutation entropy and statistical complexity over sliding time-windows of price log returns to quantify the dynamic efficiency of more than four hundred cryptocurrencies. We consider that a cryptocurrency is efficient within a time-window when these two complexity measures are statistically indistinguishable from their values obtained on randomly shuf…
Time series of price returns for 80 of the most liquid cryptocurrencies listed on Binance are investigated for the presence of detrended cross-correlations. A spectral analysis of the detrended correlation matrix and a topological analysis of the minimal spanning trees calculated based on this matrix are applied for different positions of a moving window. The cryptocurrencies become more strongly cross-correlated among themselves than they used to be before. The average cross-correlations increase with time on a specific time scale in a way that resembles the Epps effect amplification when goi…
We investigate logarithmic price returns cross-correlations at different time horizons for a set of 25 liquid cryptocurrencies traded on the FTX digital currency exchange. We study how the structure of the Minimum Spanning Tree (MST) and the Triangulated Maximally Filtered Graph (TMFG) evolve from high (15 s) to low (1 day) frequency time resolutions. For each horizon, we test the stability, statistical significance and economic meaningfulness of the networks. Results give a deep insight into the evolutionary process of the time dependent hierarchical organization of the system under analysis.…
This paper proposes a governing equation for stock market indexes that accounts for non-stationary effects. This is a linear Fokker-Planck equation (FPE) that describes the time evolution of the probability distribution function (PDF) of the price return. By applying Ito's lemma, this FPE is associated with a stochastic differential equation (SDE) that models the time evolution of the price return in a fashion different from the classical Black-Scholes equation. Both FPE and SDE equations account for a deterministic part or trend, and a stationary, stochastic part as a q-Gaussian noise. The mo…
Stocks and Cryptocurrencies: Anti-fragile or Robust?
Universidad Nacional Autónoma de México(墨西哥国立自治大学);Centro de Ciencias de la Complejidad, Universidad Nacional Autónoma de México(墨西哥国立自治大学复杂性科学中心);Instituto de Matemáticas, Universidad Nacional Autónoma de México(墨西哥国立自治大学数学研究所);Departamento de Ciencias de la Computación, Instituto de Investigaciones en Matemáticas Aplicadas y en Sistemas, Universidad Nacional Autónoma de México(墨西哥国立自治大学应用数学与系统研究所计算机科学系);Instituto de Física, Universidad Nacional Autónoma de México(墨西哥国立自治大学物理研究所)
Multifractal processes are a relatively new tool of stock market analysis. Their power lies in the ability to take multiple orders of autocorrelations into account explicitly. In the first part of the paper we discuss the framework of the Lux model and refine the underlying phenomenological picture. We also give a procedure of fitting all parameters to empirical data. We present a new approach to account for the effective length of power-law memory in volatility. The second part of the paper deals with the consequences of asymmetry in returns. We incorporate two related stylized facts, skewnes…
Financial time series exhibit a number of interesting properties that are difficult to explain with simple models. These properties include fat-tails in the distribution of price fluctuations (or returns) that are slowly removed at longer timescales, strong autocorrelations in absolute returns but zero autocorrelation in returns themselves, and multifractal scaling. Although the underlying cause of these features is unknown, there is growing evidence they originate in the behavior of volatility, i.e., in the behavior of the magnitude of price fluctuations. In this paper, we posit a feedback me…
We simulate a series of daily returns from intraday price movements initiated by microstructure elements. Significant evidence is found that daily returns and daily return volatility exhibit first order autocorrelation, but trading volume and daily return volatility are not correlated, while intraday volatility is. We also consider GARCH effects in daily return series and show that estimates using daily returns are biased from the influence of the level of prices. Using daily price changes instead, we find evidence of a significant GARCH component. These results suggest that microstructure ele…
Cryptocurrency history begins in 2008 as a means of payment proposal. However, cryptocurrencies evolved into complex, high yield speculative assets. Contrary to traditional financial instruments, they are not (mostly) traded in organized, law-abiding venues, but on online platforms, where anonymity reigns. This paper examines the long term memory in return and volatility, using high frequency time series of eleven important coins. Our study covers the pre-Covid-19 and the subsequent pandemia period. We use a recently developed method, based on the wavelet transform, which provides more robust …
This research aims to demonstrate a dynamic cointegration-based pairs trading strategy, including an optimal look-back window framework in the cryptocurrency market, and evaluate its return and risk by applying three different scenarios. We employ the Engle-Granger methodology, the Kapetanios-Snell-Shin (KSS) test, and the Johansen test as cointegration tests in different scenarios. We calibrate the mean-reversion speed of the Ornstein-Uhlenbeck process to obtain the half-life used for the asset selection phase and look-back window estimation. By considering the main limitations in the market …
Financial market dynamics is rigorously studied via the exact generalized Langevin equation. Assuming market Brownian self-similarity, the market return rate memory and autocorrelation functions are derived, which exhibit an oscillatory-decaying behavior with a long-time tail, similar to empirical observations. Individual stocks are also described via the generalized Langevin equation. They are classified by their relation to the market memory as heavy, neutral and light stocks, possessing different kinds of autocorrelation functions.
An analysis of the stylized facts in financial time series is carried out. We find that, instead of the heavy tails in asset return distributions, the slow decay behaviour in autocorrelation functions of absolute returns is actually directly related to the degree of clustering of large fluctuations within the financial time series. We also introduce an index to quantitatively measure the clustering behaviour of fluctuations in these time series and show that big losses in financial markets usually lump more severely than big gains. We further give examples to demonstrate that comparing to conv…
Detection of power-law behavior and studies of scaling exponents uncover the characteristics of complexity in many real world phenomena. The complexity of financial markets has always presented challenging issues and provided interesting findings, such as the inverse cubic law in the tails of stock price fluctuation distributions. Motivated by the rise of novel digital assets based on blockchain technology, we study the distributions of cryptocurrency price fluctuations. We consider Bitcoin returns over various time intervals and from multiple digital exchanges, in order to investigate the exi…
We present some stylized facts exhibited by the time series of returns of the Mexican Stock Exchange Index (IPC) and compare them to a sample of both developed (USA, UK and Japan) and emerging markets (Brazil and India). The period of study is 1997-2011. The stylized facts are related mostly to the probability distribution func- tion and the autocorrelation function (e.g. fat tails, non-normality, volatility cluster- ing, among others). We find that positive skewness for returns in Mexico and Brazil, but not in the rest, suggest investment opportunities. Evidence of nonlinearity is also docume…
The problem of non-stationarity in financial markets is discussed and related to the dynamic nature of price volatility. A new measure is proposed for estimation of the current asset volatility. A simple and illustrative explanation is suggested of the emergence of significant serial autocorrelations in volatility and squared returns. It is shown that when non-stationarity is eliminated, the autocorrelations substantially reduce and become statistically insignificant. The causes of non-Gaussian nature of the probability of returns distribution are considered. For both stock and currency market…
We consider a few quantities that characterize trading on a stock market in a fixed time interval: logarithmic returns, volatility, trading activity (i.e., the number of transactions), and volume traded. We search for the power-law cross-correlations among these quantities aggregated over different time units from 1 min to 10 min. Our study is based on empirical data from the American stock market consisting of tick-by-tick recordings of 31 stocks listed in Dow Jones Industrial Average during the years 2008-2011. Since all the considered quantities except the returns show strong daily patterns…
Bid-ask spread is taken as an important measure of the financial market liquidity. In this article, we study the dynamics of the spread return and the spread volatility of four liquid stocks in the Chinese stock market, including the memory effect and the multifractal nature. By investigating the autocorrelation function and the Detrended Fluctuation Analysis (DFA), we find that the spread return is lack of long-range memory, while the spread volatility is long-range time correlated. Moreover, by applying the Multifractal Detrended Fluctuation Analysis (MF-DFA), the spread return is observed t…
Continuous Hidden Markov Models for Equity Returns: Heavy-Tail Emission Families and Regime-Conditional Value-at-Risk
Robert Frederick Smith School of Chemical and Biomolecular Engineering, Cornell University(康奈尔大学罗伯特·弗雷德里克·史密斯化学与生物分子工程学院);Cornell Ann S. Bowers College of Computing and Information Science, Cornell University(康奈尔大学安·S·鲍尔斯计算与信息科学学院)
We compare systematically several classes of stochastic volatility models of stock market fluctuations. We show that the long-time return distribution is either Gaussian or develops a power-law tail, while the short-time return distribution has generically a stretched-exponential form, but can assume also an algebraic decay, in the family of models which we call ``GARCH''-type. The intermediate regime is found in the exponential Ornstein-Uhlenbeck process. We calculate also the decay of the autocorrelation function of volatility.
"Code is law" is the funding principle of cryptocurrencies. The security, transferability, availability and other properties of a crypto-asset are determined by the code through which it is created. If code is open source, as it happens for most cryptocurrencies, this principle would prevent manipulations and grant transparency to users and traders. However, this approach considers cryptocurrencies as isolated entities thus neglecting possible connections between them. Here, we show that 4% of developers contribute to the code of more than one cryptocurrency and that the market reflects these …
We give a stochastic microscopic modelling of stock markets driven by continuous double auction. If we take into account the mimetic behavior of traders, when they place limit order, our virtual markets shows the power-law tail of the distribution of returns with the exponent outside the Levy stable region, the short memory of returns and the long memory of volatilities. The Hurst exponent of our model is asymptotically 1/2. An explanation is also given for the profile of the autocorrelation function, which is responsible for the value of the Hurst exponent.
This paper examines the time series properties of cryptocurrency assets, such as Bitcoin, using established econometric inference techniques, namely models of the GARCH family. The contribution of this study is twofold. I explore the time series properties of cryptocurrencies, a new type of financial asset on which there appears to be little or no literature. I suggest an improved econometric specification to that which has been recently proposed in Chu et al (2017), the first econometric study to examine the price dynamics of the most popular cryptocurrencies. Questions regarding the reliabil…
Based on 1-minute price changes recorded since year 2012, the fluctuation properties of the rapidly-emerging Bitcoin (BTC) market are assessed over chosen sub-periods, in terms of return distributions, volatility autocorrelation, Hurst exponents and multiscaling effects. The findings are compared to the stylized facts of mature world markets. While early trading was affected by system-specific irregularities, it is found that over the months preceding Apr 2018 all these statistical indicators approach the features hallmarking maturity. This can be taken as an indication that the Bitcoin market…
We present positive evidence of price stability of cryptocurrencies as a medium of exchange. For the sample years from 2016 to 2020, the prices of major cryptocurrencies are found to be stable, relative to major financial assets. Specifically, after filtering out the less-than-one-month cycles, we investigate the daily returns in US dollars of the major cryptocurrencies (i.e., Bitcoin, Ethereum, and Ripple) as well as their comparators (i.e., major legal tenders, the Euro and Japanese yen, and the major stock indexes, S&P 500 and MSCI World Index). We examine the stability of the filtered dail…
We determine the amount of information contained in a time series of price returns at a given time scale, by using a widespread tool of the information theory, namely the Shannon entropy, applied to a symbolic representation of this time series. By deriving the exact and the asymptotic distribution of this market information indicator in the case where the efficient market hypothesis holds, we develop a statistical test of market efficiency. We apply it to a real dataset of stock indices, single stock, and cryptocurrency, for which we are able to determine at each date whether the efficient ma…