Documente Academic
Documente Profesional
Documente Cultură
DOI:10.3233/AF-160054
IOS Press
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
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
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.
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
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
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
London
New York
0.2
-0.2
0 1 2 3 4 5
time (days)
Spread - NZD/USD
London
New York
2e-04
0 1 2 3 4 5
time (days)
Volatility - NZD/USD
0.0014
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
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
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
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
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