Multiscale Systemic Risk and Its Spillover Effects in the Cryptocurrency Market

Since the advent of Bitcoin, the cryptocurrency market has become an important financial market. However, due to the existence of the cryptocurrency bubble, investors face more difficulties in risk portfolios.We adopt wavelet packet decomposition, nonlinear Granger causality test, risk spillover network, and STVAR model; retain the mature research of multiscale systemic risk based on time and frequency; and thus extend systemic risk to different regimes. We found that when frequency is combined with regimes, the risk spillover center will undergo subversive changes in the long run. We also proposed that BTC will be more robust at extreme values (like longest and shortest periods), while cryptocurrencies with smaller market capitalization will be stronger in the medium term. At the same time, the recession period will also spur on it.


Introduction
In 2009, Nakamoto [1] proposed the concept of cryptocurrency and a proof system for encrypted payment. anks to its blockchain technology, Bitcoin does not involve intermediaries such as clearinghouses and is thus independent of sovereign risk [2]. At the same time, in 2017, the CME Group and the CBOE launched futures contracts with Bitcoin as an underlying asset, legitimizing it further. is has allowed Bitcoin to join commodities, including gold, in futures trading, and eventually move from the margins to the center of the financial world [3]. Accordingly, the cryptocurrency market has gradually gained much attention from speculators, investors, technology enthusiasts, and even the public. Due to its nonpolitical nature and commodity attributes [4], Bitcoin, the cryptocurrency of largest market value, is often compared to gold, which serves as a safe haven for investors to carry out risk portfolios [5]. Bitcoin is often seen as a panacea, replacing financial institutions, and providing shelter for sovereign risk and weakness in the global financial system [6], especially during the surge in the Banking Crisis of Cyprus in 2012-2013 [5]. Importantly, the literature believes that Bitcoin has a very weak relationship with traditional assets, which makes it a valuable diversifier [7,8] and in some cases a hedge or a safe haven against equities [6]. Excluding the asymmetric response in variance, Klein et al. [9] argue that cryptocurrencies are the same as gold in volatility, correlation, and portfolio performance, which makes it a probable alternative. With the increasingly close connection with other markets, its volatility has become a hot topic for scholars.
Investors' expectations for Bitcoin's risk aversion characteristics seem to be broken in the risk of contagion. Kyriazis et al. summarized the volatility and persistence of cryptocurrency bubbles using a literature review, revealing a strong confounding effect on its guidance on financial markets [10]. Fry and Cheah [11] used mathematical financial models to deduce that financial events strike based on the size and degree of BTC bubbles, even a negative bubble.
e alternating surge of Bitcoin and Dogecoin proves this bubble effect. In contrast to stock indices, Cheah et al. [12] find that BTC builds speculative bubbles, affecting the extent to which it functions as a weak or strong safe haven. When the cryptocurrency market enters an uptrend, the rise in exchange rates actively increases the comovement of cryptocurrencies, thus limiting investors from taking advantage of diversification. Enoksen et al. [13] measured the bubble cycles of eight cryptocurrencies, verifying the rationality of cryptocurrencies surging at the beginning of 2018. ey also determined that higher volatility, volume, and transactions are positively correlated with the bubbles between cryptocurrencies, which lay a possible explanation for dynamic in the cryptocurrency market. In 2020, COVID-19 is prevalent, scholars pointed out that the epidemic caused the fluctuation of Bitcoin prices [14][15][16]. With the gradual dissipation of this major health incident, the relationship between macroeconomic events and the cryptocurrency market has attracted attention. Combining wavelet decomposition and Granger causality test, Li et al. [17] found time asymmetry in the causal relationship between the return of different cryptocurrencies and investors' attention. e combination of time and frequency has occupied this research field for a long time. Wavelet packet decomposition can handle dilemmas such as nonstationarity, nonlinearity, and especially periodic behaviors that vary at different frequencies [18]. Wavelets are used to produce an orthogonal decomposition of some economic variables by time scale over six timescales ranging from low to high frequency, which provides serious flexibility. e wavelet package offsets the drawbacks of wavelet decomposition and considers the lead-lag relationship at different time scales. Fruehwirt et al. [19] used wavelet-coherence analysis to measure intraday data (5-min resolution) to study the dynamic time-frequency conversion between cryptocurrencies. Using wavelet analysis, Celeste et al. [20] found that BTC behaves as a random walk to a greater extent, while the changes in other cryptocurrencies in different frequency domains have potential memory properties. Rhaeim et al. apply the wavelet decomposition method to get the more significant characteristics of the French stock market in the short and long term [21], while Fernandez concludes that the Chilean stock market is more suitable for the medium term [22]. e perspective of investors is heterogeneous, and the research is limited just basing on the period brought by frequencies. Risks and returns come together. While investors are looking for high returns, they must fully understand the possible influencing factors of the investment portfolio and reduce risks from the whole to the part. erefore, it is necessary to study the multiscale systemic risk under the volatility of the cryptocurrency market. e existing literature on the measurement of systemic risk and its risk contagion is insufficient. Many studies focus on the systemic risks of cryptocurrencies but discuss only linear and nonlinear models based on a one-dimensional perspective. Some cutting-edge studies analyze risks from a frequency-domain perspective, particularly frequency changes in very short periods. Only a few studies investigate the spillover network of cryptocurrencies and the interaction mechanism between different cryptocurrencies based on the breakpoint of the Markov transformation matrix. Our research offers several contributions to the literature. First, from the perspective of the theoretical framework of systemic risk, we provide feasible research ideas and improve the nonlinear research based on systemic risk. In the nonlinear stage, the STVAR model with embedded state variables was introduced, the changes within the regime were examined, and the current shortage of the Markov matrix used in the current stage was corrected, and the innovation of the research model from time to frequency to regime was achieved. Second, from the perspective of academic research, we use the cryptocurrency market index (CRIX) as a state variable to consider the influence under different regimes brought by the cryptocurrency market and also enlighten the possible directions of future research: introducing other macro variables closely related to the cryptocurrency market as state variables. At the same time, optimizing wavelet decomposition into wavelet packet decomposition is a generalized measure.
ird, from the perspective of investors' risk portfolio, we propose appropriate portfolio strategies in terms of type and time. e rest of the paper is organized as follows. e next section describes the recent emerging literature on cryptocurrencies and its research methods for systemic risk. e subsequent section describes the methodology and data, and we present the results of our empirical analysis thereafter. e final section draws the main conclusions.

Literature Review
We arrange the documents in three ways. First, we reported on the research on the relevance of the cryptocurrency market. Second, we compiled the current main metrics and their applications for systemic risk. Finally, we combed the methodological context of the multiscale systemic risk of cryptocurrency and made theoretical preparations for the expansion of nonlinear research. ere have been many attempts to study the relevance of cryptocurrencies using objects and models. Guesmi et al. [23] reported that the DCC-GARCH model is the best-fit model for the joint dynamics of different financial assets. Tu and Xue [24] investigated the effect of the bifurcation of BTC on its interaction with LTC with the BEKK-MGARCH model. Some scholars investigated the issue from the perspective of contagion. Notably, Corbet et al. [25] examined the relationships between BTC and a range of assets (i.e., oil and the S&P500) and cryptocurrencies using Granger causality in the distribution. ey found a significant bidirectional causal relationship between BTC and other assets that can also apply to mutual cryptocurrencies [26]. Recently, with the rapid development of cross-subjects, finance studies have functions between been trying to insert sociology into daily research to visualize the results. e use of network topology to explore the contagion of systemic risk gained much popularity, which may become the main form of data presentation. Diebold and Yilmaz (2014) proposed a representative study using network correlation models. Many scholars successfully employed the construction of mutual relations, which can help clarify stress periods (i.e., economic crises) and their propagation mechanisms and identify systemic risk [27]. Yi et al. [28] investigated both 2 Complexity static and dynamic volatility connectedness among eight typical cryptocurrencies and found that their connectedness fluctuates cyclically. Beneki et al. [29] documented volatility transmission from ETH to BTC. By analyzing the volatility of cryptocurrencies, Kyriazis et al. [10] pointed out that BTC, ETH, and XRP are the top three in the existing market, and the other cryptocurrencies combined still lagged after this group. Fassas et al. [30] focused on why newly launched future contracts contribute to the price discovery process of BTC. eir results demonstrated the strong bidirectional dependence in the intraday volatility of the BTC spot and futures markets. Different methods of correlation research have led to the different risk relationships between cryptocurrencies and the different status of BTC. From the perspective of investor risk aversion, it is necessary to make more accurate and detailed risk estimates for different cryptocurrencies.
"Systemic risk" pertains to risks of breakdown or major dysfunction in financial markets and its main metrics include value-at-risk (VaR), marginal expected shortfall (MES), systemic expected shortfall (SES), conditional valueat-risk (CoVaR), systemic risk measure (SRISK), and the catastrophic risk of financial firms (CATFIN). VAR refers to the maximum loss under a given risk level, but based on the need to detect tail dependence and extreme risks, CoVaR is often used to capture the missing links under VAR. At present, CoVaR model is the most widely used and expanded in the literature. In an empirical study, Selmi et al. [31] used the CoVaR indicator and found that a BTC-oil portfolio can reduce the effectiveness of overall risk for stability. Using vine (C-vine) copula and c-vine CoVaR, Uddin et al. [32] found a multiple tail dependence structure and risk spillover in the energy market. By combining CoVaR and SRISK indicators, Deming [33] found that bank failures are related to systemic risk. Feng et al. [34] measured the tail risk of a single cryptocurrency using an ARMA-GARCH model and the bivariate tail correlation between seven cryptocurrencies using a logistic function. Based on the measurement considerations of the systemic risk of the microcryptocurrencies market, we apply a CoVaR-GARCH model for the risk test of the rate of return together with the particular feather hidden in the series.
Initially, the research on systemic risk mainly focused on the CAPM model, which directly calculated the changes in systemic risk. Later, Hansen summarized the four analysis methods for systemic risk research at this stage from a static and dynamic perspective [35]: tail measures, contingent claims analysis, network models, and dynamic, stochastic macroeconomic models. Cortes et al. proposed complementary views on systemic risk assessment, connectivity functioning as the key Indicator [36]. Starting from the externalities of systemic risk, Acharya et al. introduce risk weighting factors into the model [37]. And Reichert continues to broaden, till the factor-copula framework, thus calculating systemic risks to mine risk exposures [38]. However, prior studies ignored the feature of frequency, especially the inside high and low frequency, which may bridge the gap in portfolio and risk management decisions; thus nonlinear research on risk deserved more attention. By applying nonlinear technology, Silva Filho et al. [39] measured the contagion risk and volatility shock transmission, as well as its evolution, concluding that a large decrease (or increase) in the price of one cryptocurrency would spill over to the price of the corresponding pair of cryptocurrencies, the BTC-pairs win matching with market capitalization. Kurka [40] argued that although Bitcoin seems isolated from other financial assets over their full sample period, market linkages arise when examining subperiods carefully. Manavi et al. [41] found a strong clustering of cryptocurrencies. e correlation values differ according to the coarse graining time, but not the clustering. Clusters exist for short time scales and are rather stable for the examined time intervals. Investors have long-term investment horizons reflected in short frequencies, whereas speculators have short-term trading horizons reflected in long frequencies [42]. Research on risk spillovers under different periods is a topic that has been extensively studied. Wavelet, with its ability to detect and locate volatility [43], and meanwhile transitioning the research from time to frequency, showed the property of risk changing with time [44,45], which becomes a widely accepted tool of multiscale systemic risk research. e wavelet packet offsets the shortcomings of wavelet decomposition and considers the lead-lag relationship under different time scales. Keeping the elements of wavelet, we adopt optimized wavelet packet decomposition. Multiscale variance was developed by Percival [46] and used in finance field firstly by Ramsey and Lampart [47]. Ramsey and Lampart determined causality relation between consumption, GDP, income, and money by means of wavelet analysis. When market fluctuations are difficult to predict, the research and understanding of classical wavelet frequency domain methods are not enough to allow investors to make in-time decisions [48]. Using a vector autoregressive model based on quantiles, Bouri et al. point out that cryptocurrency has an asymmetric effect between the return and overflow behavior of the low quantile and the upper quantile, which also provides a nonlinear optimization for systemic risk opportunity. Bianchi et al. take the lead in using the Markov transition matrix to examine the impact mechanism of global bank index returns on macroeconomic state variables and bank holding company stock price returns. is makes the study of systemic risk take a big step, that is, to expand from the limitation in frequency to the study of external state variables [49]. Authors consider more macro variables or markets, such as stock market and public expenditure [22,50,51]. Under the new situation, Moratis proposed the use of a rolling window Bayesian vector autoregressive model measured the risk spillover of the cryptocurrency market and discovered the important role of external driving factors [52]. Based on the structural mutations brought about by the financial crisis, Zhou selected Sweden's 10-year industrial production index modeling, while Timo et al. selected 47 macrovariables of the G7 economy to test the effectiveness of the STVAR model and concluded that this STVAR model is better than the linear model [53,54]. Venetis summarized the symmetric deviations in monetary policy to demonstrate the rationality of the STVAR model to allow multiple discontinuities [55]. Representing different Complexity market conditions by bull and bear markets, Das et al. examine the spillover effect of stock returns [56]. erefore, we focus on the cyclical nature of the market index itself to explore the risk spillover effect between cryptocurrencies under different scales, which echoes the reality of the cryptocurrency market's skyrocketing and plummeting. e transition of different market conditions is slow, and there are more possibilities for research on the lag period in the future [56].

Wavelet Packet Transform.
Wavelet analysis provides an effective method to decompose the time series in the time domain into the scale domain and locate the time changes in different scales [57][58][59]. In 2008, Aggarwal et al. [60] used wavelet transform to decompose historical price data into wavelet domain to form subsequences and then combined with other time domain variables to propose a prediction model. Wavelet packet transform is particularly suitable for predicting the trend of time series data, because wavelet can "decompose economic time series into time-scale components," which is a very successful strategy to untie the relationship between economic variables [61], and MATLAB software wavelet packet analysis can already be used maturely. Huang et al. [62] used the biorthogonal wavelet to construct the hybrid kernel function under the support vector machine (SVM) to predict the effective range of a possible financial crisis, and it was verified in the set of all listed companies. Using wavelet decomposition which accounts for the characteristics of low-and high-frequency data, Teng et al. [26] decomposed the high-frequency mode of the original stock price data but retained the low-frequency mode and found that it enhanced the predictability of stock sequences. Based on the significant impact of COVID-19 globally,Štifanić et al. [63] used the stationary wavelet transform (SWT) and bidirectional long short-term memory (BDLSTM) networks to achieve good predictions of crude oil prices and stock trends over the following five days. e wavelet analysis approach includes two branches. One branch focuses on the wavelet transform (WT). e WT is suitable for addressing signals that are distorted under a strong noise background. It applies to the optimization of the log-return series in a fluctuating financial market. e WT adapts the signal to another domain in which richer information can be revealed in an easier way. With the characteristics of the wavelet basis function, the WT can be very effective for describing signals with sharp spikes and discontinuities [64]. e realization of WT can be divided into continuous WT and discrete WT. In the real world, we prefer discrete WT. Multilevel WT is called the "tree algorithm" to offer a hierarchical representation of signals, item by item. e other branch centers on the application of the wavelet packet transform (WPT). As an extension of the WT, the WPT decomposes the signal layer by layer toward more detailed branches, enriching the tree structure.
rough the WPT, several wavelet packet coefficients innervate a series of different frequencies, generating and discarding the residual signal in the parent wavelet, such as a filter [65]. e WPT grasps the characteristics in time and frequency domain features, intuitively representing signal information in the most suitable way. e WPT not only inherits the preponderances of the WT, as it strikes a balance between high-and low-frequency bands but also compensates for the drawbacks of the WT, specifically that it has difficulties adapting to higher frequency bands, which are better for information refinement. e wavelet packets are the combination or superposition of the parent waveform, which retain the orthogonality, smoothness, and localization properties of the parent waveform. Wavelet packet analysis can provide insights on the joint behavior of indices, not only along the sole dimension of time but also over different investment time scales or frequency periods, thus enabling us to study the various co-movements between cryptocurrencies [66]. e total layer of the WPT is defined as L. e formulas for the WPT are (1) After simplifying the formulas above, the final expressions are where μ 0 0 (t) is the father wavelet and μ 1 0 (t) is the mother wavelet. e superscript denotes the decomposition series in which the layer of the wavelet packet is located, and the subscript denotes the position of the wavelet packet in its layer. h k and g k denote the low-pass filter and high-pass filter, respectively.
With the WPT, an important step is to select the appropriate wavelet function basis for signal decomposition.
e Haar wavelet is the simplest and oldest wavelet transform. In 1992, Daubechies developed the frequency domain characteristics of the Haar wavelet. erefore, we select dbN for frequency segmentation which can smooth the series better than other wavelets and increase the separability of the frequency domain to decompose cryptocurrency returns, which is the basis of our measure of multiscale cryptocurrencies' systemic risks. e length of the support interval in dbN is 2N−1.

Nonlinear Granger Causality Test.
e traditional nonlinear causality test does not have nonlinear predictive ability due to its low power [67,68]. erefore, this study adopts the nonparametric test (D-P test) of nonlinear causality developed by Diks and Panchenko [69] in order to explore more causal relationships between related variables [70]. Since this test is nonparametric, it has advantages over parametric causality methods. In the D-P test, since it does not allow the conditional distribution to change with the increase of the sample size, the problem of excessive rejection is prone to occur. In order to avoid it, we follow their idea [16,71] and use the D-P test as a nonparametric test to capture the nonlinear causality of the fluctuation of the logarithmic return of each cryptocurrency. At the same time, Diks and Wolski [72] extended the bivariate DP test to multivariate cases and believed that the DP method for detecting Granger noncausality is very consistent and robust, such as the mean and variance under Granger mean and variance. erefore, the adoption in this study is reasonable.
In Diks and Panchenko's test, the null hypothesis that X t does not Granger cause Y t is where . , Y t ) are the delay vectors and lx and ly denote the finite lag lengths of X t and Y t , respectively. By assuming lx � ly � 1 and Z t � Y t+1 , we can obtain the joint probability density Diks and Panchenko further show that the reformulated null hypothesis implies Diks and Panchenko then let being the indicator function and ε n the bandwidth. We set the bandwidth as 1, embedding the dimension as 2. e test statistic is In the statistic, where S n is an estimator of the asymptotic variance of T n (·).

Risk Spillover
Network. Network analysis also plays an important role in measuring systemic risks, because this analysis can better model and predict the behavior of complex financial systems. It is worth mentioning that for the stability of the system as a whole, what is needed is a riskbased systemic approach; that is, the systemic risk is used as the original data. In addition, when assessing systemic risks, it is very important to consider different measurement methods, because there is no perfect way to reflect the impact of interruptions on the entire system [73]. When the losses of one asset increase or volatility intensifies, it will have an excess impact on other assets, thus forming risk spillover. Hence, we apply the typical network topology method proposed by Diebold and Yilmaz [74] which is the prototypes of many other network analyses. We construct the following risk spillover matrix based on forecast-error-variance decompositions demonstrating the definition of this matrix as shown in Table 1.
In the spillover matrix in the table, the variables in the first row represent the source of risk spillovers and the vectors in the first column denote the entity receiving the risk. We can calculate the degree of pairwise risk spillover based on the following decomposition: where H−1 h�0 a 2 ij,h is the error variance of the risk in cryptocurrency i in forecast period H caused by the impact of risk in cryptocurrency j and H−1 h�0 trace(A h A h ′ ) represents total forecast-error variance in period H. erefore, the above exhibits the proportion of single cryptocurrencies. In general, S H i←j ≠ S H j←i ; we can define the effect of the net risk spillovers from cryptocurrency j to cryptocurrency i using the following formula: Moreover, the items in the OUT row denote the total items on the nondiagonal lines in each column, allowing us to measure the spillovers from cryptocurrency j to other cryptocurrencies. e IN column and the total net effect are similar: In addition, we can measure the overall system-wide total spillover effectively by summing and taking the average of the items in the OUT row or the IN column, as follows:

Smooth-Transition Vector Autoregression (STVAR).
In order to characterize the nonlinear relationship of economic variables in different state intervals, Sims [ e asymmetry mechanism of the state variable interval and the ESTVAR model is mainly used to reflect the transition of the symmetric interval [76].
In order to examine the asymmetric contagion mechanism of CRIX on the cryptocurrency market, we refer to the research of Caggiano et al. [77], thus establishing the following model: where Y t represents a set of endogenous variables that are partly selected from the cryptocurrency market. F(z t ) is a logistic transition function which is used to describe the probability of the sample being divided into different "economic state" (recession and expansion at CRIX). e nonnegative parameter c determines the rapidity of the switch from a regime to another (the higher c, the faster the switch), and z t is a state variable used to capture the periods of CRIX. c is the threshold parameter identifying the two regimes.
p b Y t and p g Y t indicate the coefficient matrix of CRIX in two regimes, and ε t is the vector of reduced-form residuals obeying a normal distribution.
In function (12) 3.5. Data. In the selection of cryptocurrency, in order to make it better reflect the market, we set the total market share at 80% to select the number of cryptocurrencies. As discovered by Ciaian et al., when the market size and price changes are taken into account, there is a dependency between BTC and other currencies [78]. When it is expected that part of the cryptocurrency represents the entire market, the dominant currency and other currencies should be included [16,79]. At the same time, based on the need to calculate the systemic risk for the return rate sequence, we will consider the daily price (below 0.1 will make the result rather smaller and easy to bias the result) at is, first consider the market value and second consider the price. At the same time, considering as much as available data, we ignore currencies that have been listed too late or have already been delisted. erefore, we have selected the above 16 cryptocurrencies in investing website and determined the sample interval ranging from February 8th, 2018, to April 11th, 2021. ere are a total of 1159 observation days data, which makes it easier to estimate the relationship between risk and return [80]. Table 2 shows the respective prices of 16 cryptocurrencies arranged by market value. We chose the CRIX index following the Laspeyres construction and obtained the data from http://thecrix.de/.

Empirical Results
In this paper, the systemic risk value under wavelet packet decomposition is the main data of the follow-up research. First, based on the selected 1159 observations, calculate the logarithmic rate of return of these 16 cryptocurrencies, using the cryptocurrency market index CRIX as the state variable,  [43,81]. en, using the COVAR-GARCH model (Xu et al. discussed that this method is effective) [82], the systemic risk of 16 cryptocurrencies at 8 frequencies are obtained which is basic data in the DY matrix and STVAR models, and the one of nonlinear Granger causality test is the logarithmic rate of return.

Nonlinear Granger Causality Test Based on WPT.
First, we use nonlinear Granger causality test to make a preliminary judgment on the causal relationship between cryptocurrencies. It has two functions. One is to visually demonstrate the effectiveness of wavelet packet decomposition and to verify that the previous frequency analysis results of systemic risks are reliable. e other is to take a single cryptocurrency as the center, look at its impact under different frequencies, and provide a control group for subsequent determination of frequencies that need to be focused on under different methods. Table 3 shows the nonlinear Granger causality test between cryptocurrencies under the original sequence. We set the parameters which embeds dimension at 2 and bandwidth at 1 to calculate the causality. e table values are arranged horizontally, taking BTC for instance, and the causal relationship between BTC and other currencies is in the second row, and so on. Due to space limitations, the original data at other frequencies are available on request. We show it in the form of the heatmap. In the heatmap, the darker the color (red), the more significant the causal relationship, and the lighter the color (blue), the less significant the causal relationship. Figures 1-9, respectively, represent the original sequence and the causal relationship at different frequencies.
It can be found that under the wavelet packet decomposition, the causal relationship between cryptocurrencies is indeed different from that under the original sequence. Figures 2-6 are more red in the overall picture, while Figures 7-9 are mostly blue, representing the long-term and medium-term and short-term, respectively. At the same time, it can be seen that the long-term gradual change to red is represented in Figures 2-4, there was a gradual change to blue in the short term in Figures 7-9, in the medium term shown in Figures 5 and 6, we have two extreme colors, nearly wholly red or blue, and the medium term may be the key to change.
In view of the multiple surges of Bitcoin from 2018 to 2020, and the first surge of Dogecoin in April 2021, it is particularly important to analyze the causality of a single cryptocurrency at different frequencies, as shown in Figures 10-25, respectively. ese 16 graphs show the nonlinear relationship between market value and risk, which fits the previous conclusions. We can see that D8 rows in these graphs are more or less blue, even for BTC, which occupies the top market. At any frequencies, the three cryptocurrencies (BTC, ETH, and XRP) occupying the main market capitalization are almost completely red, that is, the same strong risk causality for different currencies at different frequencies. However, in currencies with a relatively small market value, there is also a strong causal relationship at certain frequency, such as EOS, XMR, and DASH. It can be seen that for the risk contagion of cryptocurrency, the dominant cryptocurrency, and altcoins also play an important role, but the conversion relationship among them seems a little vague, and further analysis is needed, which provides the possibility for the analysis of the risk contagion path of the network. In connection with the multiple surges of Dogecoin in April, the causality diagram ( Figure 22) shows a little trace, that only under D1 the red line appears, and the rest are blue. is also provides problem orientation for expanding systemic risks under time and frequency.

Risk Spillover Matrix (DY Matrix) Based on WPT.
First, based on the SC criterion, the optimal lag order for the VAR basic model is determined to be 2. After the COVAR-GARCH model is estimated, the "disturbance correlation coefficient matrix" (DY matrix) between each cryptocurrency can be obtained, as shown in Tables 4 and 5. We choose D1 and D8 to display, and the results at other frequencies are available on request. As Tan and Pedersen said, the combination of wavelet packet decomposition and network analysis will greatly improve data performance [68]. Taking Table 4 as an example, the values at the edges of the matrix are, respectively, total values, expressing the horizontal or vertical value of a certain cryptocurrency. e "TO" column indicates the spillover risk of a certain currency against other currencies in the market, which is an arrow to go out, and the "FROM" column indicates that from the perspective of the total market size, to measure the spillover risk of other cryptocurrencies for a certain currency, it is an arrow of entry, which corresponds to the network below, so that the value in the middle of the matrix                   refers to the risk spillover value between the two. e "NET" in the bottom row refers to the net spillover effect of a certain cryptocurrency, that is, the value of the output of the "IN" column offsetting the input of "OUT." According to the risk spillover table, we can see that the net risk spillover intensity on D1 and D8 has dropped from 405% to 345%, and the effect of visible frequency is obvious. en, we will draw networks of risk spillovers at different frequencies, as shown in  to specifically look at the risk infection path between different cryptocurrencies.      14 Complexity e risk infection network consists of nodes and edges with arrows. e size of the node is set according to the weighted-out degree, that is, the net risk spillover represented by the NET column value of spillover matrix (Table 4) as the weight. e larger the net overflow, the larger the node. e color of the node is colored according to the "modularity" value in the "Gephi" statistical attribute, which means that the similarity of the risk value between different cryptocurrencies shows the same community attribute, and the color of the edge also changes accordingly. e size of the edge is expressed as the weight based on the intermediate value of the spillover matrix (Table 4), that is, the degree of risk spillover between the two. On the whole, the risk spillover of BTC in the medium and long term is relatively stable, except for D7, which is affected by the same modular spillover of XLM. e modularity of these frequencies always changes, but the big picture remains consistent in the long term (D1-D3), just like that the internal spillover of the first two intervals are maintained, and the latter is more entering, which is affected by USDT. But when the frequency is in the mid-term (D4) and the shortest term (D8), BTC becomes the only module by itself, with a strong spillover effect on other cryptocurrencies, which generates risk spillovers, while the rest is modular radiation, alongside light power. In the following figures, when BTC remains stable, the rest of the Bitcoins are also followed behind closely. In the long run, at D1, XLM and BTC have reached the point where they resist courtesy, while at D3, USDT has far surpassed BTC, accompanying rapid changes. In the mid-term, at D5, BCH surpassed BTC, with a strong risk of spilling infection to BTC, and at the same time radiating to other cryptocurrencies with modularity. In the short term, at D6, BNB and BTC have the same strong risk spillover. For these cryptocurrencies that are about to approach or have become risk centers at different frequencies, the risk center changes of XLM, BCH, and USDT (Figures 11, 12, and 21) have a strong correlation with causality, while BNB is abnormal (Figure 14). At high frequencies, the causality diagram is light blue, which is a weaker causality, but under the DY matrix, it becomes the risk spillover center in D6. However, BCH is a comprehensive red in the causality diagram, with a very strong causal relationship, but it only becomes the center at D5, and the other frequencies have very little influence. is provides a basis for further research on nonlinear systemic risks.

STVAR Model Based on WPT.
In order to ensure that the introduction of periodicity is theoretically reasonable, we conduct a nonlinear test before STVAR model estimation. We use BDS test [68], Quandt-Andrews test [83,84], and Bai-Perron test [85] to test the stability of model parameters. Among them, the Quandt-Andrews test is the unknown mutation point test, and the Bai-Perron test is the multiple mutations in the unknown inspection. Table 6 shows the results of the parameter stability of the systemic risk evaluation of each cryptocurrency. For the BDS test, when the nesting dimensions are 3, 4, and 5, the null hypothesis of independent and identical distribution is significantly rejected, indicating that there is a nonlinear relationship between the variables; that is, it has the characteristic of being transformable [86,87]. e mutation point test indicates that the parameters of the model contain one or more mutation points, which means that the use of constant parameter estimation methods will lead to biased model estimation results.
Based on the partial conflict between the abovementioned causality and the risk spillover network, we reissue the STVAR model to further explore the risk spillover of different states under the same frequency. e highlight of the STVAR model lies in the state variable CRIX, which is different from the DY matrix. We use HP filtering (Hodrick-Prescott filter) to extract the period term of the market index, and the conversion of state variables will divide the original data into upward and downward intervals, that is, expansion and recession. In addition, in the STVAR model, we take the forecast period as 60 periods. e following data takes the 60th period as an example (we have observed the risk spillover centers of periods 4, 8, 16, 32, and 60, respectively, and they are all consistent. e results are available on request). e result of the variance  decomposition results in a superposition of decimal points and cannot be listed in a limited page. erefore, we only show the data of the two states of BTC at the frequency of D1 and D8, that is, risk spillover for other cryptocurrencies (including itself )), as shown in Table 7. e following shows the risk spillover network in different states (regimes) at different frequencies, and its specific properties are the same as the above network diagram. On the whole, under different regimes, the risk center may change, or the risk intensity may change. Under D1, BTC is the center of risk in expansion, followed by 5 currencies with different net risk spillover including XLM and XEM in Figure 26, while in recession, only BTC is the center, and nothing followed. Comparing to the DY matrix, its comprehensive risk module will remain consistent. Under D2, it is in sharp contrast with the DY matrix. e former is the dominant BTC, but at this time, there are multiple risk centers in both regimes. In recession, the risk centers not only become DASH and XMR, but BTC only has minimal net risk spillover. Under D3, USDT exists in the risk centers of both, which is consistent with the DY matrix. In recession, we can see that DOGE has even become a risk spillover center that surpasses USDT, which echoes the red and blue causality diagram ( Figure 22). Under D4, when the risk spillover center maintained the foundation of BTC, XMR gradually became stronger, until in recession, surpassing BTC became the only one. Under D5, the original degree of risk spillover under DY matrix is magnified. In recession, DOGE becomes an important force for shocking risk. Compared with the center, XMR is more significant in recession, and XRP is more significant in expansion. e difference is that the modularity effect has disappeared; thus the attributes shown by different cryptocurrencies show the characteristics of homogeneity. Under D6, the risk spillover effect of BTC seems to be weakened, and BNB occupies the center position. At the same time, when transitioning from R to E, the modularization is increased to 3 layers. e increase in modularity has impacted BTC's risk center position. Under D7, the expansion is consistent with the DY matrix, while the recession allows USDT increasing. Under D8, XLM replaces BTC as the center in expansion. Fousekis and Tzaferi believe that returns are more likely to have a fundamental change in causality [88], and the systemic risk of network differs. is may be the explanation.
In the abovementioned, all figures of different regimes under different frequencies are shown from Figures 34-49; besides, the previously emerging BCH, USDT, and BNB, even XEM and XMR occupying a small market value can become the center of risk spillover. On the whole, the conclusion that BTC, as a risk spillover center, is more credible, but it is also necessary to consider the possibility of different frequencies and regimes; that is, BTC has strong risk spillover in the longest (D1) and shortest (D8) periods, and it will be more robust in expansion. For other small cryptocurrencies, medium-term holdings and recession periods will be more stable. When examining the changes between different regimes, even DOGE, whose causality is  (2) Bai-Perron test is measured at "Global L breaks versus none" and the maximum mutation points set at Eviews10 is 5. weak through each frequency, has become the center of risk spillover in recession of D3 and D5, and more potential possibilities need to be excavated in different regimes. It can be seen that the nonlinear causality test based on the logarithmic rate of return cannot accurately correspond to the risk spillover relationship, and based on the wavelet packet decomposition, the overall result transmitting from the DY matrix to the STVAR model is reasonable. Not only does it examine the changes under frequency, but also it sees           18 Complexity changes under different regimes, and more detailed trends may need to consider more mutation points.

Conclusion
is research uses diversified investment portfolios as the main driving force. By combining wavelet packet decomposition with nonlinear Granger causality test, risk overlap network, and STVAR model, they are linked together to improve the systemic risk research system in practice. Our research is based on the systemic risk research under the time and frequency. For one thing, we transform and optimize the traditional wavelet decomposition into wavelet packet decomposition; also, we use the STVAR model to explore the changes of risk spillover centers under different regimes. We found that BTC has always remained strong in the longest and shortest terms, and it performs better when it enters the expansion period. e cryptocurrency with a small market value may enter breakthrough in the medium term, and the recession period is an important moment of turnaround. For the holding period and investment types, investors need to consider their risks comprehensively.
is research reveals the possibility of introducing macro variables, that is, to make rational use of the connection between the cryptocurrency market and other markets. Will the overall changes in other markets also have the effect of shifting and replacing the risk spillover of the cryptocurrency market, which is worth studying? However, it must be admitted that although cryptocurrencies with a small market capitalization have the potential to break through during the recession period, currencies such as BTC have been influenced, but still stable. e specific game between    the dominant currency and the small currency on a timefrequency basis is a topic waiting to be resolved.

Data Availability
e original data were obtained from https://cn.investing. com and http://thecrix.de.

Conflicts of Interest
e authors declare that they have no conflicts of interest regarding the publication of this paper.