Next Article in Journal
Dynamic Computation in Visual Thalamocortical Networks
Previous Article in Journal
A Comparison of Bispectral Index and Entropy During Sevoflurane Anesthesia Induction in Children with and without Diplegic Cerebral Palsy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Analysis of China’s Onshore and Offshore Exchange Rates—Adjusted Thermal Optimal Path Approach Based on Pruning and Path Segmentation

1
School of Mathematical Sciences and Faculty of Management and Economics, Dalian University of Technology, Dalian 116024, China
2
College of Economics, Shenzhen University, Shenzhen 518060, China
*
Author to whom correspondence should be addressed.
Entropy 2019, 21(5), 499; https://doi.org/10.3390/e21050499
Submission received: 19 February 2019 / Revised: 10 May 2019 / Accepted: 10 May 2019 / Published: 15 May 2019
(This article belongs to the Section Complexity)

Abstract

:
The study of the lead-lag relationship between the Hong Kong offshore Renminbi (CNH) spot market and onshore (CNY) spot market is of great importance for its wide application in market risk management. In this paper, we study the correlation between the CNH and CNY spot markets in the contexts of daily closing price change and the 2011–2016 Bid-Ask spread (BAS). We test the existence of causality relation between CNH/CNY pairwise change and BAS by using the conventional method of vector auto-regression (VAR) model in the observation period. Furthermore, we detect the local lead-lag dependence relationships between CNH/CNY pairwise change and BAS by using a non-parametric approach-adjusted Thermal Optimal Path (TOP) method. Through introducing a Pruning and Path segmentation algorithm, we address the problem of computation infeasibility that may be encountered in application of the existing TOP method for the detection of lead-lag relationship between two time series with long time duration. Theoretical analyses and simulation results are presented to verify validity of adjusted TOP method in the setting of big time-series data set. This study also provides some interesting findings: (1) the offshore CNH market is informationally integrated with the onshore CNY market from two aspects of closing price change over two consecutive single days and BAS used as a proxy for market liquidity; (2) Local dependency between the two markets changes with economic conditions changing, which would facilitate both investor and policy maker decision making.

1. Introduction

The offshore CNH market was created in the early 2000s for meeting the needs of Chinese Renminbi (RMB) deposits, currency convertibility and cross-border consumption of Hong Kong residents at that time. Owing to a series of measures of Chinese government, the offshore CNH market has grown rapidly and played an increasingly important role in RMB liberalization. In recent years, daily RMB offshore spot trading volume has expanded from a negligible amount to $1.3 billion daily, while bulk of trades are conducted in Hong Kong given its proximity and shared time zone with the Chinese mainland as well as its deeper liquidity [1].
Compared with the onshore CNY market, since Hong Kong is a world financial and trade center, CNH is more inclined to be influenced by international economic and financial conditions and reflect the supply of and demand for RMB in the international market. The CNY market is relatively closely linked with the Chinese government policies and may not fluctuate significantly due to the regulation of the People’s Bank of China (PBC). Although obvious differences between CNY market and CNH market exist, correlation between these two markets, especially price changes, increases significantly with the offshore CNH market’s development over almost twenty years [2].
Accurately detecting the relationship between CNY and CNH market has become increasingly important for both investors involved in the foreign exchange market (FX) and policy makers. Therefore, CNH/CNY cross-market price discovery and information spillover has drawn much attention from many researchers in recent years. Wu and Pei point out that the price of CNY guides the price of CNH, while the price of non-deliverable forward (NDF) affects those of CNH and CNY [3]. Leung and Fu find that the spillover effect of CNH and CNY is bidirectional. However, the effect of CNY on CNH is larger. They believe that CNY will continue to play a leading role in the future [4]. Cheung and Rime also exhibit the short-term interactions between CNH return and CNY return by using the vector auto-regression correction model (VECM). Their analyses show that short-term interaction between CNH spot market and CNY spot market changes with time changing, but the influence of CNH spot on CNY spot is increasingly stronger towards to the end of sample period in general [2]. Du and Lai employ the time-invariant Student-t copula method to capture the co-movement between offshore spot rate and the onshore spot rate [5]. Shi finds that CNH market, with high information advantage and price discovery function, has become the dominant market [6].
The literatures above indicate that CNH offshore market has been informationally integrated with CNY onshore market. CNY market may dominate CNH market, but the influence of CNH on CNY is increasingly significant, with the offshore CNH market’s development over almost twenty years. Proceeding along this line, this paper detects lead-lag dependency relationship between CNH and CNY spot market from two aspects of price change and liquidity based on parametric method of vector auto-regression model and non-parametric method of adjusted Thermal Optimal Path approach.
The “Thermal Optimal Path” (TOP) method or the “Optimal Thermal Causal Path” method, as a non-parametric statistical method was proposed by Sornette and Zhou [7]. It is viewed as an extension of time distance measurements and can be used to reveal a prior arbitrary non-linear dependence structure of lead-lag between two time series in different periods. This method, which reflects sufficiently the structure and character of data, has been broadly used to many economic and financial problems, such as the study of the relationship between inflation and economic growth rate [8,9], the study of the relationship between credit and financial crisis [10], the study of the relationship between stock index and GDP [11], stock price and investor sentiment [12] and stock index and stock index futures [13], the study of links between UK and US real-estate and monetary policies [14] and the study of the lead-lag relationship between the spot and futures markets [15] and different countries’ future markets [16] etc. We also find that some researchers have applied TOP method to the relevant study with Chinese exchange market. For example, Wang et al. employ the TOP method to explore the long-run dynamic relationship between CNY/USD exchange rate and the corresponding attention index. They find that the significant inter-dependency exists and the change of exchange rate is 1–2 days lag behind the attention index [17]. Xu et al. apply the TOP method to detect the interaction patterns between the onshore CNY and offshore CNH exchange rates [18].
Our study is closely related to the paper of Xu et al. [18], but there are two obvious differences between their work and ours. First, we propose an adjusted TOP method which combines Path Segmentation and Pruning methods mainly to solve the computational infeasibility of TOP method under the situation of CNH/CNY pair big data, while Xu et al. [18] consider the interaction between CNH/CNY spot rate through using the existing TOP method. Second, the focus is different. We discuss the lead-lag dependency relationship between CNH and CNY spot market from two aspects of price change and liquidity, while Xu et al. [18] focus on the detection of interaction between the CNH and CNY closing price.
In practical application of TOP method, we find that the size of the used time series data and data value can influence its implementation, and there may be computational infeasibility in the case of medium or large size sample. Such problem mainly results from that the cumulative Boltzman factors used to obtain the optimal thermal path tend to be unacceptably large with size of used data increasing. In the existing related studies, the researchers try to avoid such problem of computational infeasibility either by using low frequency data to reduce the number of used time series data [7], or by eliminating the numerous and possible starting and ending points in order to reduce the computational cost [13]. However, these two ways seem not always to be suitable and effective, because high frequency data such as daily data, minute-scale data even second-scale data may need to be used and considered in many practical cases, and size of used data will generally continue to increase in the future. Moreover, once the size of data sample becomes relatively large, the cumulative Boltzman factor tends to be infinity with number of recursion. Therefore, the problem of computational infeasibility of TOP method cannot be solved by only eliminating numerous starting and ending points. In order to fully address the problem, we propose an adjusted TOP method which can eliminate the effect of size of data sample and data value and enhance the popularity of TOP method to some extent.
Another focus of this paper is to detect the dependence relationship between CNH and CNY market liquidity. Foreign exchange market liquidity, as a significantly important indicator to measure market’s efficiency and resilience describes the degree to which the foreign currency transactions, especially large transactions can be quickly executed with a small impact on prices [19], thus gaining widespread concern from all market participants including investors and central banks of all countries. Compared with CNY market liquidity, the liquidity in CNH market is relatively lower [20]. In the early days of the offshore RMB development, CNH market liquidity has been low due to CNH immaturity and expectations of appreciation from investors. Investors tend to hoard CNH in deposit accounts and expect higher return in the first instance. After 2010, CNH market has moved into a new phase, but the liquidity in CNH market seems to be at a limited level. This may be caused by the strict restrictions on capital flows from people’s bank of China (PBC) and the Hong Kong monetary authority (HKMA). The low liquidity may thwart RMB internationalization and reduce associated business with CNH in the financial hub of Hong Kong as a consequence [21]. Therefore, discussions on RMB markets liquidity have been mostly around how to promote CNH liquidity (e.g., Cushnie [20], Eraslan [21], Craig [22], Funke [23], Danese [24] and Hui [25]). To the best of our knowledge, there are little researches on the quantitative analysis of correlation between CNY liquidity and CNH liquidity. This study fills the gap in the literature.
The remaining parts of this paper are organized as follows: Section 2 proposes the adjusted Thermal Optimal Path method and applies it to some simple numerical example to compare its performance with the existing TOP method. Section 3 presents an application of the adjusted Thermal Optimal Path on dependence relationship between CNH and CNY spot market. We detect the lead-lag dependency of CNH/CNY spot from two aspects of closing price change over two consecutive single days and Bid-Ask spread (BAS) used as a proxy for market liquidity. Besides, causality analysis based on vector auto-regression model for the first difference series of CNY/CNH daily closing price and CNY/CNH BAS series are respectively implemented, which may be regarded as a preliminary analysis of relationship between CNH and CNY spot before conducting TOP method. All empirical results and corresponding analyses will be presented in this section. Section 4 concludes.

2. Methodology

2.1. Thermal Optimal Path Method

The thermal optimal path (TOP) method, also called thermal optimal causality path method can be viewed as complementing the Granger causality test method [7]. This method can detect the non-linear local dependence structure of time-series and reflect the degree and character of dependence in the different periods of time, which provides a new research perspective of the relationship between the two time series. The details about TOP method are as follows.
Consider two time series of {X(t1), t1 = 0,1,2,…,n} and {Y(t2), t2 = 0,1,2,…,n}. Suppose, here X(t1) and Y(t2) represent CNH and CNY spot series respectively. Through absolute distance, we define the distance between the realization of the first time series at i-th time point t1,i and the realization of the second time series at j-th time point t2,j:
ε(t1,i,t2,j) = |X(t1,i) − Y(t2,j)|,
where ε(t1,i, t2j) is called local distance or local energy.
The main idea behind TOP method is to construct a mapping Φ from times {t1} of the first time series X(t1) and the times {t2} of the second time series Y(t2) that ensures summation of local distance between X(t1) and Y(t2) minimal, i.e.:
Φ ( t 1 ) = { t 1 } { t 2 } = { Φ ( t 1 , i ) :     m i n i = 1 n ε ( t 1 , i , Φ ( t 1 , i ) ) }
Equation (2) implies that the correlation between X(t1) and Y(Φ(t1)) is closest in the sense of minimal difference in values of these two time series, i.e., X(t1) and Y(Φ(t1)) match best. Furthermore, the following constraint is added to ensure monotonicity and continuity of mapping function Φ:
0 Φ ( t 1 , i + 1 ) Φ ( t 1 , i ) 1 .
Let E(t1,i,t2,j)denote the summation of absolute distance of the optimal path starting from some original point of (t1,t2) and ending at some specific point (t1,i,t2,j), i.e., the cumulative absolute distance between X(t1) and Y(Φ(t1)) or minimum energy from the predetermined starting point of time to predetermined ending point of time. Under constraint (3), E(t1,t2) follows the fundamental relation in (4),
E(t1,i,t2,j) = ε(t1,i,t2,j) + Min[E(t1,i − 1, t2,j),E(t1,i, t2,j − 1),E(t1,i − 1, t2,j − 1)].
The key insight in (4) captured by this equation is that the minimum energy path that reaches point (t1,i,t2,j) can only come from one of the three points (t1,i−1,t2,j−1), (t1,i−1,t2,j) and (t1,i,t2,j−1) preceding it. Then, the minimum distance path reaching (t1,t2) is nothing but an extension of the minimum energy path reaching one of these three preceding points, determined from the minimization condition (3). Thus, the global minimization procedure is fully determined once the starting and ending points of the paths are defined. Since the lead-lag between the two time series can be anything at any time, we allow the starting point to lie anywhere on the horizontal axis t2 = 0 or on the vertical axis t1 = 0. Similarly, we allow the ending point to lie anywhere on the horizontal axis t2 = n or on the vertical axis t1 = n. This allows for the fact that one of the two time series may precede the other. For each given pair of starting and ending points, we obtain a minimum energy path. The minimum energy path over all possible starting and ending points is then the solution of our global optimization problem (2) under constraint (3). This equation of this global optimal path defines the mapping t1 and t2 defining the dependence relationship between the two time series.
An optimal path can be obtained by the dynamic optimization method shown as above, but the path may reflect a spurious relationship between {X(t1)} and {Y(t2)} due to the noise. Therefore, a thermal optimal path method is applied to reduce the interference of noise. The main procedures to obtain thermal optimal path are as follows:
Step 1: for the convenience of analysis, we use the following transformation of axes t1 and t2:
{ x = t 2 t 1 t = t 2 + t 1 ,
where t and x are interpreted as an effective time and the position of a path at time t respectively. The variable x directly quantifies the lead-lag relation between the two series by definition, and a positive (negative) x means that the first time series {X(t1)} leads (lags) the second time series {Y(t2)}.
Step 2: add Boltzman weight factor for reduction of noise. We define:
G ( x i , j , t i , j )   = c e E c T .
In expression (6), c is one path starting from (0,0) and ending at (tij, xij) where tij = t2,j + t1,i and xij = t2,jt1,i. In (6) Ec is defined as the cumulative energy, i.e., cumulative absolute distance in the given path c; T is the “temperature” for the path c; e E c T is defined as Boltzman factor corresponding to path c; G ( x i , j , t i , j ) is the sum of Boltzmann factors over all path starting from (0,0) and ending at (tij, xij). In the definition of (6), Boltzmann factor corresponding to one path decreases with the energy in this path increasing, which implies that the weight for the path with higher accumulated energy above the minimum energy in optimal path is smaller. Obviously, the weight for absolute minimum energy path obtained by solving the global optimization (2) under constraint (3) is larger than any other path. Temperature T is a key parameter and quantifies how much deviation from minimum energy is allowed. In brief, the smaller T is, the larger the probability that the optimal path with minimum energy is only used ignoring interference of noise is; while conversely, the larger T is, the larger the probability with that other path are used to average out noise contribution is. In the subsection, we show the sensitivity analysis of T.
Step 3: compute the Thermal optimal path and its variance. We use the following formulas:
x ( t ) = x x ( t )   G ( x , t ) / G ( t ) ,
σ x 2 = x ( x ( t )   x ( t ) ) 2 G ( x , t ) / G ( t ) ,
G ( t ) = x G ( x , t ) ,
where x ( t ) defined as average position at t is the thermal optimal causality path between time series X(t1) and Y(t2); σ x 2 defined as variance assesses the uncertainty of deviation from the optimal thermal path. The optimal thermal path x ( t ) takes into account the set of neighboring (in energy) paths, which allows one to average out the noise contribution to the distance matrix E(t1,i,t2,j). x ( t ) reflects the degree of time lag or time lead between X(t1) and Y(t2) for different periods of time. Positive (negative) x ( t ) indicates that the time of Y(t2) is greater (less) than the time of X(t1) when time series X(t1) and Y(t2) match best in the sense of expression (2). This implies that X(t1) leads (follows) Y(t2). x ( t ) is main result we show in the next section.

2.2. Improvement of TOP Method

The existing thermal optimal path (TOP) method suffers from two main computational limitations, although it is a comprehensible and conceptually appealing approach for detecting lead-lag dependency relationship between two time series. The first limitation lies in the fact that the calculations of the Boltzman factor weights at some time points cannot be implemented based on the existing TOP method, and thus Equation (7) may provide an inaccurate average thermal optimal path x ( t ) . The reasoning is that the calculations of some of Boltzman factor weights may involve calculation of cumulative distance of those paths emanating from origin (0,0) ending at a point beyond the period of observation, resulting from the expanded range of time variable t = t1+ t2 after coordinate translation is from (t1,t2) to (x, t). On this limitation of the existing TOP method, we provide more detailed descriptions below.
Let us recall a formula of x ( t ) presented in the paper of Sornette and Zhou [7] and shown by:
x ( t ) = x = t : 2 : t x G ( x , t ) / G ( t ) .
Equation (10) can be equivalently transformed to the following equation after using the coordinate’s transformation from (x, t) to (t1, t2) shown in (5):
< x ( t ) > = i = 0 t ( t 2 i ) g ( i , t i ) / i = 0 t g ( i , t i )   ,   t =   0 , 1 , , 2 n .
Here term t − 2i represents the time lag for a given t; g(i,t − i) represents the sum of Boltzmann factors, i.e., cumulative distance over all paths starting from (0,0) and ending at (i,t − i) in coordinate system (t1,t2); n + 1 represents number of data, thus n represents maximum subscription of sample. Equation (11) is actually used to determine the average thermal optimal path x ( t ) . However, it is not difficult to see that there are no definitions for some g(i,t − i) when either i or t − i is greater than n. This is because that g(i,t − i) is determined by sum of the local distance ε(t1,i,t2,j) where ε(t1,i,t2,j)is defined when i and j are between 0 and n, otherwise there is not definition for ε(t1,i,t2,j). For example, ε(0,2n) is not defined, because ε(0,2n) is defined by |X(t0) − Y(t2n)| based on (1), where Y(t2n) is not included in the observed sample set {Y(t0),Y(t1),…,Y(tn)}. However, calculation of x ( 2 n ) needs to use value of g(0,2n), in other word, the value of ε(0, 2n).
Aiming at addressing this limitation, this paper provides a Pruning Algorithm which can be considered to improve accuracy of TOP method. A natural way to solve the calculation problem of Boltzman factor discussed above is to just eliminate those weights of g(i,ti) without definition. Therefore, besides using formula (11) for obtaining x ( t ) , we add the following constraints:
{ 0 i n 0 t i n { 0 i n t n i t max { 0 , t n } i min { n , t } .
Replacing lower bound 0 and upper bound t with max { 0 , t n } and min { n , t } respectively, we have:
< x ( t ) > = i = max { 0 , t n } min { n , t } ( t 2 i ) g ( i , t i ) / i = max { 0 , t n } min { n , t } g ( i , t i ) ,   t = 0 , 1 , , 2 .
In Equation (13), all g(i,t − i) can be obtained based on the previous definition about cumulative distance, so value of x ( t ) for any t between 0 and 2n can be obtained. Those g(i,t − i) in that i does not satisfy condition (12) are eliminated from formula x ( t ) . Equation (13) presents the result of TOP method after the first Pruning.
The key idea of the Pruning Algorithm lies in directly eliminating those almost impossible choices or paths in the process of obtaining average thermal optimal path. For example, when either i or t − i is greater than n, any path starting from (0,0) ending at (i,t − i) in the case of size of sample equal to n can be regarded as an impossible path. After the first Pruning, or adding constraint of i shown in (12), it is not difficult to find that absolute value of lag term t − 2i is not great than n. In other words, the maximum lag quantity cannot exceed n that can be regarded as the length of period of observation. However, further pruning, i.e., further eliminating impossible paths needs to be considered to improve TOP method performance and reduce computation and memory requirement.
Besides (12), the condition |t − 2i| ≤ β (0 ≤ β ≤ n and β is predetermined nonnegative integer) is added to control lag term within an acceptable range from a practical point of view. Adding |t − 2i| ≤ β (i is nonnegative integer) to the equivalent expressions (12), then we have:
{ | t 2 i | β 0 i n 0 t i n { t β 2 i t + β 2 0 i n t n i t max { 0 , t n , t β min { 0 ,   ( 1 ) t + β } 2 } i min { n , t , t + β + min { 0 ,   ( 1 ) t + β } 2 } .
Let δ = min{0,(−1)t+β}. δ is 0, if both t and β are even numbers or odd numbers; otherwise, δ is −1. Under condition (14), Equation (13) can be further transformed to:
< x ( t ) > = i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } ( t 2 i ) g ( i , t i ) / i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } g ( i , t i ) , t =   0 , 1 , , 2 n .
Obviously, when β = n, conditions (14) and (12) are equivalent, and (15) and (13) are equivalent. (15) under constraint (14) is used to determine x ( t ) which implies that lag term exceeding this range, i.e., the ones greater than β (or β − 1) or less than −β (or −β + 1) are directly eliminated in the process of obtaining x ( t ) . More specifically, the value of lag term (t−2i) changes from β to −β when both t and β are odd numbers or even numbers, otherwise the value of lag term (t − 2i) changes from β − 1 to −β + 1. This can be regarded as further path pruning. It should be the case. For example, in this paper, we detect local lead-lag dependency relationship between CNH and CNY spot exchange rate. If lead-lag relationship exists, it means that CNH spot guides or lag CNY spot, i.e., changes in closing price of CNH spot rate happened before or after similar changes happened in CNY spot market. However, even though the lead-lag relationship exists; the possible time lag should fall within a certain range. Such event that current CNY(CNH) spot rates will repeat the change happened in CNH(CNY) spot market a half of year ago or a year ago may seldom occur. In this paper, we assume that β = 30 (one month), i.e., the maximum lag does not exceed one month within the period of observation. The influence of different valves of β, e.g., 3 (days), 7 (one week) and 15 (half of a month) on the results of thermal optimal path will be present in Section 3.
More paths are eliminated through further pruning. It seems to provide computational shortcuts. Even those accumulative Boltzman factors g(i,j) that don’t satisfy condition (14) are not needed to compute for determining x ( t ) after Pruning. We are still confronted with another problem when we implement TOP method to detect lead-lag dependency relationship between CNH and CNY spot. That is the values of lots of g(i,j) are unacceptably large which results in failure to obtain x ( t ) . For example, for determining x ( 1250 ) , g(620,630) is needed to be known and used, but the value of g(620,630) displayed in computer is “infinity”. This involves the second limitation of use of TOP method.
The second limitation lies in that big sample size may result in computational infeasibility of the TOP method. The computational quantity and time grows rapidly as number of data, n. By either using formula (4) to obtain minimum energy path or using (11) to obtain the average thermal optimal path, ones can be confront with the problem of computational infeasibility in the case of medium or large size sample. In our case, the number of time series data during the observation period is 1250 (see the following Section 3).This implies that numbers of possible starting points and ending points are 2n − 1 = 2 × 1250 − 1 = 2499 and 2n − 1 = 2 × 1250 − 1 = 2499 respectively, based on the preceding analyses. Thus, there are millions (24992) minimum energy paths between each possible starting point and ending point. It must involve computation and comparison of cumulative energy of millions even ten millions possible paths, in order to obtain the global optimal thermal path by using recursive Equation (4).
On the other hand, determination of average thermal optimal path by using Equation (7) or (11) may incur computational infeasibility in the case of big sample. g(i,j) may significantly increases as i and j increase because of the form of definition of g(i,j). In our case, the empirical results show that the maximum value of g(i,j) has already reached 4.2888 × 10180 for i,j between 250 and 500. For i,j greater than 510, the value of g(i,j) displayed in computer is “infinity”. Unacceptably large valves of g(i,j) result in computational infeasibility of average thermal path. In fact, eliminating the numerous and possible starting and ending points or Pruning Algorithm mentioned above cannot solve the problem when the time series data size is relatively big.
To resolve this limitation, this paper proposes the Path Segmentation method. We combine Path Segmentation and Pruning methods to solve the computational infeasibility of the TOP method in big sample size situations. Path Segmentation is mainly used to determine x ( t ) when t is relatively large. When t is big, all g(i,ti) tend to take unacceptably large values in Equation (15). We try to divide the path starting from origin (0,0) ending at (i,t − i) into two pieces: the one from origin to a point on the path; the another one from the ending point of previous sub path to (i,t − i).Through path segmentation, g(i,t − i) can roughly be described the multiplication of two cumulative Boltzman factors corresponding two sub paths. The Boltzman factor corresponding the first sub path as a common factor will be canceled from all g(i,t − i) terms in the numerator and denominator in formula (15). The cumulative Boltzman factors from a new chosen point to (i,t − i)are practically used to determine x ( t ) but the complete cumulative Boltzman factors from (0,0) to (i,t − i) when t takes relatively big value. The purpose of this lies in that calculation and use of some cumulative distance will be ended before its value reaches to “infinity” or unacceptably large. This can avoid computational infeasibility resulting from unacceptably large weight of sum of Boltzman factor g(i, t − i). We present the complete Path Segmentation method in the Appendix, because the whole analytical process is a little bit long, which would make reading inconvenient. Interested readers may check more details there. We only show the main procedures of Adjusted TOP method proposed by this paper in Algorithm 1.
Algorithm 1. Adjusted TOP method based on pruning and path segmentation algorithm
Pruning and Path Segmentation algorithm
  • Construct local distance matrix ε(t1,i,t2,j), for i, j = 0,1,2,…,n;
  • Use formula (15) to determine the average thermal optimal path x ( t ) , when the maximum value of independent variable i of g(i,t − i) used in (15) to compute x ( t ) is less than n*.
  • Use formula (A12) in Appendix to determine the average thermal optimal path x ( t ) ,when the maximum value of independent variable i of g(i,ti) used in (15) to compute x ( t ) is between n* and n* + n1β.
  • Use formula (A14) in Appendix to determine the average thermal optimal path x ( t ) ,when the maximum value of independent variable i of g(i,t − i) used in (15) to compute x ( t ) is between n* + n1β and n.
Note: the concrete definition and description of n*, n1 in Algorithm 1 can be funded in Appendix. In the following empirical study, n = 1249 (time-series data size) and we set n1 = 420 (a partition coefficient), n* = 510 (a threshold), and β = 30 (the possible maximum lag). Furthermore, the adjusted TOP method and existing TOP are the same for the case of small data (small time-series data size).

2.3. Numerical Tests on Simple Examples

2.3.1. Comparison on Single-Change-of-Regime in Time Lag

In this subsection, we present the simulation tests of the efficiency of the adjusted TOP approach combining Path Segmentation and Pruning method to detect single and multiple changes of regime and compare the results with the existing TOP method proposed by Sornette and Zhou [7]. First, we consider two stationary time series X(t1),Y(t2) that satisfy the following model:
Y(t2) = 0.8X(t2 − 5) + η.
In (16), the time lag between the two time series is 5, i.e., Y(t2) is behind X(t1) at 5 time lag; η, denoted as noise, is serially uncorrelated and follows normal distribution with mean of 0 and variance of 0.1. Time series X(t1) itself is generated from an auto-regression process:
X(t1) = 0.7X(t1 − 1) + ξ,
where noise ξ is serially uncorrelated and follows normal distribution with mean of 0 and variance of 1. In this simulation, we consider time series of duration N = 100. For more details about the construction of X(t1),Y(t2), we refer the interested readers to Sornette and Zhou [7].
By using the existing TOP method described as Equations (4)–(9) and the adjusted TOP method described as (15) respectively, the “optimal thermal paths” x ( t ) can be determined for different temperatures T = 1/20, 1/5, 1 and 10. All possible starting positions around origin (0,0) and ending positions around (99,99) are considered for the use of existing TOP method, while the parameter of the maximum time lag β is set to be 30 for the use of adjusted TOP method proposed by this paper. Figure 1 shows the transverse trajectory x = t2t1 as a function of the coordinate t = t2 + t1 based on the existing TOP method and adjusted TOP method.
It is clear that the results from the two TOP methods are quite similar and the time lag of 5 between the two time series can be discovered by both methods at the relatively low temperature T = 1/20, 1/5 and 1.

2.3.2. Comparison on Multiple-Change-of-Regime in Time Lag

We now present the tests of the efficiency of the adjusted TOP method to detect multiple changes of regimes in time lag and compare the results of the existing TOP method. Consider the following model:
Y ( i ) = { 0.8 X ( i ) + η ,   1 i 50 , 0.8 X ( i 10 ) + η ,   51 i 100 , 0.8 X ( i 5 ) + η ,   101 i 150 , 0.8 X ( i + 5 ) + η ,   151 i 200 , 0.8 X ( i ) + η ,   201 i 250 .
According to (18), it can be obviously found that the lead-lag relationship between two time series X(t) and Y(t) changes in the five different time periods. There is zero time lag between X and Y in the first and fifth time periods. Y is lagging behind X with 10 time steps in the second time period. Y is lagging behind X with 5 time steps in the third time period, while Y is leading before X with 5 time steps. The time series X is assumed to be the first-order AR process (17) and η is a Gaussian white noise with mean of 0 and variance of 0.1. Similarly to Section 2.3.1, by using existing TOP method and adjusted TOP method, we conduct the simulation tests on detection of lead-lag relationship between X and Y descried as (18) and present the results in Figure 2.
Figure 2 shows the transverse trajectory x ( i ) as a function of the time step i based on the existing TOP method and adjusted TOP method. It is clear that the results from the two TOP methods are quite similar and the genuine time lag between the two time series in different time period can be successfully identified by both methods at the relatively low temperature T = 1/5, although there are short transient crossovers from one time lag to the next at the joint points between the successive time periods.

2.3.3. Comparison on Multiple-Change-of-Regime in Time Lag with Big Data

(1) Case 1. In this case, we expand the whole time interval from [1, 250] to [1, 1250] in order to test the efficiency of the adjusted TOP method in big time-series data. Consider the following model:
Y ( i ) = { 0.8 X ( i ) + η ,   1 i 250 , 0.8 X ( i 10 ) + η ,   251 i 500 , 0.8 X ( i 5 ) + η ,   501 i 750 , 0.8 X ( i + 5 ) + η ,   751 i 1000 , 0.8 X ( i ) + η ,   1001 i 1250 .
According to (19), it can be obviously found that the lead-lag relationship between two time series X(t) and Y(t) changes in the five different time periods. There is zero time lag between X and Y in the first [1, 250] and fifth time periods [1, 1250]. Y is lagging behind X with 10 time steps in the second time period [251, 500]. Y is lagging behind X with five time steps in the third time period [501, 750], while Y is leading before X with 5 time steps [751, 1000]. The time series X is assumed to be the first-order AR process (17) and η is a Gaussian white noise with mean of 0 and variance of 0.1. Similarly to Section 2.3.1, by using existing TOP method and adjusted TOP method, we conduct the simulation tests on detection of lead-lag relationship between X and Y descried as (19) and present the results in Figure 3.
Figure 3 shows the transverse trajectory x ( i ) as a function of the time step i based on the existing TOP method and adjusted TOP method. For this case, the performances of two methods are obviously different: time lag detection based on the existing TOP method stops at the beginning of the fifth time period as illustrated in Figure 3a, while all genuine time lags between the two time series in different time periods can be successfully recovered by the adjusted TOP method as shown in Figure 3b. In the process of implementation of existing TOP method for this case, we find that the cumulative energy of a thermal path c, i.e., cumulative Boltzman factor G ( x , t ) gradually increases over time and G ( x , t ) becomes unacceptably large before time runs out, thus problem of computational infeasibility takes place.
Moreover, based on the existing TOP method, the performance of test on the detection of time lag between the pairwise has been influenced by temperature T. The test may stop earlier at quite low temperature, e.g., T = 0.05 or relatively high temperature e.g., T = 5, which can be found in Figure 3a. Conversely, by segmenting the whole path into some sub-paths, we use the detailed algorithm illustrated in Algorithm 1 to solve the problem of computational infeasibility and identify all time lags in different time interval finally. It is worth to note that the number of partition of whole thermal path H, partition coefficient n1, threshold n* should be set to be different values under different temperature T depending on the testing results from the existing TOP method, when the adjusted TOP method is applied in this case. For example, we make H = 2, n1 = 750, n* = n1 + = 750 + 2 × 30 = 810 at T = 0.2 and 1; and we make H = 5, n1 = 250, n* = n1 + = 250 + 2 × 30 = 310 at T = 0.05 and 5. This is because that the time-series data should be as much as possibly used for accurate detection of changes in time lag before the cumulative Boltzman factor reaching unacceptably large. For more detailed explanation, we refer interested readers to the Appendix. As the results in Figure 3b show, by using the adjusted TOP method, we identify all changes in time lags between the two time series. Therefore, the adjusted TOP method would be more applicable for detection of lead-lag relationship between the two time series with relatively long time duration from this case analysis.
(2) Case 2. In this case, we consider two time series X(t) and Y(t) generated from uniform distribution. Their lead-lag relationship is defined as following model:
Y ( i ) = { 0.8 X ( i ) + η ,   1 i 1000 , 0.8 X ( i 10 ) + η ,   1001 i 2000 , 0.8 X ( i 5 ) + η ,   2001 i 3000 , 0.8 X ( i + 5 ) + η ,   3001 i 4000 , 0.8 X ( i ) + η ,   4001 i 5000 .
In (20), it can be obviously found that the lead-lag relationship between two time series X(t) and Y(t) changes in the five different time periods. There is zero time lag between X and Y in the first [1, 1000] and fifth time periods [4001, 5000]. Y is lagging behind X with 10 time steps in the second time period [1001, 2000]. Y is lagging behind X with 5 time steps in the third time period [2001, 3000], while Y is leading before X with 5 time steps [3001, 4000]. The differences between Case 1 and Case 2 are that (1) the time period is expanded from [1, 1250] in Case 1 to [1, 5000] in Case 2; (2) the time series X(t) is assumed to follow a uniform distribution in the interval (0, 1) for Case 2. Similarly, by using existing TOP method and adjusted TOP method, we conduct the simulation tests on detection of lead-lag relationship between X and Y descried as (19) and present the results in Figure 4.
Figure 4 shows the different performance of the two methods for testing the time lag between two time series in different time periods. All time lags are not successfully identified by existing TOP method; and time lag between X and Y in the first time period cannot even be detected by existing TOP method with temperature T = 0.05, 1 and 5, as illustrated in Figure 4a. Conversely, all genuine time lags between the two time series in different time periods can be successfully recovered by the adjusted TOP method as shown in Figure 4b.
In summary, from the above comparative analyses we conclude that both the existing TOP method and the adjusted TOP method can be applied to detect the lead-lag relationship between two time series when the time-series data size is relatively small (see Section 2.3.1 and Section 2.3.2), while the adjusted TOP method outperforms the existing TOP method for recovering time lag between two time series when the time-series data size is relatively big (see Section 2.3.3). It worthwhile to note that the existing TOP method should be considered before implementing the adjusted TOP method for the purpose of achieving reasonable setting of the adjusted TOP method’s parameters such as the number of partition of whole thermal path H, partition coefficient n1 and threshold n* (see Section 2.3.3 Case 1). The reasoning is that although the existing TOP method is not applicable in case of big time series data, it can provide the reference values of the parameters for investigators. The settings of these parameters associate with the length of the considered time series as well as the computer storage and operation speed. The algorithm or theoretical analysis for the optimal settings of these parameters certainly requires in the future studies.

3. Empirical Results

3.1. Data Source and Description

Daily exchange rate data for the onshore spot (CNY) and offshore spot (CNH) markets are from Bloomberg. We use USD/CNY and USD/CNH exchange rate series from April 18, 2011 to January 29, 2016. For studying the relationship between onshore spot and offshore spot, we use CNY /CNH pairwise data. We discard the weekends and holidays during the observation period, because there is virtually no foreign exchange trading during these days. Finally, total 1250 groups of data are obtained. Each group of data includes: the daily highest price, lowest price and closing price of USD / CNY and USD / CNH exchange rate. For convenience, in the following content USD / CNH and USD / CNY spot exchange rate are noted as CNH and CNY respectively. The changing trends of closing price of CNH and CNY spot are present in Figure 5 below. The notations used in Section 3 and their explanations are shown in Table 1.

3.2. Liquidity Measure

Exchange rate bid-ask spread (BAS) has been widely used to reflect the liquidity level of a FX market due to its effectiveness [1]. In this paper, we employ a simple method proposed by Corwin and Schultz [26] to estimate BAS of CNH and CNY. This method uses daily highest and lowest price for estimating BAS. More specifically, the method uses high-low price ratio to reflect BAS and provides a high-low spread estimator. The main ideas behind this method can be described by the following equations:
S t = 2 ( e α t 1 ) 1 + e α t ,   t = 1 , 2 , ,   n 1 ,
α t = 2 β β 3 2 2 γ t 3 2 2 ,   t = 1 , 2 , ,   n 1 ,
β = 1 n 1 t = 1 n 1 { j = 0 1 [ l n ( H t + j L t + j ) ] 2 } ,
γ t = [ l n ( H t , t + 1 L t , t + 1 ) ] 2 , t = 1 , 2 , ,   n 1 .
The detailed description of variables in Equations (21)–(24) can be found in Algorithm 1. Since both onshore spot (CNY) and offshore spot (CNH) high-low spread are computed by (21)–(24), we drop the superscripts of the variables in (21)–(24) for convenience. γ t are computed by squaring natural log of the ratio of high to low price over two consecutive single days. According to (21)–(24), we compute the CNY (CNH) BAS and their statistics such as mean and standard deviation etc. that can be found in Table 2. We use Figure 6 to show the change trend of CNH and CNY spot BAS during the observation period.
The results in both Table 2 and Figure 6 show that CNH BAS is higher than CNY BAS which implies relatively poor liquidity of CNH market compared with CNY market. However, the difference between CNH BAS and CNY BAS exhibits an obvious downward trend in most recent years especially after the first half of 2015. This phenomenon is likely due to a series of steps such as creating a whole slate of investment products for qualified foreign institutional investors, reducing the Yuan clearing interest rate and easing the restriction on trade settlement that can be seen as improving CNH spot liquidity (see Ding [1] and Cushnie [21]).

3.3. Preliminary Analysis by Vector Auto-Regression Model

The vector auto-regression (VAR) model is typical conventional method used to detect the causality relation between two time series. VAR method has been used to investigate the relationship between onshore CNY spot and offshore non-deliverable forward rate [1]. In this subsection, as a comparison study of the CNY spot and CNH spot with following results from thermal optimal path method, we use VAR model to perform a causality analysis by using all data from April 18, 2011 till January 29, 2016.
The daily closing price series C l s t C N Y and C l s t C N H , the first difference series d t C N Y = C l s t + 1 C N Y C l s t C N Y and d t C N H = C l s t + 1 C N H C l s t C N H (t = 1,2,…,n − 1), and BAS series S t C N Y and S t C N H are taken to test for the stationarity of the data sets before the causality test is implemented. Augmented Dickey-Fuller (ADF) test method is used and the results of these tests are summarized in Table 3. The tests for C l s t C N Y and C l s t C N H provide no evidence against the unit root null hypothesis, thus both daily closing price series of offshore CNH spot and onshore CNY spot, C l s t C N H and C l s t C N Y are non-stationary. Conversely, the results show that the other four time series are significantly stationary at 1 percent level.
The following vector auto-regression (VAR) models are used to implement causality test provided that the first difference series and BAS series are stationary:
d t C N Y = α 0 , 1 + i = 1 p α i , 1 d t i C N Y + j = 1 q β j , 1 d t j C N H + ε 1 , t ,
d t C N H = α 0 , 2 + i = 1 p α i , 2 d t i C N H + j = 1 q β j , 2 d t j C N Y + ε 2 , t ,
S t C N Y = α 0 , 3 + i = 1 p α i , 3 S t i C N Y + j = 1 q β j , 3 S t j C N H + ε 3 , t ,
S t C N H = α 0 , 4 + i = 1 p α i , 4 S t i C N H + j = 1 q β j , 4 S t j C N Y + ε 4 , t ,
where εk,t(k = 1,2,3,4) is the white noise. Following the spirit of Ding et al. [1], for each VAR function above, we use five lags, i.e., p = q = 5, given one week of trading activity. Table 4 and Table 5 show the test results of 4 VAR models. The results in Table 4 indicate that the overall regression models are significant at 10% significance level. This implies that the changes in CNY spot cause the changes in CNH spot while the changes in CNH spot cause the changes in CNY spot during the observation period. The causality exists between CNY Bid-ask spread and CNH Bid-ask spread also.
Table 5 presents the coefficient estimate results of models (25)–(28). The values in the 2nd and 3rd columns are the estimation and p-value of coefficients of regression function (25). The values in other columns are the coefficients estimation of models (26)–(28). These results in Table 5 also reflect that onshore CNY spot market and offshore CNH spot market have a bidirectional relationship from two aspects of daily closing price change and liquidity. Taking the results of regression functions (25) and (26) as an example, besides the own influence, the difference of closing price of CNY spot rate at t-th day, d t C N Y . is significantly influenced by the difference of closing price of CNH spot rate at (t − 1)-th day and (t − 2)-th day, i.e., d t 1 C N H and d t 1 C N H . In turn, the difference of closing price of CNH spot rate at t-th day, d t C N H is significantly influenced by the difference of closing price of CNY spot rate at (t − 1)-th day, d t 1 C N Y .
The causality test based on VAR method above indicates that CNH and CNY have lagged impact on each other in the short term price change process. The CNY spot rate today is influenced by CNH spot at previous one day or two days, while CNH spot rate today is influenced by CNY spot rate on the previous day (In the preliminary analyses of relationship between CNH and CNY spot, for simplicity, we only consider the linear causality test based on vector auto-regression model. The parametric nonlinear relations test for foreign exchange rates time series has been considered in the literature (see e.g., Ma and Kanas [27]; Bekiros and Diks [28]), but it is out of the scope of this study). However, the result obtained by this method cannot tell us who is “the leader” and who is “the follower” obviously. Also, these results cannot address the question how the lead-lag relation between CNY/CNH pair changes over the different time periods, as economic conditions change. Below, with the non-parametric method of thermal optimal causality path, we try to answer these problems bypassed by existing causality analysis based on VAR model.

3.4. Analysis on Results of Thermal Optimal Causality Paths

3.4.1. The Results from Adjusted TOP Method

We here also use the stationary first difference series of closing price of CNH /CNY spot d t C N Y , d t C N H and CNH/CNY BAS series S t C N Y , S t C N H spanning from April 18, 2011 to January 19, 2016 to implement the adjusted TOP method described in Section 2. We obtain the thermal optimal causality paths x ( t ) between the first difference series of closing price of CNH and CNY spot at different temperatures. The graph of x ( t ) is shown in upper left of Figure 7.
We assume that X(t1) and Y(t2) represent CNH time series and CNY series respectively (recall Section 2.1). Therefore, according to the previous analysis in Section 2.1, positive x = t2t1 means that CNH spot guides CNY spot, i.e., changes in closing price of CNH spot rate happened before similar changes happened in CNY spot market. Conversely, negative x means that CNY spot guides CNH spot, i.e., changes in closing price of CNY spot rate happened before similar changes happened in CNH spot market. Finally, if x equals to 0 or changes slightly around 0, it means that CNH and CNY react upon one another without obvious lead-lag relationship.
The horizontal and vertical axes of “chart (a)” in the upper left part of Figure 7 correspond to the observation period and the thermal optimal path between difference series of closing price of the CNH and CNY spot markets, respectively. “T” corresponds to the temperature. “Chart (a)” shows that the thermal optimal path becomes increasingly sharp with temperature T decreasing, because the influence of noise is quite large for the small T, e.g., the case of T= 0.01. On the contrary, the curve of x ( t ) is so flat that noise and some probably important information are averaged out when the temperature is quite high, e.g., the case of T = 10. These results are consistent with the previous analysis on parameter T of TOP method. We select the thermal optimal path of T = 0.2 for further analysis, since the curve x ( t ) at T = 0.2 is neither too sharp nor too flat. We present it individually in “chart (b)” in the upper right of Figure 7. Besides, the thermal optimal causality paths x ( t ) between Bid-Ask spread of CNH spot and Bid-Ask spread of CNY spot series at different temperature is shown in “chart (c)” at bottom left of Figure 7. The fluctuation of the graph of TOP x ( t ) in chart C is increasingly vigorous as the temperature T decreases, which is similar to results presented by “chart (a)”. For further analysis, we also select the case of thermal optimal path of T = 0.2 and present it in “chart (d)” at the bottom right of Figure 7.
Chart (b) in Figure 7 indicates that lead-lag relationship between CNH/CNY pair changes for different time periods. Chart (b) shows that the graph of thermal optimal path x ( t ) changes slightly around 0 most of time during almost 5-year period of observation. This means that CNH spot and CNY spot react basically upon one another without obvious lead-lag relationship. The obvious deviations from 0 occur on the third quarter of 2011 and second half of 2015. It is well-known that both U.S.A and Europe experienced a significant drop in stock prices in August of 2011. The big drop in stock prices was perceived as a sign of economy going down. On the other hand, the People’s Bank of China announced reform of the RMB mid-price quotation process in August 2015, improving RMB exchange rate formation mechanism but causing simultaneously enormous fluctuation of the RMB value at that time. Subsequently, the TED spread was exploding at the end of December, 2015, signaling an increasing level of risk in the financial markets. We divide the observation period into two phases in this paper. The period of time when a significant economic event influencing FX market occurs is defined as a special phase. Thus third quarter of 2011 and second half of 2015 can be said to be a special phase. The period of time when the world financial market is relatively stable is defined as the normal phase.
Results in chart (b) indicate that a significant difference between CNH closing and CNY closing exists during the special phase; furthermore, changes in offshore CNH spot happened before onshore CNY spot changing since x ( t ) is significantly greater than 0. In other words, offshore CNH spot market may react more quickly to the changes of international market or the reform of RMB exchange rate formation mechanism compared with onshore CNY spot market. The change of onshore CNY spot tracks and follows the changes of offshore CNH spot price for a while until this lead-lag relationship disappears. From this perspective, offshore CNH spot market dominates onshore CNY spot market in turbulent and highly uncertain economic conditions. The changing tendency of price presented in Figure 5 also gives a hint that the deviation between closing price of CNH and CNY spot is quite obvious in the third quarter of 2011 and second half of 2015, while closing price of CNH spot seems to synchronize with CNY spot during the rest of observation period. However, from chart (b), we do not find the evidence that a lasting and stable guidance of offshore CNH spot market on onshore CNY spot market exists at the special stage, since the thermal optimal path function x ( t ) does not provide a stable value of lag. This may be because tradeoff between the influence of offshore CNH spot market on onshore CNY spot market and the influence of the regulation from the People’s Bank of China on onshore CNY spot market and there is need for further study.
On another front, results on CNH and CNY market liquidity in “Chart (d)” present that the thermal path x ( t ) is almost between -2(day) and 2(day) around the time axis without violent fluctuations seen in the special phase, unlike the results in “Chart (b)”. This means that changes in CNH market liquidity occur sometime, while the changes in CNH market liquidity lag behind the change in CNY market liquidity. The results based on the TOP method furthermore indicate that there is no obvious lead-lag relation between CNH and CNY market liquidity during the observation period. In general, CNH market liquidity reacts to the changes in economic conditions earlier, compared with CNY market due to positive value of x ( t ) most of time during the observation period. However, the stable lead-lag relation is not formulated, which may be caused by the strict restrictions on CNH market liquidity from PBC and the HKMA.

3.4.2. Analysis on Influence of Maximum Lag Results on Thermal Optimal Path

In our study, we propose the Pruning and Path Segmentation algorithm (PPSA) to fully address the problem of computational infeasibility of the original TOP method shown in Section 2.2, when the cumulative Boltzman factors involved tend to become unacceptably large with increasing sample size. Naturally, β, maximum lag is an important parameter for PPSA and should be predetermined by ones. If different values of maximum lag β bring about dramatically changes of results even opposite results and conclusion, this means that PPSA may not perform steadily. Therefore, in this part, we show the influence of changes in maximum lag β on the results of the average optimal thermal paths. We set β = 30, 15, 7, 3 respectively and obtain an average optimal thermal paths between difference series of CNH spot rate and CNY spot rate. We present the corresponding results by Charts (a), (b), (c), (d) in Figure 8. Similarly, we present the results of average optimal thermal paths between CNH and CNY Bid-Ask Spread series by Charts (a), (b), (c), (d) in Figure 9. The results show that whole tendency of TOP path does not significantly change as β changes, when the value of β is set to be relatively large. Although the value of x ( t ) is reducing with β decreasing, features of lead-lag over the period of observation depicted by average thermal optimal paths remain almost the same. This indicates that the results and related analyses based on PPSA are reliable. Meanwhile TOP method’s popularity would be enhanced due to introduction of PPSA to some extent. It is worthwhile to note that quite small values of β, e.g., β = 3 (see the case of Figure 8d), are not suitable, because too small β provides little information for the detection of lagged dependency relation between two time series.

4. Conclusions

The foreign exchange price change and liquidity should be the two important indicators that draw concern from investors and policy makers. In this paper, we study the correlation between the CNH spot market and CNY spot market from the two aspects of daily closing price change and Bid-Ask spread (BAS) as a proxy of market liquidity.
By using vector auto-regression model, we find that the causality exists between both intraday price changes for CNY/CNH spot rate and CNH/CNY BAS during the observation period of 2011–2016. Furthermore, by using the adjusted thermal optimal method, we also detect the local lead-lag dependence between CNH and CNY spot market in the contexts of daily closing price change and Bid-Ask spread (2011–2016). The results show that offshore CNH market plays the role of a Forerunner, i.e., the changes in offshore CNH spot rates precede the changes in onshore CNY spot rates, while onshore CNY spot plays the role of a Follower, at the beginning of economic turmoil. The increasingly strong influence of onshore CNY on offshore CNH leads to the disappearance of the lead-lag relationship between CNH/CNY pair gradually. On the other hand, the local lead-lag correlation between CNH/CNY BAS (liquidity) cannot be discovered, unlike daily closing price change of CNH and CNY spot. Neither the Forerunner nor the Follower is obvious, even when economic conditions change. The strict restriction on cross-border cash flow would be the reason why the lead-lag relationship between CNH market liquidity and CNY market liquidity is not found. Difference in determinants that influence the foreign exchange price formulation and liquidity would be the essential reason.
Our studies may help both policy makers and investors to make decision from the perspective of application. An investor can understand the market liquidity situation and get better returns via observing the pricing signals from the offshore/onshore market over the different time periods. For example, the investor may efficiently predict the changes in CNY spot rate according to the changes occurring in CNH spot rate market and hedge the risk associated with trading foreign currency, especially when the economic conditions begin to change obviously. For policymakers, Chinese government may need to consider the linkage between CNH and CNY spot markets and the possible policy transmission when constructing regulatory policy of renminbi foreign exchange market. Further, the government may take measures for relaxing the restriction of liquidity of offshore exchange rate market, such as permitting cross-border renminbi funds flowing from the onshore to the offshore market. In this way, the linkage between onshore and offshore markets can be strengthened, and the adverse effect of international economic pressure on offshore market can be compensated, thereby stabilizing the renminbi exchange rate and promoting the development of the market.
Last but not least, we propose an algorithm combining Pruning and Path segmentation to overcome the difficulty of large-scale computation required in thermal optimal path function involving cumulative Boltzman factors and improve the performance of existing TOP method in the application of the detection of long-range lagged dependence between two time series. Moreover, the theoretical analyses and simulation results are presented to verify validity of the adjusted thermal optimal path method in the setting of big time-series data set. Still, despite all this, the efficiency, effectiveness and robustness of adjusted thermal optimal path method for use in other application areas may need to further study. Besides, the dependence between CNH/CNY spot rates series may need further investigation by other more methods such as graph theory approach, complex network and deep learning approach. How to appropriately use them is still an interesting problem which requires detailed work.

Author Contributions

All authors designed the study; all authors performed the analysis; all authors analyzed and interpreted the results; all authors wrote the paper.

Funding

This research was funded by National Natural Science Foundation of China under grant numbers 71731003, 71671023, 71301017, 51375067 and 11301050, and by National Social Science Foundation of China under grant number 16BTJ017, and by China Postdoctoral Science Foundation funded project under grant number 2016M600207 and by the Fundamental Research Funds for the Central Universities under grant numbers DUT19LK50 and QYWKC2018015. The authors wish to thank the organizations mentioned above.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

This part, we illustrate how to use Path Segmentation method to determine the average thermal optimal path x ( t ) when related g(i, ti) are unacceptably large. Let us define some notations firstly.
Let n* be a threshold. Suppose for both i and j not greater than n*, the cumulative Boltzman factor g(i,j) can be obtained; otherwise the value of g(i,j) becomes unacceptable large. It is not difficult to determine the suitable value of n* with the related empirical results for any specific cases.
Let n be the maximum subscription of data. Since we denote the first data pair as (x0, y0), the sample size is n + 1. We divide all samples into H groups. The number of the groups and the number of sample of each group would not unique. In our case, we divide all samples into almost equally 3 groups with consideration of convenience of calculation i.e., H = 3. The first group consists of n1 + 1 data. The second group consists of n1 data; and the third one consists of n − 2n1. We define n1 as partition coefficient in this paper. Once H is set to 3, then we request that 2n1 < n ≤ 3n1; n* ≥ n1 + 3β; and n1 > 2β, where β, a positive integer, representing the possible maximum lag. For the general case, the request becomes: (H − 1)n1 < nHn1, n* ≥ n1 + Hβ, and n1 > (H − 1)β. These requirements about n1, n* and β can be met easily, because the way to divide all samples is not unique. Furthermore, in order to use as much data as possible and therefore use more information from data, we can set n1 to be minimum of integer value of n/2 and n* − 3β. In this study, n = 1249 and we set n1 = 420, n* = 510, and β = 30.
Now, we present the process of determination of x ( t ) that involves the computation of g(i,j) for i, j subject to n* < i, j < n* + n1β. It is obviously infeasible to directly compute the value of g(i,j) when both i,j > n*. In our case, we find that g(i,j) is still not computable when I > n* and 0 < jn* or j > n* and 0 < in*. We will talk about this later. Let us go back to the case when n* < i,j < n* + n1β. Furthermore, we have that i,j > n1 + β is satisfied, because of the predetermined assumption of n* ≥ n1 + 3β.
It is easily to be known that any path from origin point (0,0) to ending point (i,j) must pass through a point among 2β + 1 points satisfying {(t1,t2): t1 = n1, n1βt2n1 + β, t1 and t2 are integers}, because all paths must lie between −βt2t1β under the assumption of (14) and i, j > n* ≥ n1 + 3β. Thus, all paths from origin to (i,j) can be described by a union of 2β + 1 disjoint path sets passing through the different 2β + 1 points, i.e., (n1, n1β), (n1,n1β + 1),…,(n1, n1 + β).
Let PK+1 represent a path set defined as follows:
PK+1 = P K + 1 ( 1 ) + P K + 1 ( 2 ) = {C(1): C(1) = C(0,0)→(n1, n1-β+K)} +{C(2): C(2) = C(n1, n1−β+K)→(i,j)}
= {C: C = C(1) + C(2)}, K = 0,1,…,2β.
Here C(0,0)→(n1, n1−β+K) represents a path starting from (0,0) and ending at (n1,n1β + K). Moreover, there is only point of intersection of the path denoted by C(0,0)→(n1, n1 − β + K) and vertical line t1 = n1 in coordinates (t1, t2). Here, C(n1, n1 − β + K)→(i,j) represents an arbitrary path starting from (n1,n1 − β + K) ending at (i,j). C is a path from origin (0,0) to (i,j). Thus, the union of PK+1, K = 0,1,…,2β, is the set of all path starting from (0,0) and ending at (i,j) and these path sets denoted by PK+1 are disjoint. “Disjoint path set” here means that there is no any completely same path in different path sets PK+1 with different value of K. We discuss how to obtain the cumulative Boltzman factors of different path sets PK+1 below.
① For C∈P1(K = 0), C can be divided into two segments denoted by C(1) and C(2), i.e., C =C(1) + C(2) = C(0,0)→(n1, n1 − β) + C(n1, n1 − β)→(i,j). The energy corresponding C can be described by:
E C = E C ( 1 ) + E C ( 2 ) ε ( n 1 , n 1 β ) .
So, the Boltzmann factor corresponding to path C is:
e E c = e E C ( 1 ) e E C ( 2 ) e ε ( n 1 , n 1 β ) .  
Furthermore, we have:
C P 1 e E C = C ( 1 ) P 1 ( 1 ) e E C ( 1 ) C ( 2 ) P 1 ( 2 ) e E C ( 2 ) e ε ( n 1 , n 1 β ) = C ( 1 ) P 1 ( 1 ) e E C ( 1 ) g 1 e ε ( n 1 , n 1 β ) ,
where g 1 = C ( 2 ) P 1 ( 2 ) e E C ( 2 ) . g1 represents the sum of Boltzmann factor over all path starting from (n1,n1β) and ending at (i,j). According to previous statement that n* < i,j < n* + n1β, we have In1 < n*β < n* and j − (n1β) < n*.This implies that the difference between coordinates of corresponding starting point (n1,n1β) and ending point (i,j), i.e., In1 and jn1+β, is not greater than n* respectively. So, g1 is computable because not greater n* pair data are used. Obviously, the first term on the most right hand side (RHS) of Equation (A3) is computable also, which resulted from similar analysis with g1. In a word, the cumulative Boltzman factor shown as the term on the most left hand side (LHS) of (A3) is computable.
② When C∈P2 corresponding the case of K = 1, we have:
C = C(1) + C(2) = C(0,0)→(n1, n1-β+1)+ C(n1, n1-β+1)→(i,j) = C(1) + C(2) + (n1,n1β) − (n1,n1β).
In the expression above, let C * ( 2 ) = C(2) + (n1,n1β) = C(n1, n1-β+1)→(i,j) + (n1,n1β). C * ( 2 ) represents a path starting from (n1,n1β) and ending at (i,j). We define:
P 2 ( 2 ) ( a ) = P 2 ( 2 ) + ( n 1 , n 1 β ) = { C * ( 2 ) : C ( 2 ) + ( n 1 , n 1 β ) , C ( 2 ) P 2 ( 2 ) } .
The energy of path C∈P2 can be described by:
E C = E C ( 1 ) + E C ( 2 ) ε ( n 1 , n 1 β + 1 ) = E C ( 1 ) + E C * ( 2 ) ε ( n 1 , n 1 β ) ε ( n 1 , n 1 β + 1 ) .
Therefore, we have:
e E C = e E C ( 1 ) e E C * ( 2 ) e [ ε ( n 1 , n 1 β ) + ε ( n 1 , n 1 β + 1 ) ] ,
C P 2 e E C = C ( 1 ) P 2 ( 1 ) e E C ( 1 ) C * ( 2 ) P 2 ( 2 ) ( a ) e E C * ( 2 ) e [ ε ( n 1 , n 1 β ) + ε ( n 1 , n 1 β + 1 ) ] = C ( 1 ) P 2 ( 1 ) e E C ( 1 ) g 2 e [ ε ( n 1 , n 1 β ) + ε ( n 1 , n 1 β + 1 ) ] .
③ When C∈P K+1 corresponding the general case, similarly we have:
E C = E C ( 1 ) + E C ( 2 ) ε ( n 1 , n 1 β + K ) = E C ( 1 ) + E C * ( 2 ) d = 0 K 1 ε ( n 1 , n 1 β + d ) ε ( n 1 , n 1 β + K ) = E C ( 1 ) + E C * ( 2 ) d = 0 K ε ( n 1 , n 1 β + d )
Furthermore, we have:
C P k + 1 e E C = C ( 1 ) P k + 1 ( 1 ) e E C ( 1 ) C * ( 2 ) P k + 1 ( 2 ) ( a ) e E C * ( 2 ) e d = 0 k ε ( n 1 , n 1 β + d ) ,
where path C * ( 2 ) and path set P k + 1 ( 2 ) ( a ) are defined as follows:
C * ( 2 ) = C ( 2 ) + ( n 1 , n 1 β + K 1 ) + + ( n 1 , n 1 β ) P k + 1 ( 2 ) ( a ) = P k + 1 ( 2 ) + ( n 1 , n 1 β + K 1 ) + + ( n 1 , n 1 β ) = { C * ( 2 ) : ( n 1 , n 1 β ) ( n 1 , n 1 β + 1 ) ( n 1 , n 1 β + K ) ( i , j ) }
More specifically, in this case, C(2) represents a path from (n1,n1β + K) to point (i,j); and C * ( 2 ) represents a path starting from (n1,n1β) and passing through points (n1,n1β + 1), (n1,n1β + 2),…, (n1,n1β + K −1), (n1,n1β + K) and ending at point (i,j). P k + 1 ( 2 ) ( a ) is a path set including all paths like C * ( 2 ) . Furthermore, we define:
P k + 1 ( 1 ) ( a ) = P k + 1 ( 1 ) + ( n 1 , n 1 β + K + 1 ) + + ( n 1 , n 1 + β ) = { C * ( 1 ) : ( 0 , 0 ) ( n 1 , n 1 β + K ) ( n 1 , n 1 β + K + 1 ) ( n 1 , n 1 + β ) } .
C * ( 1 ) in the definition above represents the path starting from (0,0) and arriving at point (n1,n1-β+K) first and then passing through (n1,n1β + K + 1), (n1,n1β + K + 2),…, (n1,n1 + β − 1) and ending at (n1,n1 + β). Moreover, C * ( 1 ) does not include anyone among the points (n1,n1β), (n1,n1β + 1),…, (n1,n1β + K − 1). According to the definition of C * ( 1 ) , we have:
E C * ( 1 ) = E C ( 1 ) + ε ( n 1 , n 1 β + K + 1 ) + + ε ( n 1 , n 1 + β ) = E C ( 1 ) + d = K + 1 2 β ε ( n 1 , n 1 β + d ) .
Equivalently, we have
E C ( 1 ) = E C * ( 1 ) d = K + 1 2 β ε ( n 1 , n 1 β + d ) .
Substituting (A8) into the first term of right hand side of Equation (A6), we have:
C P k + 1 e E C = C * ( 1 ) P k + 1 ( 1 ) ( a ) e E C * ( 1 ) C * ( 2 ) P k + 1 ( 2 ) ( a ) e E C * ( 2 ) exp { K = 0 2 β ε ( n 1 , n 1 β + K ) } .
According to the definition of P K + 1 ( 2 ) ( a ) , we have P 1 ( 2 ) = P 1 ( 2 ) ( a ) P 2 ( 2 ) ( a ) P 2 β + 1 ( 2 ) ( a ) . Let gK+1 denote the second term of RHS of Equation (A9). gK+1 should decrease with K increasing, i.e., g2β+1g2β ≤ …≤ gK+1 ≤ … ≤ g2g1. More specifically, g1 is the maximum value among {gK+1, K = 0,1,…,2β} and represents the cumulative Boltzman factor corresponding to all path from (n1,n1β) to (i,j) under the condition |ji| ≤ β and n* < i,j < n* + n1β. According to the analysis of case ①, g1 is computable. g2β+1 is the minimum value {gK+1, K = 0,1,…,2β} and represents the multiplication of the Boltzman factor corresponding to the path from (n1,n1β) to (n1,n1 + β − 1) and the cumulative Boltzman factor corresponding to all path from (n1,n1 + β) to (i,j). g2β+1 is computable also, because g2β+1 is less than computable g1. We use the average value of g1 and g2β+1, denoted by ri,j to approximate the values of all gK+1 (K = 0,1,…,2β) for the convenience of following computations and analyses. The third term of right hand side of Equation (A9) is a constant value and can be denoted by D. We substitute ri,j and D to the second and third terms of right hand side of (A9) respectively and we have:
C P k + 1 e E C C * ( 1 ) P k + 1 ( 1 ) ( a ) e E C * ( 1 ) r i , j D .
Furthermore, we can obtain the cumulative Boltzman factor corresponding to all path from (0,0) to (i,j) by the following expression:
g ( i , j ) = C e E C = K = 0 2 β C P K + 1 e E C K = 0 2 β C * ( 1 ) P k + 1 ( 1 ) ( a ) e E C * ( 1 ) r i , j D = g ( n 1 , n 1 + β ) r i , j D .
In (A11), g(n1,n1 + β) denotes the cumulative Boltzman factor corresponding all possible paths from (0,0) to (n1,n1 + β). According to the previous definition of P K + 1 ( 1 ) ( a ) , K = 0 2 β P K + 1 ( 1 ) ( a ) is the path set including all paths starting from (0,0) and ending at (n1,n1+β) and P K + 1 ( 1 ) ( a ) are disjoint sets for different K. Therefore, the sum of the cumulative Boltzman factor corresponding to each path set P K + 1 ( 1 ) ( a ) is exactly the cumulative Boltzman factor corresponding all possible paths from (0,0) to (n1,n1 + β) and can surely be denoted by g(n1,n1 + β). So far, we have approximately expressed the cumulative Boltzman factor from (0,0) to (i,j), g(i,j) by the multiplication of the cumulative Boltzman factor from (0,0) to(n1,n1 + β), g(n1,n1 + β) and the average value of the cumulative Boltzman factor from (n1,n1 + β) to (i,j) and the cumulative Boltzman factor from (n1,n1β) to(i,j), ri,j, when n* < i, j < n* + n1β. Furthermore, we can compute the average thermal path as follows:
< x ( t ) > = i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } ( t 2 i ) g ( i , t i ) / i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } g ( i , t i ) i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } ( t 2 i ) g ( n 1 , n 1 + β ) r i , t i D / i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } g ( n 1 , n 1 + β ) r i , t i D = i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } ( t 2 i ) r i , t i / i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } r i , t i .
In order to obtain the expression of x ( t ) above and analyze conveniently, we suppose that all i and ti in (A12) are between n* and n* + n1β. In fact, only if the maximum value of independent variable i of g(i,ti) used in (15) to compute x ( t ) is between n* and n* + n1β, the thermal average path x ( t ) can be obtained by (A12). Let us give more detailed explanation. If the maximum value of i in all g(i,ti) of expression (15) is greater than n*, then the minimum value of i must be greater than n* − β, due to condition of Pruning Algorithm shown by (14). This implies that all possible values of independent variables pairs i and ti of g(i,ti) involved in expression (15) are greater than n* − β. It is clear that we have all i and ti are greater than n* − β also greater than n1 + β, since we suppose n* ≥ n1 + 3β. Thus, g(i,ti) in that all i and ti are greater than n1 + β can approximately be described by (A11) and x ( t ) can be determined by expression (A12) correspondingly, based on the previous analyses. It tells that only if exist one term g(i,ti) used in (15) to compute x ( t ) is unacceptably large, all other related terms g(i,ti) should take quite big value, therefore all used g(i,ti) can be described by (A11) and therefore, x ( t ) can be determined by expression (A12).
Now, we can summarize that expression (A12), called Path segmentation algorithm in this paper, can be used to obtain x ( t ) , when the maximum value of independent variable i of g(i,ti) used in (15) to compute x ( t ) is between n* and n* + n1β.
Let us discuss the case when the maximum value of independent variable i of g(i,ti) used in (15) to compute x ( t ) is greater than n* + n1β and less than n. We change the boundary of segmentation path from {(t1,t2): t1 = n1, n1βt2n1 + β, t1 and t2 are integers} to {(t1,t2): t1 = 2n1, 2n1βt2 ≤ 2n1 + β, t1 and t2 are integers}. This is clear that the computation of g(i,ti) with such i that is greater than n* + n1βmay involve n* or more than n* pair data, which is likely to result in unacceptably large value of g(i,ti), if we choose {(t1,t2): t1 = n1, n1βt2n1 + β, t1 and t2 are integers} as the boundary of segmentation path, since i−(n1β) > n* + n1β − (n1β) = n*. In this case, the minimum value of independent variable i of g(i,ti) used in (15) to compute x ( t ) should be greater than (n* + n1β) − β = n* + n1 − 2β, since the difference between the maximum value and minimum value of independent variable i of g(i,ti) is not greater than β. Furthermore, we have that all possible values of the two independent variables i and ti of g(i,ti) used in (15) to compute x ( t ) are between n* + n1 − 2β and n. Similarly to the case when n* < i, j = tI < n* + n1β, all path starting from (0,0) and ending to (i,ti) in this case can be divided into two parts, the one from (0,0) to (2n1,2n1β + K) and the another one from (2n1,2n1β + K) to (i,ti) where K = 0,1,…,2β, since i − (2n1 + β) > n* + n1 − 2β−(2n1+β) = n* − (n1 + 3β)>0, ti − (2n1 + β) > n* − (n1 + 3β) > 0. Correspondingly, we have:
g ( i , j ) = C e E C g ( 2 n 1 , 2 n 1 + β ) r i , j D ,
where ri,j is the average value of the cumulative Boltzman factor from (2n1,2n1 + β) to (i,j) and the cumulative Boltzman factor from (2n1,2n1β) to (i,j); and D is a constant equal to e x p { K = 0 2 β ε ( 2 n 1 , 2 n 1 β + K ) . Furthermore, we have:
< x ( t ) > = i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } ( t 2 i ) g ( i , t i ) / i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } g ( i , t i ) i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } ( t 2 i ) g ( 2 n 1 , 2 n 1 + β ) r i , t i D / i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } g ( 2 n 1 , 2 n 1 + β ) r i , t i D = i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } ( t 2 i ) r i , t i / i = max { 0 , t n , t β δ 2 } min { n , t , t + β + δ 2 } r i , t i .  
Finally, we can summarize that expression (A14), also called Path segmentation algorithm in this paper, can be used to obtain x ( t ) , when the maximum value of independent variable i of g(i,ti) used in (15) to compute x ( t ) is between n* + n1β and n. The appendix is an optional section that can contain details and data supplemental to the main text. For example, explanations of experimental details that would disrupt the flow of the main text, but nonetheless remain crucial to understanding and reproducing the research shown; figures of replicates for experiments of which representative data is shown in the main text can be added here if brief, or as Supplementary data. Mathematical proofs of results not central to the paper can be added as an appendix.

References

  1. Ding, D.K.; Tse, Y.; Williams, M. The price discovery puzzle in offshore yuan trading: different contributions for different contracts. J. Futures Mark. 2014, 34, 103–123. [Google Scholar] [CrossRef]
  2. Cheung, Y.; Rime, D. The offshore renminbi exchange rate: Microstructure and links to the onshore market. J. Int. Money Finance 2014, 49, 170–189. [Google Scholar] [CrossRef]
  3. Wu, G.; Pei, C. A quantitative research on the relationship among onshore spot exchange rate, offshore spot exchange rate and offshore NDF rate. J. Financ. Res. 2012, 9, 62–73. [Google Scholar]
  4. Leung, D.; Fu, J. Interactions between CNY and CNH Money and Forward Exchange Markets; Research Working Papers No. 13; Hong Kong Institute for Monetary: Hong Kong, China, 2014. [Google Scholar]
  5. Du, J.; Lai, K.K. Copula-based risk management models for multivariable RMB exchange rate in the process of RMB internationalization. J. Syst. Sci. Complex. 2017, 30, 660–679. [Google Scholar] [CrossRef]
  6. Shi, L. Research of coupling effects between the offshore RMB exchange rate and onshore exchange rate. Asian J. Empir. Res. 2016, 6, 201–209. [Google Scholar]
  7. Sornette, D.; Zhou, W. Non-parametric determination of real-time lag structure between two time series: The ’optimal thermal causal path’ method. Quant. Finance 2005, 5, 577–591. [Google Scholar] [CrossRef]
  8. Zhou, W.; Sornette, D. Non-parametric determination of real-time lag structure between two time series: The “optimal thermal causal path” method with applications to economic data. J. Macroecon. 2006, 28, 195–224. [Google Scholar] [CrossRef]
  9. Zhou, W.; Sornette, D. Lead-lag cross-sectional structure and detection of correlated–anticorrelated regime shifts: application to the volatilities of inflation and economic growth rates. Phys. A Stat. Mech. Its Appl. 2007, 380, 287–296. [Google Scholar] [CrossRef]
  10. Stoop, M. Credit Creation and Its Contribution to Financial Crises. Master’s Thesis, Swiss Federal institute of Technology Zurich, Zurich, Switzerland, 2010. [Google Scholar]
  11. Guo, C.; Zhou, W.X.; Cheng, S.W. Economy barometer analysis of China stock market—A dynamic analysis based on the thermal optimal path method. J. Manag. Sci. China 2012, 15, 1–10. [Google Scholar]
  12. Guo, K.; Sun, Y.; Qian, X. Can investor sentiment be used to predict the stock price? Dynamic analysis based on China stock market. Phys. A Stat. Mech. Its Appl. 2017, 469, 390–396. [Google Scholar] [CrossRef]
  13. Gong, C.; Ji, S.; Su, L.; Li, S.; Ren, F. The lead–lag relationship between stock index and stock index futures: A thermal optimal path method. Phys. A Stat. Mech. Its Appl. 2016, 444, 63–72. [Google Scholar] [CrossRef]
  14. Meng, H.; Zhou, W.; Sornette, D. Symmetric thermal optimal path and time-dependent lead-lag relationship: novel statistical tests and application to UK and US real-estate and monetary policies. Quant. Finance 2017, 17, 959–977. [Google Scholar] [CrossRef]
  15. Wang, D.; Tu, J.; Chang, X.; Li, S. The lead-lag relationship between the spot and futures markets in China. Quant. Finance 2017, 17, 1447–1456. [Google Scholar] [CrossRef]
  16. Jia, R.; Wang, D.; Tu, J.; Li, S. Correlation between agricultural markets in dynamic perspective—Evidence from China and the US futures markets. Phys. A Stat. Mech. Its Appl. 2016, 464, 83–92. [Google Scholar] [CrossRef]
  17. Wang, X.; Guo, K.; Lu, X. The long-run dynamic relationship between exchange rate and its attention index: Based on DCCA and TOP method. Phys. A Stat. Mech. Its Appl. 2016, 453, 108–115. [Google Scholar] [CrossRef]
  18. Xu, H.; Zhou, W.; Sornette, D. Time-dependent lead-lag relationship between the onshore and offshore Renminbi exchange rates. J. Int. Financ. Mark. Inst. Money 2017, 49, 173–183. [Google Scholar] [CrossRef]
  19. Galati, G. Trading Volumes, Volatility and Spreads in Foreign Exchange Markets: Evidence from Emerging Market Countries; Working Paper, No. 93; Bank for International Settlements: Basel, Switzerland, 2000. [Google Scholar]
  20. Eraslan, S. Asymmetric arbitrage trading on offshore and onshore renminbi markets. Empir. Econ. 2018, 1–23. [Google Scholar] [CrossRef]
  21. Cushnie, L. Opinion: Regulators need to do more to improve CNH liquidity. Asia Money 2012, 23, 38. [Google Scholar]
  22. Craig, R.; Hua, C.; Ng, P.; Yuen, R. Chinese Capital Account Liberalization and the Internationalization of the Renminbi; IMF Working Paper WP/13/268; IMF: Washington, DC, USA, 2013. [Google Scholar]
  23. Funke, M.; Shu, C.; Cheng, X.; Eraslan, S. Assessing the CNH-CNY pricing differential: Role of fundamentals, contagion and policy. J. Int. Money Finance 2015, 59, 245–262. [Google Scholar] [CrossRef]
  24. Danese, P. HKMA boosts CNH liquidity in time of need. Global Capital. 2016, 11, 212. [Google Scholar]
  25. Hui, R. HKEX highlights need for better CNH liquidity. Global Capital. 2017, 1, 1. [Google Scholar]
  26. Corwin, S.A.; Schultz, P.H. A simple way to estimate bid-ask spreads from daily high and low prices. J. Finance 2012, 67, 719–760. [Google Scholar] [CrossRef]
  27. Ma, Y.; Kanas, A. Testing for a nonlinear relationship among fundamentals and exchange rates in the ERM. J. Int. Money Finance 2000, 19, 135–152. [Google Scholar] [CrossRef]
  28. Bekiros, S.D.; Diks, C.G.H. The nonlinear dynamic relationship of exchange rates: Parametric and nonparametric causality testing. J. Macroecon. 2008, 30, 1641–1650. [Google Scholar] [CrossRef]
Figure 1. (a) Thermal optimal average path (transverse trajectory x ( t ) as a function of coordinate t) for model (16) at T = 0.05, 0.2, 1 and 10 based on the existing TOP method; (b) Thermal average optimal path x ( t ) for model (16) at T = 0.05, 0.2, 1 and 10 based the adjusted TOP method with β = 30.
Figure 1. (a) Thermal optimal average path (transverse trajectory x ( t ) as a function of coordinate t) for model (16) at T = 0.05, 0.2, 1 and 10 based on the existing TOP method; (b) Thermal average optimal path x ( t ) for model (16) at T = 0.05, 0.2, 1 and 10 based the adjusted TOP method with β = 30.
Entropy 21 00499 g001
Figure 2. (a) Thermal optimal average path (transverse trajectory x ( i ) as a function of the time step i) for model (18) at four different temperatures T = 0.2, 0.5, 1 and 2 based on the existing TOP method; (b) Average thermal path (transverse trajectory x ( i ) as a function of the time step i) for model (18) at four different temperatures T = 0.2, 0.5, 1 and 2 based on our adjusted TOP method with β = 30.
Figure 2. (a) Thermal optimal average path (transverse trajectory x ( i ) as a function of the time step i) for model (18) at four different temperatures T = 0.2, 0.5, 1 and 2 based on the existing TOP method; (b) Average thermal path (transverse trajectory x ( i ) as a function of the time step i) for model (18) at four different temperatures T = 0.2, 0.5, 1 and 2 based on our adjusted TOP method with β = 30.
Entropy 21 00499 g002
Figure 3. (a)Thermal optimal average path (transverse trajectory x ( i ) as a function of the time step i) for model (19) at four different temperatures T = 0.05, 0.2, 1 and 5 based on the existing TOP method; (b) Optimal average thermal path (transverse trajectory x(i) as a function of the time step i) at four different temperatures T = 0.05, 0.2, 1 and 5 for model (19) based on our adjusted TOP method with β = 30.
Figure 3. (a)Thermal optimal average path (transverse trajectory x ( i ) as a function of the time step i) for model (19) at four different temperatures T = 0.05, 0.2, 1 and 5 based on the existing TOP method; (b) Optimal average thermal path (transverse trajectory x(i) as a function of the time step i) at four different temperatures T = 0.05, 0.2, 1 and 5 for model (19) based on our adjusted TOP method with β = 30.
Entropy 21 00499 g003
Figure 4. (a) Thermal optimal average path (transverse trajectory x(i) as a function of time step i) for model (20) at four different temperatures T = 0.05, 0.2, 1 and 5 based on the existing TOP method; (b) Average thermal path (transverse trajectory x(i) as a function of time step i) for model (20) at four different temperatures T = 0.05, 0.2, 1 and 5 based on our adjusted TOP method with β = 30.
Figure 4. (a) Thermal optimal average path (transverse trajectory x(i) as a function of time step i) for model (20) at four different temperatures T = 0.05, 0.2, 1 and 5 based on the existing TOP method; (b) Average thermal path (transverse trajectory x(i) as a function of time step i) for model (20) at four different temperatures T = 0.05, 0.2, 1 and 5 based on our adjusted TOP method with β = 30.
Entropy 21 00499 g004
Figure 5. Closing price of CNY and CNH spot.
Figure 5. Closing price of CNY and CNH spot.
Entropy 21 00499 g005
Figure 6. CNY and CNH Bid-Ask spread.
Figure 6. CNY and CNH Bid-Ask spread.
Entropy 21 00499 g006
Figure 7. Thermal optimal average paths of CNH and CNY spot rate and BAS with partition coefficient n1 = 420, the threshold n* = 510, the possible maximum lag β = 30 at different temperatures. Chart (a): Thermal optimal average paths (transverse trajectory x = t2t1 as a function of observation time) between the first difference series of CNH daily closing price (described as X(t1)) and the first difference series of CNY daily closing price (described as Y(t2)) at temperature T = 0.01, 0.2, 1, 5 and 10; Chart (b): Thermal optimal average path between the first difference series of CNH daily closing price and the first difference series of CNY daily closing price at temperature T = 0.2; Chart (c): Thermal optimal average paths (transverse trajectory x = t2t1 as a function of observation time) between CNH BAS (described as X(t1)) and CNY BAS series (described as Y(t2)) at temperature T = 0.01, 0.2, 1, 5 and 10; Chart (d): Thermal optimal average path between CNH BAS and CNY BAS series at temperature T = 0.2.
Figure 7. Thermal optimal average paths of CNH and CNY spot rate and BAS with partition coefficient n1 = 420, the threshold n* = 510, the possible maximum lag β = 30 at different temperatures. Chart (a): Thermal optimal average paths (transverse trajectory x = t2t1 as a function of observation time) between the first difference series of CNH daily closing price (described as X(t1)) and the first difference series of CNY daily closing price (described as Y(t2)) at temperature T = 0.01, 0.2, 1, 5 and 10; Chart (b): Thermal optimal average path between the first difference series of CNH daily closing price and the first difference series of CNY daily closing price at temperature T = 0.2; Chart (c): Thermal optimal average paths (transverse trajectory x = t2t1 as a function of observation time) between CNH BAS (described as X(t1)) and CNY BAS series (described as Y(t2)) at temperature T = 0.01, 0.2, 1, 5 and 10; Chart (d): Thermal optimal average path between CNH BAS and CNY BAS series at temperature T = 0.2.
Entropy 21 00499 g007
Figure 8. Thermal optimal average paths (transverse trajectory x = t2t1 as a function of observation time) between the first difference series of CNH daily closing price (described as X(t1)) and the first difference series of CNY daily closing price (described as Y(t2)) obtained by using adjusted TOP method with four different assumed maximum lag β = 30,15,7,3. Chart (a): The case for β = 30; Chart (b): The case for β = 15; Chart (c): The case for β = 7; Chart (d): The case for β = 3.
Figure 8. Thermal optimal average paths (transverse trajectory x = t2t1 as a function of observation time) between the first difference series of CNH daily closing price (described as X(t1)) and the first difference series of CNY daily closing price (described as Y(t2)) obtained by using adjusted TOP method with four different assumed maximum lag β = 30,15,7,3. Chart (a): The case for β = 30; Chart (b): The case for β = 15; Chart (c): The case for β = 7; Chart (d): The case for β = 3.
Entropy 21 00499 g008
Figure 9. Thermal optimal average paths (transverse trajectory x = t2t1 as a function of observation time) between CNH BAS (described as X(t1)) and CNY BAS series (described as Y(t2)) obtained by using adjusted TOP method with four different assumed maximum lag β = 30,15,7,3. Chart (a): The case for β = 30; Chart (b): The case for β = 15; Chart (c): The case for β = 7; Chart (d): The case for β = 3.
Figure 9. Thermal optimal average paths (transverse trajectory x = t2t1 as a function of observation time) between CNH BAS (described as X(t1)) and CNY BAS series (described as Y(t2)) obtained by using adjusted TOP method with four different assumed maximum lag β = 30,15,7,3. Chart (a): The case for β = 30; Chart (b): The case for β = 15; Chart (c): The case for β = 7; Chart (d): The case for β = 3.
Entropy 21 00499 g009
Table 1. Model notation.
Table 1. Model notation.
NotationExplanation
C l s t C N Y USD / CNY closing price on day t, t = 0,1,2,…,n
C l s t C N H USD / CNH closing price on day t, t = 0,1,2,…,n
H t , t + 1 C N Y the highest USD / CNY spot rate over the two days t and t + 1, t = 0,1,2,…,n − 1
L t , t + 1 C N H the lowest USD / CNH spot rate over the two days t and t + 1, t = 0,1,2,…,n − 1
S t C N Y the spread between bid and ask price of CNY spot on day t, t = 0,1,2,…,n − 1
S t C N H the spread between bid and ask price of CNH spot on day t, t = 0,1,2,…,n − 1
Note: in Table 1 time t = 0 and t = 1 corresponds to April 18, 2011 and April 19, 2011 respectively, and so on, t = 1249 corresponds to January 29, 2016.
Table 2. Descriptive Statistics of CNY bid-ask spread (BAS) and CNH BAS.
Table 2. Descriptive Statistics of CNY bid-ask spread (BAS) and CNH BAS.
VariableMeanStand DeviationMaximumMinimum
S t C N Y 0.00170.00150.00610
S t C N H 0.00440.00280.00950
Table 3. Augmented Dickey-Fuller test for stationarity.
Table 3. Augmented Dickey-Fuller test for stationarity.
H0: Time Series Has a Unit Root; H1: Time Series Is Stationary
Time SeriesADF Statisticp-Value
C l s t C N Y 0.179390.99
C l s t C N H −0.309930.99
d t C N Y −9.73360.01 ***
d t C N H −10.7970.01 ***
S t C N Y −6.86760.01 ***
S t C N H −4.59580.01 ***
Note: in Table 3 lower amount of p-value for a time series presents that the time series is stationary from statistical perspective. Furthermore, “***” indicates that the alternative hypothesis of the corresponding time series being stationary is accepted at significance level of 0.01.
Table 4. Causality test.
Table 4. Causality test.
Null Hypothesis H0 d t C N Y Does Not Cause d t C N H d t C N H Does Not Cause d t C N Y CNY BAS Does Not Cause CNHBASCNH BAS Does Not Cause CNYBAS
F-Statistic2.135778.489351.934563.20295
p-Value0.05897E−080.08590.0070
Test resultReject H0Reject H0Reject H0Reject H0
Table 5. Estimations for the VAR models (25)–(28).
Table 5. Estimations for the VAR models (25)–(28).
Parameter d t C N Y d t C N H S t C N Y S t C N H
Estimation p-ValueEstimation p-ValueEstimation p-ValueEstimation p-Value
α03.3E−050.44080.00010.38140.00033.4E−060.00073.48E−11
α1−0.15220.0792 *−0.05050.08750.51336E−58 ***0.71916.67E−102
α2−0.13190.0002 ***−0.01770.02030.04300.1356−0.08450.0114
α30.01280.3660−0.14744.83E−5 ***0.00340.46020.11580.0009 ***
α4−0.02810.2227−0.09840.00470.07340.01580.01230.3697
α50.02170.27380.00090.49030.09480.00100.07820.0053
β10.13801.5E−8 ***0.15220.0032 ***0.07329E−05 ***0.04040.1986
β20.10143.1E−5 ***0.06900.2468−0.03490.0698−0.05570.0060 ***
β30.00470.42530.03850.05170.00480.4197−0.10010.0309
β40.02600.15060.09050.0517−0.01830.21900.13460.1488
β50.04750.02830.01340.40260.00730.3534−0.04270.1871
Note: in Table 5 lower amount of p-value for a factor presents that the factor has significant effect on response. “*” and “***” indicate that the corresponding factors influence the response at significance levels of 0.1 and 0.01 respectively.

Share and Cite

MDPI and ACS Style

Yan, D.; Lai, K.K. An Analysis of China’s Onshore and Offshore Exchange Rates—Adjusted Thermal Optimal Path Approach Based on Pruning and Path Segmentation. Entropy 2019, 21, 499. https://doi.org/10.3390/e21050499

AMA Style

Yan D, Lai KK. An Analysis of China’s Onshore and Offshore Exchange Rates—Adjusted Thermal Optimal Path Approach Based on Pruning and Path Segmentation. Entropy. 2019; 21(5):499. https://doi.org/10.3390/e21050499

Chicago/Turabian Style

Yan, Dawen, and Kin Keung Lai. 2019. "An Analysis of China’s Onshore and Offshore Exchange Rates—Adjusted Thermal Optimal Path Approach Based on Pruning and Path Segmentation" Entropy 21, no. 5: 499. https://doi.org/10.3390/e21050499

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop