**The Crypto Bubble Index is a tool designed to help investors, economists, and social scientists
to identify and diagnose cryptocurrency asset bubbles in real-time.**

The H,Q derivative approach taken by Crypto Bubble Index was developed from an academic paper,
Generalized q-Analysis of Log-Periodicity:
Applications to Critical Ruptures by Wei-Xing Zhou and Didier Sornette.

This approach has its origins in studying critical ruptures arising in pressure storage tanks. Pressure and the
Log-Periodic Power Law Oscillations are connected. This implies the existence of some sort of pressure build-up
which occurs in cryptocurrency markets which create oscillations. But what is this pressure mechanism?

The Crypto Bubble Index, might be measuring directly orindirectly the Vernadskian “pressure of life” exerted
by individual social groups of Homo sapiens on the biosphere. This scale-free “pressure of life” exerted by
these groups of Homo sapiens on the environment builds over time, until it reaches a critical point when
the system ruptures.

A crash in wealth and a shock to economic growth occurs to relieve the pressure which inevitably results
in a depression/recession as the “pressure of life” exerted by Homo sapiens begins to find a new state.

Growth is a double edged sword, creating pressure on the biosphere while increasing the prosperity of
Homo sapiens in aggregate. However, if this pressure can be directly or indirectly measured, the
interaction between Homo sapiens and the biosphere can be engineered. It is possible that the
prosperity of Homo sapiens can be designed to increase with a simultaneous reduction in pressure
exerted on the biosphere.

The purpose of the Crypto Bubble Index is to provide investors, traders, economists, and quantitative scientists with a tool to detect and monitor crypto asset bubbles in real time.

The Crypto Bubble Index attempts to display the Log-Periodic Power Law (LPPL) Oscillation signature of traded cryptocurrencies, tokens, indices and other commodities on all time scales in a straight-forward and simple manner.

The idea relies on the emergent properties of the human societal organism. The growth and contraction of a society occurs in a fractal process which has long term memory, also know as hysteresis. In other words, an event which occurred several decades in the past may have a strong influence on current events. This is taken for granted in historical studies of the world and not considered in many modern economic theories. The far-from-equilibrium states and dissipative structures of Ilya Prigogine should also be kept in mind while considering economics.

In other words, modern economics tends to ignore political science with various un-realistic assumptions, such as rational investors, perfect competition, equilibrium states, friction-less markets, stability of the environment, and the infallibility of ruling elites. It would be interesting to see a theory of capital which predicts depressions, wars, fascism, dictatorships, dark ages, etc...

Take for example the horrific wars of the 20th century; today their outcomes currently shape the world. The creation of the state of Israel, for example, shapes current events in the Middle East; The Cold War shapes the ideology of modern generations and national conflicts more than 20 years after its end. The invention of the steam engine, AC electricity, the Internet and many other similar events still influence the present and future. Therefore, to understand the development of an economy in the time dimension, it must be decomposed into various time scales -- from several days to decades to centuries; a Fourier Transform in the language of Mathematics.

Interestingly, the Crypto Bubble Index has a subtle connection with Isaac Asimov's Foundation Series. In this series a mathematician, Hari Seldon, develops psychohistory. What is psychohistory?

Using the laws of mass action, it can predict the future, but only on a large scale; it is error-prone on a small scale. It works on the principle that the behaviour of a mass of people is predictable if the quantity of this mass is very large (equal to the population of the galaxy, which has a population of quadrillions of humans, inhabiting millions of star systems). The larger the number, the more predictable is the future.

Isaac Asimov was years ahead of his generation. Predicting the future based on mass action is perhaps possible. Perhaps in the near future we will have this ability refined. We will be able to make decisions which take into account the fractal nature of history.

The Crypto Bubble Index has attempted to make the detection of market bubbles simple and easy for the general public. The goal is to give the common investor confidence and independence by providing him/her with a powerful professional tool. Please enjoy the Crypto Bubble Index and spread the word if it has helped you to make wise financial decisions.

The Elliott Wave Principle was influential in the foundation of the Crypto Bubble Index. According to
the Elliott Wave Principle: market prices
alternate between an impulsive, or motive phase, and a corrective phase on all time scales of trend.

Commonly
called a robust fractal, this fractal alternation provides the framework with which to understand the
output of the Crypto Bubble Index. Underlying the Elliott Wave Principle is a fundamentally based on the
Fibonacci sequence. The Fibonacci sequence, universal in biological growth processes, plays a role in
understanding log-periodic sequences. The impulsive phase of an Elliott Wave can also be considered a
"bubble" and its corrective phase a "crash." Hence, an "anti-bubble" is merely an impulse in the
downward price direction. The bubbles and crashes mentioned in the press are simply impulse and corrective
waves of the longer period Elliott Wave cycles (see Kondratiev
wave and Kuznets Swing). These large
corrections are more directly felt by the majority of society.
Recall that fractals are scale-invariant, thus further implying that bubbles and anti-bubbles occur on all time scales.

Financial bubbles, aka impulses, exhibit log-periodic precursory patterns prior to their correction. The goal of Crypto Bubble Index is to identify and display these patterns in order to prepare investors for the correction.

The Crypto Bubble Index algorithm, searches for LPPL Oscillations and displays their strength on various time scales.

Given a time series of daily price data, the Crypto Bubble Index can easily be created. The algorithm determines the strength of the LPPL oscillations in the time series data. For example, consider the time series of daily data for the CoinMarketCap measured market capitalization. This can be used to create Crypto Bubble Index which predicts corrections on various time scales. The longer the window (52, 104, 256, ..., 10080 days), the further in the future the forecast and the larger the cycle being displayed.

In most of the LPPL papers the time series is fitted with the LPPL formula.
This formula requires a t_{c}, or critical time, which must be estimated through statistical methods.
If the fit's statistical properties fit certain criteria, then a bubble is predicted with a most probable
time of crash, t_{c}. However, this requires heavy computation and does not provide an easy way to
provide a non-mathematician with an understandable analysis for thousands of assets.

By making certain assumptions, a computationally quicker and alternate approach was developed which takes the (H,Q)–Derivative of the LPPL formula. Now, instead of estimating the critical time, the critical time is now assumed to be one month in the future. With this assumption, the power of LPPL oscillations can be determined with minimal computation and Fast Fourier Transform.

The following formulas are found in the paper entitled, Generalized q-Analysis of Log-Periodicity: Applications to Critical Ruptures, by Wei-Xing Zhou and Didier Sornette. The simple log-periodic power law (LPPL) function which forms the basis of the algorithm used by the Crypto Bubble Index is:

$$y(t) = {A - Bt^m\tau^m + Ct^m\tau^m\cos\left(\omega\ln t\right)},\qquad \omega = {2\pi f},\: t = {\left(t_c-t\right)\over\tau}.$$where t_{c} is the Critical Time.

The H,Q derivative of this function provides a useful way to search for LPPL oscillations in a time series. The H,Q derivative is defined in their paper:

$$D_q^H f(x) \triangleq {f(x) - f(qx) \over \lbrack(1-q)x\rbrack^H}.$$Thus, the H,Q derivative of the LPPL function is:

$$D_q^Hy(t) = {t^{m-H}\lbrack B^\prime + C^\prime g(t)\rbrack}.$$where

$$B^\prime = {-B\tau^m\left(1-q^m\right)\over\left(1-q\right)^H},\qquad C^\prime = {C\tau^m\over\left(1-q\right)^H}.$$and

$$g(t) = {C_1\cos\left(\omega\ln t\right)+C_2\sin\left(\omega\ln t\right)}.$$with

$$C_1 = {1-q^m\cos\left(\omega\ln q\right)},\qquad C_2 = {\sin\left(\omega\ln t\right)}.$$The Crypto Bubble Index calculates the H,Q derivative and then performs a search for the best parameters H and q which give the strongest periodogram signal in a specific frequency range.

The Bubble Index attempts to create a daily index by comparing the current market-price time series with the LPPL function above.

Since the majority of all bubbles, where a bubble is here defined by a common term applied to a specific historical event such as the Internet Bubble or the 1920s American stock bubble, contain a price time series which exhibits the LPPL oscillation, the term "Bubble Index" is suitable to describe such a daily index. Since human behavior and social interactions change infinitesimally over time periods of 10 or 100 years, these LPPL can be found in price time series as far back as historical records allow. I think one of the biggest unanswered questions is: will LPPL oscillations continue to exist if all market participants recognize their signal?