Sunteți pe pagina 1din 17

Algorithmic Finance 5 (2016) 319 3

DOI:10.3233/AF-160054
IOS Press

Multi-scale representation of high frequency


market liquidity
Anton Goluba, , Gregor Chliamovitchb , Alexandre Dupuisa,b and Bastien Chopardb
a Olsen Ltd, Eierbrechtstrasse, Zurich, Switzerland
b Computer Science Department, University of Geneva, rte de Drize, Carouge, Switzerland

Abstract. We introduce an event based framework mapping financial data onto a state based discretisation of time series.
The mapping is intrinsically multi-scale and naturally accommodates itself with tick-by-tick data. Within this framework, we
define an information theoretic quantity that characterises the unlikeliness of price trajectories and, akin to a liquidity measure,
detects and predicts stress in financial markets. In particular, we show empirical examples within the foreign exchange market
where the new measure not only quantifies liquidity but also seems to act as an early warning signal.

Keywords: Liquidity, information theory, multi-scale, foreign exchange, high frequency trading

1. Introduction 2011). Liquidity measures can be classified into dif-


ferent categories. Volume-based measures: liquidity
The notion of market liquidity is nowadays ubiq- ratio, Martin index, Hui and Heubel ratio, turnover
uitous. It quantifies the ability of a financial market ratio, market adjusted liquidity index (see Gabrielsen
to match buyers and sellers in an efficient way with- et al., 2011, for details) where, over a fixed period
out causing a significant price move thus delivering of time, the exchanged volume is compared to price
low transaction costs. It is the lifeblood of financial changes. This class implies that non-trivial assump-
markets (Fernandez, 1999) without which market dis- tions are made about the relation between volume and
locations can show as for example in the 2008 crisis price moves. Other classes of measures include price
(Brunnermeier, 2009), but also in many others cases based measures: Marsh and Rock ratio, variance ratio,
that go unnoticed but are potent candidates to become vector autoregressive models; transaction costs based
the next crisis. While omnipresent, liquidity is an measures: spread, implied spread, absolute spread
elusive concept. For instance, the foreign exchange or relative spread; or time based measures: number
(FX) market with its impressive daily turnover of of transactions or orders per time unit. There exists
$5.3 trillion (Bank of International Settlement, 2013) plenty of studies that analyse measures of liquidity
is mistakenly assumed to be always extremely liquid in various contexts (see von Wyss, 2004; Gabrielsen
since the generated volume is considered as a proxy et al., 2011, and references therein) without reaching
for liquidity but regularly shows illiquid episodes as a true consensus. In addition, it is worth highlighting
illustrated through the selected examples below. that some of the data used in these measures could be
Despite the obvious importance of liquidity there hard to obtain or even not available at all as it is the
is little agreement on the best way to measure and case for the full limit order book in the FX market
define it (von Wyss, 2004; Sarr and Lybek, 2002; making therefore impossible the use of a majority of
Kavajecz and Odders-White, 2004; Gabrielsen et al., these measures.
From our point of view, the aforementioned
Corresponding author: Anton Golub, Olsen Ltd, Eierbrecht- approaches suffer from a major drawback. They
strasse 50, 8053 Zurich, Switzerland. Tel.: +0041 78 610 88 84;
E-mail: agolub@olsen.ch.
provide a top-down approach to explore financial

2158-5571/16/$35.00 2016 IOS Press and the authors. All rights reserved
4 A. Golub et al. / Multi-scale representation of high frequency market liquidity

markets where the impact of the variation of liquidity time series (Glattfelder et al., 2011b). The idea of
is analysed through macroscopic assumptions rather modelling financial series using a different time
than providing a bottom-up approach where illiquid clock can be traced back to the seminal work of
times are identified and quantified from its possible Mandelbrot and Taylor (1967) and Clark (1973),
constituents. The former therefore requires one to advocating the use of transaction and volume based
make appropriate, and non-trivial, assumptions about clock. One other area of research that analyses
the macroscopic system while the latter needs us to high-frequency time series from the perspective of
identify the right constituents of the system as well fractal theory was initiated by Mandelbrot (1963).
as quantifying their dynamics. This seminal work has inspired others to search for
Hence this paper aims at looking at liquidity from empirical patterns in market data - namely scaling
a different angle where multi-scale price moves are laws1 . One of the most reported scaling laws in
analysed through an event based framework. It allows financial markets (Muller et al., 1990; Galluccio
us to track price moves occurring at different scales et al., 1997; Dacorogna et al., 2001; Di Matteo et
(see details below) and, as we shall see, quantify- al., 2005) relates the average absolute price change
ing the unlikeness of these price moves leading to x and the time interval of its occurrence t
a novel measure of illiquidity as the unlikeliness
of the price trajectory with respect to a Brownian x t 1/2
motion. We shall observe below the ability of our sparked an attempt to move beyond the constraints of
measure to detect and predict stress in financial mar- physical time devising a time-scale to account for sea-
kets, illustrated by examples within the FX market, sonal patterns correlated with the changing presence
only requiring asset prices as an input. of main market places in the FX market (Guillaume
The document is organised as follows; Section et al., 1995). This approach was not flawless, since
2 describes the event based framework. Section 3 aggregating and interpolating tick data amongst fixed
defines the state based discretisation of price trajec- or predetermined time intervals, important infor-
tory movement termed intrinsic network. In Section mation about the market microstructure and trader
4 we derive the transition probabilities of the Markov behaviour is lost (Bauwens and Hautsch, 2009).
chain modelling the transitions on the intrinsic net- The discovery of a scaling law that relates the num-
work, for the case of a Brownian motion. Section ber of rising and falling price moves of a certain
5 describes the information-theoretic concept that size (threshold), produced an event-based time scale
characterises the unlikeliness of price trajectories and named intrinsic time that ticks according to an evo-
quantifies illiquidity. Finally, in Section 6 we demon- lution of price moves (Glattfelder et al., 1997). The
strate the measurements ability to quantify liquidity intrinsic time dissects the time series based on market
during extreme price movements and illustrate the events where the direction of the trend alternates, see
behaviour of the new measurement by focusing on Fig. 1. These directional change events are identified
well documented financial crises. by price reversals of a given threshold value set ex-
ante. Once a directional change event is confirmed an
overshoot event begins and continues the trend iden-
2. The event based framework tified by the directional changes. An overshoot event
ends when the opposite directional change occurs.
Traditional high frequency finance models With each directional change event, the intrinsic time
(Dacorogna et al., 2001) use equidistantly spaced ticks one unit (Glattfelder et al., 2011a).
data for their inputs, yet markets are known not to Figure 1 shows a price curve with its many peaks
operate in a uniform fashion: during the weekend and valleys. We choose a threshold of > 0 percent
the markets come to a standstill, while unexpected of the data series. The detailed sampling rule is as fol-
news can trigger a spur of market activity. The lows - we start in the upward mode - we queue all the
non-uniformity is expressed in the markets through recorded prices one by one and keep in memory the
the so-called stylized facts, consisting of long range highest price; as soon as the price drops by , then this
memory in volatility (Poon and Granger, 2003), is the first intrinsic event and we sample this data point.
non-stationary fat tailed distribution of returns We discard the old queue and now start a downward
(Mandelbrot, 1963), nonlinear serial dependencies
in returns (LeBaron, 1994), volatility seasonality 1 A scaling law establishes a mathematical relationship between

(Dacorogna et al., 2001) and scaling in financial two variables that holds true over multiple orders of magnitude.
A. Golub et al. / Multi-scale representation of high frequency market liquidity 5

Fig. 1. Price evolution example over a week-end. Directional change events (squares) act as natural dissection points, decomposing a total-
price move between two extremal price levels (bullets) into so-called directional-change (solid lines) and overshoot (dashed lines) sections.
Time scales depict physical time ticking evenly across different price curve activity regimes, whereas intrinsic time triggers only at directional
change events, independent of the notion of physical time. The time period where the exchange rate does not change corresponds to the
weekend.

queue. We keep in memory the lowest observed data we shall observe in section 6 that long overshoots
point until we record an up move of ; this is then the exhibit during market liquidity crisis episodes.
second intrinsic time point. The data series thus deter-
mines the pace of sampling and generates itself the
intrinsic event-based time scale; the method is endoge- 3. The intrinsic network
nous of the price.
The benefits of this approach in the analysis of The concept of intrinsic time is self-similar, i.e.
high-frequency data are threefold; firstly, it can be fractal and described by few scaling laws as seen
applied to non-homogeneous time series without the above. What is occurring at a certain threshold is sim-
need for further data transformations. Secondly, mul- ilarly occurring at another. This activity is happening
tiple directional change thresholds can be applied at simultaneously without however being synchronised:
the same time for the same tick-by-tick data. And a set of thresholds may exhibit up moves whereas
thirdly, it captures the level of market activity at any other scales may be in down moves. Representing
one time. such a rich activity is cumbersome when not handled
Financial markets are noisy by nature and are there- in an appropriate framework. This is the subject of
fore expected to oscillate around price levels. Such this section where we introduce the so-called intrin-
oscillations produce alternating directional changes sic network that not only elegantly handle the activity
which thresholds reflect the noise amplitude. In but also precisely quantify the unlikeness of price
between any two directional changes shows an over- trajectories.
shoot, as previously described, that length reflects the We consider n ordered thresholds 1 < 2 < <
ability of buyers and sellers to agree upon prices. n that dissect the price curve into directional changes
A long overshoot is then susceptible to be the foot- of fixed length i and overshoots i of varying length.
print of a lack of liquidity. We will later show that We assign the states of the market for a directional
our intuition of illiquidity is indeed suitable, since change threshold i either to be 1 or 0, depend-
6 A. Golub et al. / Multi-scale representation of high frequency market liquidity

ing whether the corresponding overshoot is moving We assume that the price obeys a Brownian motion
upwards or downwards. At each time we assign a and that the transitions are modelled as a first order
binary vector b = (b1 , . . . , bn ) consisting of 1 or 0, Markov process. We will use these probabilities to
describing the market over various scales. The binary compute the unlikeliness of a price trajectory mapped
encoding b = (b1 , . . . , bn ) therefore expresses the onto the intrinsic network, Brownian motion being
state of the market s in numeric terms as fol- used as the reference model of a liquid market.
lows s = b1 20 + b2 21 + + bn 2n1 . We will Firstly, we stress that given a Brownian motion
interchangeably use both notations and it is straight- modelling the price
forward to notice there is a total of 2n possible states.
A large enough price move makes the market state dPt = t dWt , (1)
to evolve in two possible ways. Firstly, in any state
a move in the time series of the opposite direction the transitions on intrinsic networks is in fact a non-
would first flip the smallest b1 , flipping a previous Markovian process, since the process requires the full
move down b1 = 0 into an upward state b1 = 1, and history to derive the transition probabilities. In what
similarly a move down would flip the first state b1 = 1 follows, for the sake of simplicity, we will never-
state into an b1 = 0 state. In case the time series con- theless adopt a Markovian description, as we have
tinues with the move in the same direction, it would noticed that even with the error induced by the sim-
flip the first state bi that shows the opposite direc- plified approach, for the application we have in mind
tion, bi = 0 would flip to bi = 1, likewise bi = 0 to - namely quantifying market liquidity - our measure-
bi = 1. The precise rule is then ment seems rather insensitive to whether or not we
take memory effects into account (Golub et al., 2015).
b = (b1 , . . . , bn ) can transition to
Secondly, we have conducted numerical simula-
 tions for price process with time-varying volatility
b = (b1 , b2 , . . . , bn ), if b1 mirrors price move direction
and concluded that the distribution of overshoot
b = (b1 , . . . , bi , . . . , bn ) i = min{k : bk =
/ b1 }, otherwise length did not change with introduction time-varying
volatility. In what follows we shall therefore consider
where 1 = 0 and 0 = 1. a Brownian motion with constant volatility, i.e.
Defining W as the transition probability matrix of
the underlying stochastic process, we have created the dPt = dWt . (2)
so-called intrinsic network IN (n; {1 , . . . , n }; W)
or in short IN . We now present the analytical expressions for transi-
The intrinsic network exhibits a couple of peculiar tion probabilities.
states where the network is non-reactive: the down-
Theorem 4.1. Let 1 < < n be directional
ward blind-spot (0, . . . , 0) where a downward price
change thresholds of an intrinsic network IN n and
move has no effect and, conversely when the market
(b1 , . . . , bn ) be the current state of the market. Let
can keep on moving down and the upward blind-spot
(1, . . . , 1) when the market can keep on moving up i = min{k : bk =
/ b1 },
without being traced. From a blind spot, the available
transition is unique; (1, 1, . . . , 1) can only to transi- for i = 2
tion to (0, 1, . . . , 1) and (0, 0, . . . , 0) to (1, 0, . . . , 0).
Regardless of the dimension of the intrinsic network,  
2 1
P (b1 , b2 , . . . , bn ) (b1 , b2 , . . . , bn ) = e 1
blind spots will be present, and do present a flaw that (3)
will be addressed in the future.
Figure 3 demonstrates an example of transitions  
2 1
P (b1 , b2 , . . . , bn ) (b1 , b2 , . . . , bn ) = 1 e 1
on a 2-dimensional intrinsic network for a given time
(4)
series.
while for i > 2
 
P (b1 , b2 , . . . , bn ) (b1 , . . . , bi , . . . , bn )
4. Transition probabilities
i
k k1
e k1

= k=2
(5)
In this section we compute the transition prob- i1 
k k1  i
j j1

abilities W corresponding to the intrinsic network. 1 k=2 1e k1


j=k+1 e
j1
A. Golub et al. / Multi-scale representation of high frequency market liquidity 7

Fig. 2. From left to right: 2-, 3- and 4-dimensional intrinsic networks IN , where transitions between states s are represented. Shaded nodes
represent blind-spots. Each transition is associated with a probability.

 
P (b1 , b2 , . . . , bn ) (b1 , . . . , bi , . . . , bn ) In addition we stress that it is certainly possible
to assume different price generating processes at the
i
k k1
e k1 cost of losing analytic tractability. Another possibility
= 1 k=2
. (6)
i1 
k k1  i j j1
is to estimate the transition probabilities from empir-
1 k=2
1e k1
j=k+1
e j1
ical data. In what follows, however, we choose to use
Theorem 4.1 corresponding to a Brownian motion
It is remarkable to note that Theorem 4.1 does with constant volatility.
not depend on volatility for which proof is given in We have numerically checked that the transition
Appendix C. probabilities presented in Theorem 4.1 are in good
8 A. Golub et al. / Multi-scale representation of high frequency market liquidity

01
10
13
32
23
20

Fig. 3. Example of transitions on 2-dimensional intrinsic network for a time series. Transitions are coloured and depicted on the graph.

agreement with Monte Carlo simulations considering i[0,T ]


1 ,...,iK+1
Brownian motion as an underlying process. The small
observed discrepancy is mainly due to the Markovian = log P(si1 si2 siK siK+1 ) (8)
assumption made to derive Theorem 4.1. We have 
K
indeed noticed that a Brownian motion on a network = log P(sik sik+1 ) (9)
is in fact non-Markovian, it has memory. However k=1
this assumption and its related error appear to only
marginally affect our liquidity measure. 
K
= ik ,ik+1 (10)
k=1
[0,T ]
5. Price trajectory unlikeliness that we denote K if the transition path is defined
from the context. Notice that we can factorise the
Here we introduce the quantity L, an information probability in expression (8) since we assumed the
theoretic value that measures the unlikeliness of price transitions follow a first order Markov chain. Hence,
[0,T ]
trajectories mapped onto the intrinsic network. We the value K measures the unlikeliness of price
argue and demonstrate below that L is an alternative trajectories, which is a path dependent measurement;
definition of liquidity. two price trajectories of same volatility can have very
We first consider the surprise ij (Cover and different surprise values.
Thomas, 1991) of a transition from state si to state Since the number of transitions is a variable, some
sj as time periods might exhibit large surprise purely due
to large number of transitions. In order to remove this
ij = log P(si sj ) (7) effect we center the surprise by its expected value, the
entropy rate multiplied by the number of transitions
which is nothing but the point-wise entropy that is K H (1) , and divide it by the square root of its vari-
large when the probability to transition from state si ance, the second order of informativeness
multiplied
to state sj is small and vice versa. by the number of transitions K H (Pfister et al.,
(2)
We further define the surprise of a price trajectory 2001). According to the central limit theorem (Pfister
within a time interval [0, T ] that have experienced K et al., 2001), the obtained expression converges to the
transitions as normal distribution
A. Golub et al. / Multi-scale representation of high frequency market liquidity 9

[0,T ] measurement on extreme price movement. Then we


K K H (1)
N(0, 1), for K . (11) present the measurement on well-known FX market
K H (2)
crises. Finally, we present the intra-week seasonality
Following (Pfister et al., 2001), the entropy rate of of liquidity L and compare it to seasonality in spread
the Markov chain equals and volatility.
n 1
2 
ni
H (1)
= i log P(si sik ) P(si sik ) 6.1. Dataset
i=0 k=0
The data used in this study is quoted by Oanda
while the second orders of informativeness equals
(Oanda, 2015), one of the major market makers which
n 1 2n 1
2   nj
ni  proposed stable spreads until December 2012. The
H =(2)
i j log P(si sik ) data set represents the quotes of the major currency
i=0 j=0 k=0 l=0 pairs from 2006-01-01 to 2014-11-01 at the finest
log P(sj sjl ) P(si sik , sj sjl ) resolution: tick-by-tick. Each tick contains a time-
stamp, bid and offer prices for transactions up to

ni
$10 million. The following pairs composed in the
log P(si sik )P(si sik )
dataset: AUD/CAD, AUD/NZD, AUD/JPY, AUD/
k=0
USD, CAD/JPY, CHF/JPY, EUR/AUD, EUR/CAD,
nj
 EUR/CHF, EUR/GBP, EUR/JPY, EUR/NZD, EUR/
log P(sj sjl )P(sj sjl ) USD, GBP/AUD, GBP/CAD, GBP/CHF, GBP/JPY,
l=0 GBP/USD, NZD/CAD, NZD/JPY, NZD/USD, USD/
where is the stationary distribution of the corre- CAD, USD/CHF and USD/JPY. Furthermore, for
sponding Markov process. the event studies in section 6.4, where we read
The expression (11) allows us to introduce liquidity spread information, we use tick data from Dukas-
L defined as copy (Dukascopy, 2015), a company gathering bids

and offers from market participants through an order
[0,T ]
K K H (1) book that contains time-stamp, bid and offer price,
L=1 [0, 1], K 0
K H (2) but unlike Oanda data, it also contains bid and offer
(12) quoted volume.
where  is the cumulative distribution function of
normal distributions. Thus, an unlikely price trajec- 6.2. An intrinsic network
tory would lead to a large surprise and a low liquidity
L. Inversely, a likely price to a large L. We now present the intrinsic network used in the
To summarize, we have mapped any price tra- following subsections. Firstly, as we are concerned
jectory onto an intrinsic network modelling the with high frequency market conditions we choose the
underlying process as a first order Markov chain, first threshold 1 to be 0.025% and taking each next
and derived the transition probabilities for the case threshold as the double of its predecessor. We use a
of a Brownian motion. We defined the surprise of a total of twelve thresholds
sequence of transitions that we normalised so as it
follows a normal distribution. Finally we quantified i = 2 i1 = 2i1 1 = 2i1 0.025%,
liquidity by assessing the likelihood L of the surprise i = 2, . . . , 12.
that indicates illiquid times when the value is close
to zero, while liquid times are indicated with value The proposal to set the thresholds in an optimal
close to one. manner can steam from Maximum Entropy Principle
[0,T ]
applied on the surprise K which is known, when
properly adjusted, to converge to normal distribution
6. Empirical analysis for K 0. Reshuffling the expression of surprise, for
large but fixed K the distribution is approximately
In this section we present the liquidity L mea- normal K N(K H (1) , K H (2) ).
 The entropy
surement in an empirical setting. Firstly, we begin of surprise equals H(K ) = 21 log 2e(K H (2) )
by describing the dataset used in this study. Next, hence we conclude that the optimal choice of thresh-
we evaluate the predictive capabilities of liquidity L olds is the one that maximizes H (2) . We note that
10 A. Golub et al. / Multi-scale representation of high frequency market liquidity

the aforementioned optimisation process is a highly Figure 4 shows the behaviour of Ltk (x), for
complex mathematical problem, which is intended the 5 previous days. The right graph shows the rela-
to be solved using numerical procedures. Briefly, we tionship between the liquidity L and |Rt+k |(y). We
remark that one should at least double the consec- note that, as expected, the larger the amplitude x, the
utive thresholds, i.e. i 2 i1 . The closed form smaller average liquidity Ltk (x), k. Likewise, the
expression for the optimal thresholds is subject to fur- smaller liquidity L the larger the average absolute
ther research. The Brownian motion assumption is price change, for up to 5 days into the future. This
indirectly expressed through the values of transition seems to indicate that L is capable of predicting large
probability matrix that feed into the H (2) . The corre- price moves for at least 5 days ahead, suggesting that
sponding probability transition matrix W is obtained the measurement might be a good early warning sig-
from the analytical expressions in Theorem 4.1, hence nal. Note that we did not investigate the predictability
we will not need a training set to obtain the transi- over more than 5 days.
tion probabilities. We numerically approximate with
Monte Carlo simulation, the first H (1) = 0.4604 and 6.4. Liquidity shocks
second order informativeness H (2) = 0.70818, by
running a path of one million transitions of process set It is also instructive to examine how the measure-
by the transition probability matrix W on the intrinsic ment behaves during well-known crises. We therefore
network and computing the average, standard devi- choose to focus on well documented events: August
ation of the resulting surprises and the stationary 2007 Yen carry trade collapse (Brunnermeier et al.,
distribution. We consider a sliding window for the 2008) and the Swiss National Bank implementation
analysis of price trajectory arbitrary set to T = 1 day. of 1.20 floor on EUR/CHF (Dorgan, 2012).
First we present the liquidity measurement L dur-
6.3. Extreme events ing the 2007 Yen carry trade unwind, when massive
price drops in Yen related pairs were the result of
We start by systematically exploring the relation- unwinding of large positions from major market play-
ship between liquidity L and price moves to assess ers; many hedge funds and banks with proprietary
its predictive power. trading desks had large positions at risk and decided to
For all exchange rates in our dataset, we compute buy back yen to pay back low-interest loans (Chaboud
the daily absolute price changes |Rt | and compare it et al., 2014).
with L on the same day, up to five days before the The upper graph in Fig. 5 shows the time evolution
observed absolute price changes, Lt , . . . , Lt5 . We of the tick-by-tick USD/JPY exchange rate, as well
proceed by selecting all daily absolute price changes as the evolution of the liquidity L over the past 24
larger than an amplitude x and compute the average hour period graphed every minute. We notice notable
liquidity L for the same day and up to five days before shocks to market liquidity occurred in mid July with
the absolute price change larger than x almost 2% drop in USD/JPY in matter of hours. From
there on, illiquid conditions is shown by the measure-
1 ment. Liquidity L decreases three weeks preceding
Ltk (x) = 
1
t |Rt |x the spectacular 6% drop, which occurred on August
 16th 2007.
Ltk 1|Rt |x k = 0, 1, . . . , 5 (13)
On the other hand, to compare with alternative liq-
t
uidity measurements, in the lower part of the Fig. 5 we
where 1A is the indicator function of set A. We also depict the average price weighted quoted volume over
explore the reverse relationship, for a given magni- the 24 hour period plotted every minute. It also shows
tude y [0, 1], we select all days when liquidity L a decrease in the price weighted quoted volume in the
was smaller than y, and compute the average daily three weeks preceding the carry trade unwind, having
absolute price changes for the same day, and up to its lowest value on August 16th 2007. With the delay
five days in advance of the liquidity L smaller than y of around 2 weeks, comparable conclusions could be
1 drawn with the two techniques, even though L only
|Rt+k |(y)  needs the time series of prices.
1
t Ly Next we focus on the Swiss National Bank (SNB)

|Rt+k | 1Lt y k = 0, 1, . . . , 5 (14) setting the floor on EUR/CHF (Schmidt, 2011).
t The upper graph in Fig. 6 shows the time evolu-
A. Golub et al. / Multi-scale representation of high frequency market liquidity 11

Absolute Price Change vs. Liquidity Liquidity vs. Absolute Price Change

Average Liquidity L Average Absolute Price Change |R |


Lt |Rt |
Lt1 |Rt+1|
0.5

Lt2 |Rt+2|
Lt3 |Rt+3|
Lt4 |Rt+4|

2.0
Average Absolute Price Change | R | (in %)
Lt5 |Rt+5|
0.4
Average Liquidity L
0.3

1.5
0.2

1.0
0.1

0 2 4 6 8 10 0.0 0.2 0.4 0.6 0.8 1.0


Absolute Price Change |Rt| x (in %) Liquidity Lt x

Fig. 4. The left graph shows the relationship between absolute daily price changes larger than x and average liquidity Ltk (x), for up to
5 days before the occurrence of the price change. The right graph shows the relationship between liquidity Ltk (x) smaller than x and
average absolute daily price changes, for up to 5 days after the occurrence of the price change.

Fig. 5. The upper graph shows tick-by-tick USD/JPY exchange rate (left axis) and the corresponding one minute liquidity measurement L
(right axis) around the period of August 2007 carry trade unwind. The lower graph shows average price weighted quoted volume over a 24
hour period, graphed every minute. The shaded area marks August 16th 2007, day of the carry trade unwind, resulting in a 6% drop.
12 A. Golub et al. / Multi-scale representation of high frequency market liquidity

Fig. 6. The upper graph shows tick-by-tick EUR/CHF exchange rate (left axis) and the corresponding one minute liquidity L (right axis)
in the months of Swiss National Bank intervention, setting the floor of 1.20 on EUR/CHF. The lower graph shows average price weighted
quoted volume over a 24 hour period, graphed every minute. The shaded area marks September 6th 2011, day of SNB intervention.

tion of the tick-by-tick EUR/CHF exchange rate and logarithmic price changes. Liquidity varies during the
minute-by-minute liquidity L in the months of the day, seasonally at the open and close of major FX
SNB intervention. Our measurement shows slow but markets, and also during scheduled news events (Ito
steady deterioration of liquidity conditions during the and Hashimoto, 2006). The FX trading hours move
time of Franc appreciation. The graph highlights that around the world as follows: New York opens at 13:00
the liquidity L decreases during the week proceed- and closes at 22:00; Asia opens at 22:00 and closes
ing spectacular near 10% gain in Franc against Euro, at 7:00; London opens at 8:00 and closes at 17:00.
reaching near parity on August 9th 2011. In addition, Market zones are denoted on graphs as follows: Asia
our measurement shows that illiquid market condi- - orange, London - green, New York - purple. In this
tions continue in the next weeks following a almost subsection we demonstrate that liquidity L can iden-
20% reversal, and the liquidity L recovers after the tify these predictable liquidity events. We create a 5
SNB intervention on September 6th 2011. Again, for minute time grid from Monday 00:00 till Friday 24:00
comparison, we show in the lower part of the Fig. 6 and compute the average liquidity L, average bid-ask
the average price weighted quoted volume over a 24 spread and average squared logarithmic price changes
hour period. We note that the decrease in the measure- for each point of the grid using the data in the whole
ment follows the decrease in liquidity L, with only sample of Oanda data for NZD/USD exchange rate,
difference that it stays reduced after the intervention, as the chosen exchange rate displays clear seasonality
while liquidity L recovers. These examples tend to patterns.
indicate that the liquidity L tends to indicate illiquid- Figure 7 shows the intra-week (Monday to Fri-
ity earlier, both indicate illiquidity at the same time, day) pattern of the liquidity L, the bid-ask spread and
even though liquidity L uses only price information. the volatility, proxied by squared logarithmic price
changes. We note that all three measurements exhibit
6.5. Intra-week seasonality seasonality patterns. Liquidity L is high during Lon-
don and New York trading sessions, while during the
In this subsection we present intra-week season- Asian trading session it drops, indicating illiquid mar-
ality in liquidity L, bid-ask spread and squared ket conditions. Spread is the tightest during London
A. Golub et al. / Multi-scale representation of high frequency market liquidity 13

Liquidity L - NZD/USD
1.0

Liquidity L Market zones


Asia
Liquidity
0.6

London
New York
0.2
-0.2

0 1 2 3 4 5
time (days)

Spread - NZD/USD

spread Market zones


Asia
Spread
6e-04

London
New York
2e-04

0 1 2 3 4 5
time (days)

Volatility - NZD/USD
0.0014

5min volatility Market zones


Asia
0.0010
Volatility

London
New York
0.0006
0.0002

0 1 2 3 4 5
time (days)

Fig. 7. The graph shows intra-week seasonality pattern for liquidity L, spread and volatility, for NZD/USD. Market zones are denoted as
follows: Asia - orange, London - green, New York - purple.

and New York trading sessions, it is highest during region before exhibiting another directional change.
the transitions to Asian markets. Volatility increases at Inspired by the idea that a long overshoot might be
the beginning of London trading and the transition to the signature of a lack of liquidity we propose a new
New York trading session. The volatility is the lowest measure of liquidity by mapping the price trajectory
during the transitions from Asian to London trading onto a multi-scale Markov chain framework termed
sessions. Figure 7 reveals several interesting features intrinsic network. We compute the transition prob-
among the presented measurements. First, a negative abilities of the network for a benchmark Brownian
relationship between the liquidity L and the bid-ask motion that allows us to define illiquidity by quanti-
spread is found in the NZD/USD exchange market - fying unlikeliness of price trajectories.
when bid-ask spread increases the liquidity L drops. The new measure is applied to empirical FX data
where we systematically analyse market events to
observe that low liquidity is indeed correlated to large
7. Conclusion price moves. We then concentrate our attention on a
couple of well-known liquidity shocks and observe
Liquidity is often measured following top-down the way our measure shows low liquidity during, but
approaches that require one to make firm assump- also before, these episodes. These empirical analyses
tions about market behaviours and often elude market therefore not only show the success of our approach
micro-structures that we believe have a rich con- but also tend to indicate that it has a potential to
tent somewhat still largely unexploited. In our point be an early warning indicator, highly appreciated to
of view, a bottom-up multi-scale approach provides possibly announce forthcoming crises.
an alternative to describe liquidity where market
micro-structures is fully embraced and where minimal
assumptions have to be made. Funding
We have indeed presented above an alternative
measure where we only use the price evolution of The research leading to these results has received
the asset that is dissected by identifying directional funding from the European Union Seventh Frame-
changes of price. After a directional change, the work Programme (FP7/2007-2013) under grant
price can further move to form a so-called overshoot agreement no 317534.
14 A. Golub et al. / Multi-scale representation of high frequency market liquidity

References mation theory. Entropy 17(5), 2606. ISSN 1099-4300.


doi: 10.3390/e17052606. URL http://www.mdpi.com/1099-
Bank of International Settlement. Triennial central bank survey 4300/17/5/2606
foreign exchange turnover in april 2013, 2013. Monetary and Guillaume, D.M., Pictet, O.V.M., Muller, U.A., Dacorogna, M.M.,
Economic Department. 1995. Unveiling non-linearities through time scale transforma-
Bauwens, L., Hautsch, N., 2009. Modelling financial high fre- tions, Olsen Working Paper.
quency data using point processes. In T.G. Anderson and et al., Guillaume, D.M., Dacorogna, M.M., Dave, R.R., Muller, U.A.,
editors, Handbook of financial time series, Springer, Berlin, pp. Olsen, R.B., Pictet, O.V., 1997. From a birds eye to the micro-
953976. scope: A survey of new stylized facts of the intra-day foreign
Brunnermeier, K.M., 2009. Deciphering the liquidity and credit exchange markets. Finance and Stochastics 1, 95129.
crunch 20072008. Journal of Economic Perspectives 23(1), Ito, T., Hashimoto, Y., 2006. Intra-day seasonality in activities of
77100. the foreign exchange markets: Evidence from the electronic
Brunnermeier, M.K., Nagel, S., Pedersen, L.H., 2008. Carry trade broking system. National Bureau of Economic Research Work-
and currency crashes, National Bureau of Economic Research ing Paper No. 12413.
Working Paper. Kavajecz, K.A., Odders-White, E.R., 2004. Technical analysis and
Chaboud, A., Chiquoine, B., Hjalmarsson, E., Vega, C., 2014. Rise liquidity provision. The Review of Financial Studies 17(4),
of the machines: Algorithmic trading in the foreign exchange 10431071.
market, (Forthcoming) Journal of Finance. LeBaron, B., 1994. Chaos and nonlinear forecastability in
Clark, P.K., 1973. A subordinated stochastic process model economics and nance. Philosophical Transactions: Physi-
with finite variance for speculative prices. Econometrica 41, cal Sciences and Engineering 348(1688), 397404. ISSN
125156. 09628428. URL http://www.jstor.org/stable/54216
Cover, T., Thomas, J., 1991. Elements of information theory. John Mandelbrot, B.B., 1963. The variaton of certain speculative prices.
Wiley & Sons, New York, NY, USA. The Journal of Business 36, 394419.
Dacorogna, M.M., Gencay, R., Muller, U.A., Olsen, R.B., Picet, Mandelbrot, B.B., Taylor, H.W., 1967. On the distribution of stock
O.V. 2001. An introduction to high-frequency finance. Aca- price differences. Operations Research 15, 10571062.
Muller, U.A., Dacorogna, M.M., Olsen, R.B., Pictet, O.V.,
demic Press, San Diego (CA).
Schwarz, M.M., Morgenegg, C., 1990. Statistical study of for-
Di Matteo, T., Aste, T., Dacorogna, M.M. 2005. Long term mem-
eign exchange rates, empirical evidence of a price change
ories of developed and emerging markets: using the scaling
scaling law and intraday analysis. Journal of Banking and
analysis to characterize their stage of development. Journal of
Finance 14, 11891208.
Banking and Finance 4(4), 827851.
Oanda. 2015. www.oanda.com. [Online; accessed 21-April-
Dorgan, G. Snb losses 1.85 billion francs in just one day, 231 francs
2015]".
per inhabitant, 2012. SNBCHF.com.
Pfister, H.D., S.J.B., Siegel, P.H., 2001. On the achievable infor-
Dukascopy., 2015. www.dukascopy, [Online; accessed 21-April-
mation rates of finite state isi channels. In D. Kurlander, M.
2015].
Brown and R. Rao, editors, Proc IEEE Globecom, ACM Press,
Fernandez, F.A., 1999. Liquidity risk, SIA Working Paper.
pp. 4150.
Gabrielsen, A., Marzo, M., Zagaglia, P., 2011. Measuring market
Poon, S.-H., Granger, C.W., 2003. Forecasting volatility
liquidity: an introductory survey, MPRA Paper 35829, Univer-
in nancial markets: A review. Journal of Economic Lite-
sity Library of Munich.
rature 41(2), 478539. doi: 10.1257/002205103765762743.
Galluccio, S., Caldarelli, G., Marsili, M., Zhang, Y.C., 1997. Scal-
URL http://www.aeaweb.org/articles.php?doi=10.1257/002205
ing in currency exchange. Physica A 245, 423436.
103765762743
Glattfelder, J.B., Dupuis, A., Olsen, R.B., 2011a. Patterns in high-
Sarr, A., Lybek, T., 2002. Measuring liquidity in financial market,
frequency fx data: Discovery of 12 empirical scaling laws.
IMF Working Paper No. 02/232.
Quantitative Finance 11(4), 599614.
Schmidt, A., 2011. Ecology of the modern institutional spot fx:
Glattfelder, J.B., Dupuis, A., Olsen, R.B., 2011b. Patterns in high-
The ebs market in 2011. Technical report, Electronic Broking
frequency fx data: discovery of 12 empirical scaling laws.
Service.
Quantitative Finance 11(4), 599614. doi: 10.1080/14697688.
von Wyss, R., 2004. Measuring and Predicting Liquidity in the
2010.481632. URL http://dx.doi.org/10.1080/14697688.2010.
Stock Market. PhD thesis.
481632
Golub, A., Chliamovitch, G., Dupuis, A., Chopard, B.,
2015. Uncovering discrete nonlinear dependence with infor-
A. Golub et al. / Multi-scale representation of high frequency market liquidity 15

A. The analytical Gaussian benchmark and so on. We are thus led to rewrite the probability
(let us denote it P(A\B)) to reach the fixed threshold
In the special case where the price follows a Brow- A before the moving one B as
nian motion, the transition matrix can be derived
analytically. Since the hierarchical nature of the 
/
P(A\B) = P(x0 + k \x0 + (k 1)
intrinsic network allows deducing the transition
k=1
matrix for any number of thresholds by a contracting
process, the problem actually boils down to solving |x0 + (k 1) \x0 + (k 2) ). (16)
the two-thresholds case, which we do now. In case the But then invariance properties (Markovianity and
transitions on the intrinsic network are modelled as translation invariance) of Brownian motion allow us
first order Markov Chain, the matrix has the following to simplify this expression as
form

0 1 0 0  /
P(A\B) = P(x0 + \x0 ) (17)
1 0 0
W =
(15) and it remains to take the limit 0.
0 0 1 Let us now simplify a bit further the notation and
0 0 1 0
assume we have a Brownian motion with mean
with the convention that the states are numbered and variance 2 starting at a position x0 somewhere
(0, 0) = 0, (1, 0) = 1, (0, 1) = 2 and (1, 1) = 3. between two absorbing barriers U (upper) and L
We thus only calculate two probabilities and . (lower). The probability density of finding the walk at
For reasons of convenience and without loss of position x at time t will obey the backward diffusion
generality, we will simplify the calculations by equation
considering the case where the thresholds are fixed 2 2
in terms of absolute value instead of a percentage. t p(x0 , x, t) = x0 p(x0 , x, t) + p(x0 , x, t)
2 x0
(18)
Let us now focus on the situation where the system with boundary conditions p(x0 , x, 0) = (x0 ) and
just turned to the (1, 0) state. As we can read it from p(x0 , U, t) = p(x0 , L, t) = 0. The best way to pro-
W, it was previously in (0, 0) and just bounced back ceed is now to define
from some minimum by an amount 1 . Two events  U
may occur now g(x0 , t) t p(x0 , x, t)dx, (19)
L
either the upward move goes further by an
which denotes the probability to be absorbed around
amount 2 1 and the system turns to the (1, 1)
time t by any of the barriers, and then take the Laplace
state,
transform
either after having reached some maximum M < 
2 1 the walk goes downward by an amount
G(x0 , s) est g(x0 , t)dt (20)
1 and the system turns back to (0, 0). 0

The question is therefore to determine the proba- which has the very interesting property that evalu-
bility of each of these two scenarios to occur. This is ating it at s = 0 yields exactly the probability to be
somewhat reminiscent of the famous gamblers ruin, caught by any of the barriers. Some standard manip-
but the situation is more involved here due to the ulations allow us to transfer the backward equation
presence of two absorbing barriers, one of which is to the Laplace domain so as to obtain
moving in time.
2 2
Let us denote A x0 +  the upper fixed barrier sG(x0 , s) = x0 G(x0 , s) + G(x0 , s) (21)
and B M the moving lower one (for the sake 2 x0
of notation we put  2 1 and 1 ). We now with boundary conditions G(U, s) = G(L, s) = 1
dissect the interval (x0 , A) in small intervals (x0 , x0 + (which means nothing but immediate absorption if
), (x0 + , x0 + 2 ), ..., (A , A) with /n for the walk starts on either barrier).
some n. In order for the walk to reach A before B, it We then split the total probability of absorption
has, as a very first step, to reach reach x0 + before as g (x0 , t) + g+ (x0 , t), where g (x0 , t) denotes the
x0 and then to reach x0 + 2 before x0 + , probability of absorption by the upper, respectively
16 A. Golub et al. / Multi-scale representation of high frequency market liquidity


lower, barrier. The transform is split accordingly 0 10 0
as G (x0 , s) + G+ (x0 , s) with boundary condi-    
1 exp 2 1 0 0 exp 2 1
tions G+ (U, s) = G (L, s) = 1 and G+ (L, s) = 1 1
W =     .
G (U, s) = 0. Equation (21) can thus be solved sep- 2 1 2 1
exp 1 0 0 1 exp 1
arately for G+ and G . We use the standard ansatz
G = exp(x0 ) which boils down the differential 0 01 0
equation to a quadratic algebraic equation for easily (28)
solved to yield Obviously in that case the ratio of the thresholds only
 matters, and not the thresholds themselves.
2 + 2s 2 The derivation established that the probability of
1,2 = (22) overshoot (1 ; ) reaching the length 2 1 equals
2 
2 1
exp 1 , i.e.
(21) is then solved by

2 1
G (x0 , s) = K1 e1 x0 + K2 e2 x0 (23) P((1 ; ) 2 1 ) = exp (29)
1
for constants chosen to match the boundary condi- hence we conclude that the overshoot lengths are
tions. We skip the details to quote the expression exponentially distributed.
for G+ , taking according to our previous notations
U = x0 + and L = x0 , and putting s = 0,
   B. Implicit hierarchy
1 exp 2|| ( ||)
G+ (x0 , 0) = 2(+ )||  exp
2
.
1 exp 2
2 Here we demonstrate that intrinsic networks have
(24) a convenient multi-scale property where one can
dismiss the smallest threshold from the frame-
This quantity is therefore the probability to get work and still preserve the structure. In order
caught by the upper barrier without having ever met words, if we remove the directional change thresh-
the lower one, which is P(x0 + \x0 ) we intro- old 1 of an n-dimensional intrinsic network
duced at the beginning. It thus remains to calculate IN (n; {1 , . . . , n }; W), the resulting structure is
an n 1-dimensional intrinsic network IN (n
lim G+ (x0 , 0)/ (25)  whereas there is an explicit con-
1; {2 , . . . , n }; W),
0
nection between transition matrices W and W, 
which is easily found to be assuming the transitions on the network are modelled
as first order Markov chain process.
P(A\B) Firstly, we introduce the concept of islands which

 2|| are subsets of all possible states S = {0, 1, . . . , 2n
 (||)+(|| + ) exp
= exp 2   2
.(26) 1} the set of states of an n-dimensional intrinsic
1 exp 2||
2 network IN (n; {1 , . . . , n }; W). We define the k-th
island as the following subset of states
This expression happens to simplify in the driftless  s 
case to the harmless formula Ik = s S :   = k , (30)
2

 where  denotes the floor function. In our cases, the
P(A\B) = exp . (27)
k-th island equals Ik = {2k, 2k + 1}. For instance,
island I0 equals to subset {0, 1} or island I7 equals
This is the expression we were searching for the prob- to subset {14, 15}. It is easy to notice that for an n-
ability of transitioning from (1, 0) to (1, 1). The very dimensional intrinsic network with 2n states, there
same reasoning applies using G for the transition are 2n1 islands. Note that we can again label the
from (0, 1) to (0, 0), while other transitions are now islands in numeric terms,
trivial. W for a two-thresholds system can therefore
be written as Ik = k,
A. Golub et al. / Multi-scale representation of high frequency market liquidity 17

creating a new set of states with numeric labels S (1) =


{0, . . . , 2n1 1}. Let us remark on the transitions
(0)
I1
among islands Ik . Given the numeric notation s = (0) (0)
I0 I3
b1 20 + + bn 2n1 for states of S, each state
s(1) S (1) can be written in numeric notation as (0)
I2

s(1) = b2 20 + + bn 2n2 ,
(0) (1)
I5 I1
hence the transitions among islands are equivalent
(0) (0) (1) (1)
to occurrences of directional changes for thresholds I4 I7 I0 I3
2 , . . . , n . In other words, transitions among islands (0) (1)
are insensitive to changes in the market state related I6 I2

to first directional change thresholds 1 , hence the


resulting structure is an n 1 dimensional intrinsic (0)
I9
(1)
I5
network IN (n 1; {2 , . . . , n }, W). The probabil-

ities of transition matrix W and its connection to (0)
I8
(0)
I11 I4
(1) (1)
I7
transition matrix W is established later in this section.
(0) (1)
We refer to the presented method as state contraction. I10 I6
Let us extend the concept of state contraction by
(0)
defining islands of level 0, Ik as the states of an (0)
I13
n-dimensional intrinsic network
(0) (0)
I12 I15
(0)
Ik = {k}, k = 0, 1, . . . , 2 1.
n
(0)
I14
(0) (0)
IfS (0)= {0, 1, . . . , 2n
1} = {I0 , . . . , I2n 1 }
de-
notes the states of n dimensional intrinsic network
(1) Fig. 8. Illustration of the contraction procedure of a 4-dimensional
then we define islands of level 1, in notation Ik as intrinsic network IN (4; {1 , 2 , 3 , 4 }; W) to a 3-dimensional
subsets  whereas coloured shad-
intrinsic network IN (3; {2 , 3 , 4 }; W),
  ing graphs islands, contracted states and the resulting new states.
(1) I (0)
Ik = I (0) S (0) :  =k (31)  
2 (1) (0) (0)
Ii = I2i , I2i+1 .
for k = 0, 1, . . . , 2n1 1. Using the aforemen-
tioned iterative process we can obtain islands of level The coloured shading graphs islands, contracted
j, in notation I (j) , by applying the process of state states and the resulting new states of the three dimen-

sional intrinsic network IN (3; {2 , 3 , 4 }; W).
contraction j times, hence we can then define an
intrinsic network of level j + 1, IN (j+1) whereas the Assuming the transitions on the intrinsic network
states space S (j+1) are defined as islands I (j+1) , in are modelled as a first order Markov chain, there is an
(j+1) (j+1) explicit connection between the transition matrix W
other words S (j+1) = {I0 , . . . , I2nj 1 }. In more
of the n-dimensional intrinsic network and transition
general sense, we can define islands of level i as a  of the n 1 dimensional intrinsic network
matrix W
subset of islands of level i 1, i.e.
obtained through the contraction process described
  above.
(i) I (i1)
Il = I (i1) S (i1) :  =l . Let us assume that the current state of the network
2 (i)
is Ik and we are interested in finding the probability
(i)
Having started with an intrinsic network with a total of transitioning to state Ij . Note that observing the
of 2n , the intrinsic network of level j + 1, IN (j+1) process from viewpoint of islands of level (i 1), the
(i1) (i1)
will have a total of 2nj states. system can oscillate among states I2k and I2k+1
Figure 8 illustrates the process of state con- arbitrarily many times before taking the transition
(i) (i)
traction, of 4-dimensional intrinsic network that links the islands Ik and Ij . Hence, the desired
IN (4; {1 , . . . , 4 }; W) whereas the islands probability can be easily derived using the closed
(0) (0)
I0 , . . . , I15 are contracted in the following manner form of geometric series. The three distinct cases are
18 A. Golub et al. / Multi-scale representation of high frequency market liquidity

presented bellow, with the proof in Appendix C,  (i1) (i1) (i1)


P(I2k I2k+1 ) P(I2k+1
for mod (k + j, 2) = 0
(i1) k (i1) (i1)
I2k ) P(I2k+1 I2j+1 ),
P(Ik(i) Ij(i) )
(i1) (i1)
P(I2k+1 I2j+1 ) (i)
= (i1) (i1) (i1) (i1)
(32) hence the probability to transition from Island Ik to
1 P(I2k+1 I2k ) P(I2k I2k+1 ) (i)
Island Ij equals
for mod (k + j, 2) = 1 and k > j
P(Ik(i) Ij(i) ) 


P(Ik(i) Ij(i) ) = (i1)
P(I2k (i1)
I2k+1 )
(i1) (i1) (i1) (i1)
P(I2k I2j ) P(I2k+1 I2k ) k=0
=
(i1) k
(i1) (i1) (i1) (i1)
(33)
1 P(I2k I2k+1 ) P(I2k+1 I2k ) (i1)
P(I2k+1 I2k ) (i1)
P(I2k+1 (i1)
I2j+1 ) (35)
for mod(k + j, 2) = 1 and k < j (i1)
P(I2k+1 (i1)
I2j+1 )
= . (36)
P(Ik(i) Ij(i) ) (i1)
1 P(I2k (i1)
I2k+1 (i1)
) P(I2k+1 (i1)
I2k )
(i1) (i1) (i1) (i1)
P(I2k+1 I2j+1 ) P(I2k I2k+1 )
= (i1) (i1) (i1) (i1)
. (34) For mod(k + j, 2) = 1 and k > j, the system has
1 P(I2k I2k+1 ) P(I2k+1 I2k ) (i1) (i1)
to make an interim transition from I2k+1 to I2k ,
(i) (i)
before transitioning from Island Ik to Island Ij ,
with probability
C. State contraction probabilities
(i1) (i1) (i1) (i1)
P(I2k+1 I2k ) P(I2k I2j ).
We demonstrate that assuming the transitions
on the intrinsic network are modelled as a first
order Markov Chain, there is an explicit connection Likewise, as before the system can oscillate k times
(i) (i)
between the transition matrix W of the n-dimensional within Island Ik before proceeding to Island Ij ,
intrinsic network and transition matrix W of the n 1 with probability
dimensional intrinsic network obtained through the
contraction process.
(i1) (i1)  (i1) (i1)
Let us assume that the current state of the network P(I2k+1 I2k ) P(I2k I2k+1 )
(i)
is Ik and we are interested in finding the probabil- (i1) (i1) k (i1) (i1)
(i) (i) P(I2k+1 I2k ) P(I2k I2j ),
ity of transitioning to state Ij . Note that Island Ik
(i1) (i) (i)
consists of states {I2k , I2k+1 }, while Island Ij
(i)
consists of state {I2j
(i1) (i)
, I2j+1 }. For mod(k + j, 2) = hence the probability to transition from Island Ik
(i)
(i1)
0, from I2k+1 the system can directly transition to before to Island Ij equals
(i1) (i1) (i1)
I2j+1 with probability P(I2k+1 I2j+1 ). On the
other hand, the system can oscillate once within P(Ik(i) Ij(i) )
(i) (i)
Island Ik before proceeding to Island Ij , i.e. tran-
(i1) (i1) (i1)



sition from I2k+1 to I2k and back to I2k+1 , before = (i1)
P(I2k+1 (i1)
I2k (i1)
) P(I2k (i1)
I2k+1 )
(i)
transitioning to I2j+1 , with probability k=0

(i1) (i1) k (i1) (i1)


(i1) (i1) (i1) P(I2k+1 I2k ) P(I2k I2j ) (37)
P(I2k+1 I2k ) P(I2k
(i1) (i1) (i1) (i1)
(i1) (i1) (i1) P(I2k+1 I2k ) P(I2k I2j )
I2k+1 ) P(I2k+1 I2j+1 ). = (i1) (i1) (i1) (i1)
. (38)
1 P(I2k I2k+1 ) P(I2k+1 I2k )
(i)
Likewise, oscillation within Island Ik can occur k
(i)
times, before proceeding to Island Ij , with proba- Similarly, it can be shown that for mod(k + j, 2) = 1
bility, and k < j, it can be shown
A. Golub et al. / Multi-scale representation of high frequency market liquidity 19

P(Ik(i) Ij(i) ) 3 2

e 2


(i1) (i1)  (i1) (i1)  
= P(I2k I2k+1 ) P(I2k I2k+1 ) P (1, 1, 0) (1, 1, 1)
k=0
=    
2 1
k 1 1 P (1, 1, 0) (1, 1, 1) 1 e 1
(i1) (i1) (i1) (i1)
P(I2k+1 I2k ) P(I2k+1 I2j+1 ) (39)
and untangling the formula we find
(i1) (i1) (i1) (i1)
P(I2k I2k+1 ) P(I2k+1 I2j+1 ) 3 2
= (i1) (i1) (i1) (i1)
. (40)   e
2
e

2 1
1
1 P(I2k I2k+1 ) P(I2k+1 I2k ) P (1, 1, 0) (1, 1, 1) =

3 2 
2 1 
1e 2
1e 1

(41)
yielding the desired expression. Let us assume
D. Transition probability derivation that the claim holds for n-dimensional intrin-
sic network, and we will prove that the claim
We demonstrate the derivation of the analytic holds for n + 1. Let 1 < < n+1 denote the
ordered directional change thresholds, IN (n +
expressions of transition probabilities presented in
1; {1 , . . . , n+1 }; W) n + 1-dimensional intrinsic
Section 5. Firstly, we prove the claim holds for  the con-
network and IN (n; {2 , . . . , n+1 }; W)
3-dimensional intrinsic network, let 1 < 2 < 3 tracted intrinsic network. Since the contracted
denote the ordered directional change thresholds, intrinsic network is n-dimensional, together with
IN (3; {1 , 2 , 3 }; W) 3-dimensional intrinsic net- explicit analytic expression of transition probabil-
 the contracted intrinsic
work and IN (2; {2 , 3 }; W) ities between n + 1- and contracted n-dimensional
network. Since the contracted intrinsic network is intrinsic network presented in Section 4 states that
2-dimensional, it is know that n+1
k k1
e k1
 
3 2
k=3
P (1, 0) (1, 1) = e 2 , n 
k k1  n+1 j j1

1 k=3
1e k1
j=k+1
e j1

while the explicit analytic expression of tran-  


P (1, . . . , 1, 0) (1, . . . , 1, 1)
sition probabilities between 3- and contracted =   
2 1 
2-dimensional intrinsic network presented in Section 1 1 P (1, . . . , 1, 0) (1, . . . , 1, 1) 1e 1

4 states that
we find
 
P (1, . . . , 1, 0) (1, . . . , 1, 1) = (42)
n+1
k k1

2 1

k=3 e k1
e 1

j j1 (43)
n 
k k1
 n+1
2 1 n+1
k k1
1 k=3 1e k1
j=k+1 e
j1
(1 e 1
) k=3 e k1

obtaining the desired formula.

S-ar putea să vă placă și