Rank-based Markov chains, self-organized criticality, and...

209
Rank-based Markov chains, self-organized criticality, and order book dynamics Jan M. Swart joint with Marco Formentin, Jana Plaˇ ckov´ a Bath, February 29th, 2016. Jan M. Swart joint with Marco Formentin, Jana Plaˇ ckov´ a Rank-based Markov chains, self-organized criticality, and order

Transcript of Rank-based Markov chains, self-organized criticality, and...

Page 1: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Rank-based Markov chains, self-organizedcriticality, and order book dynamics

Jan M. Swartjoint with Marco Formentin, Jana Plackova

Bath, February 29th, 2016.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 2: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for email communication

Inspired by work of Barabasi (2005), Gabrielli and Caldarelli(2007,2009) introduced (more or less) the following model foremail communication:

Someone receives emails according to a Poisson process withintensity λin and answers emails at times of a Poisson process withintensity λout.

Realistically, λin > λout.

The recipent assigns a priority to each incoming email, and alwaysanswers the email with the highest priority in the inbox (or doesnothing if the inbox is empty).

Priorities are i.i.d. with some atomless law. Without loss ofgenerality we can take the uniform distribution on [−λin, 0].

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 3: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for email communication

Inspired by work of Barabasi (2005), Gabrielli and Caldarelli(2007,2009) introduced (more or less) the following model foremail communication:

Someone receives emails according to a Poisson process withintensity λin and answers emails at times of a Poisson process withintensity λout.

Realistically, λin > λout.

The recipent assigns a priority to each incoming email, and alwaysanswers the email with the highest priority in the inbox (or doesnothing if the inbox is empty).

Priorities are i.i.d. with some atomless law. Without loss ofgenerality we can take the uniform distribution on [−λin, 0].

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 4: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for email communication

Inspired by work of Barabasi (2005), Gabrielli and Caldarelli(2007,2009) introduced (more or less) the following model foremail communication:

Someone receives emails according to a Poisson process withintensity λin and answers emails at times of a Poisson process withintensity λout.

Realistically, λin > λout.

The recipent assigns a priority to each incoming email, and alwaysanswers the email with the highest priority in the inbox (or doesnothing if the inbox is empty).

Priorities are i.i.d. with some atomless law. Without loss ofgenerality we can take the uniform distribution on [−λin, 0].

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 5: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for email communication

Inspired by work of Barabasi (2005), Gabrielli and Caldarelli(2007,2009) introduced (more or less) the following model foremail communication:

Someone receives emails according to a Poisson process withintensity λin and answers emails at times of a Poisson process withintensity λout.

Realistically, λin > λout.

The recipent assigns a priority to each incoming email, and alwaysanswers the email with the highest priority in the inbox (or doesnothing if the inbox is empty).

Priorities are i.i.d. with some atomless law. Without loss ofgenerality we can take the uniform distribution on [−λin, 0].

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 6: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for email communication

Inspired by work of Barabasi (2005), Gabrielli and Caldarelli(2007,2009) introduced (more or less) the following model foremail communication:

Someone receives emails according to a Poisson process withintensity λin and answers emails at times of a Poisson process withintensity λout.

Realistically, λin > λout.

The recipent assigns a priority to each incoming email, and alwaysanswers the email with the highest priority in the inbox (or doesnothing if the inbox is empty).

Priorities are i.i.d. with some atomless law. Without loss ofgenerality we can take the uniform distribution on [−λin, 0].

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 7: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for email communication

Easy to prove: In the long run, emails with priorities below −λoutare never answered, while all emails with a priority above −λout areeventually answered.

Proof: the number of emails in the inbox with priority in [−λ, 0] isa random walk that jumps k 7→ k + 1 with rate λ and k 7→ k − 1with rate λout1{k>0}.

This random walk is positive recurrent for λ < λout, null recurrentfor λ = λout, and transient for λ > λout.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 8: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for email communication

Easy to prove: In the long run, emails with priorities below −λoutare never answered, while all emails with a priority above −λout areeventually answered.

Proof: the number of emails in the inbox with priority in [−λ, 0] isa random walk that jumps k 7→ k + 1 with rate λ and k 7→ k − 1with rate λout1{k>0}.

This random walk is positive recurrent for λ < λout, null recurrentfor λ = λout, and transient for λ > λout.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 9: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for email communication

Easy to prove: In the long run, emails with priorities below −λoutare never answered, while all emails with a priority above −λout areeventually answered.

Proof: the number of emails in the inbox with priority in [−λ, 0] isa random walk that jumps k 7→ k + 1 with rate λ and k 7→ k − 1with rate λout1{k>0}.

This random walk is positive recurrent for λ < λout, null recurrentfor λ = λout, and transient for λ > λout.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 10: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Poisson construction

Let Fλ(t) denote the number of emails with priority in [−λ, 0] thatare in the inbox at time t.

We can read off Fλ(t) from the Poisson processes describing thearrivals of new emails and answering times.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 11: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Poisson construction

λ

t

F0(t)

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 12: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Poisson construction

λ

t

λ

Fλ(t)

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 13: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Poisson construction

λ

t

λ

Fλ(t)

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 14: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Poisson construction

λ

t

λ

Fλ(t)

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 15: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Poisson construction

λ

t

λ

Fλ(t)

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 16: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Poisson construction

λ

t

λ

Fλ(t)

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 17: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Poisson construction

λ

t

λ

Fλ(t)

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 18: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The equilibrium distribution

0

−λout

λ

Fλ(∞)

In equilibrium, emailsaccumulate at −λout

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 19: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Critical behavior

0s

Hs

[Formentin & S. ’15] Let λout = 1,

then(εF1−εs(∞)

)s>0

=⇒ε→0

(Hs

)s>0

where Hs := supt≥0

[Bt − st],

with (Bt)t≥0 Brownian motion.

Groeneboom (1983): the concave majorant of Brownian motion.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 20: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

F0(∞) = 0

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 21: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

Fλ(∞) = 0

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 22: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

Fλ(∞) = 0

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 23: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

Fλ(∞) = 1

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 24: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

Fλ(∞) = 1

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 25: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

Fλ(∞) = 1

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 26: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

Fλ(∞) = 1

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 27: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

Fλ(∞) = 2

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 28: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

Fλ(∞) = 2

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 29: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Coupling from the past

Fλ(∞) = 3

time =∞past

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 30: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Self-organized criticality

Physical systems with second order phase transitions exhibitcritical behavior at the point of the phase transition, which ischaracterized by:

I Scale invariance.

I Power law decay of quantities.

I Critical exponents.

Usually, critical behavior is only observed when the parameter(s) ofthe system, such as the temperature, have just the right value sothat we are at the point of the phase transition, also called (in thiscontext) the critical point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 31: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Self-organized criticality

Some physical systems show critical behavior even without thenecessity to tune a parameter to exactly the right value.

In particular, this happens for systems whose dynamics find thecritical point themselves. Such systems are said to exhibitself-organized criticality.

A classical example are sandpiles, which automatically find themaximal slope that is still stable. Adding a single grain to such asandpile causes an avalanche whose size has a power-lawdistribution.

The Bak Sneppen model is another classical example ofself-organized criticality and a cornerstone of Bak’s (1996) book.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 32: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Self-organized criticality

In the email model, the distribution of serving times (of answeredemails) has a power-law tail. Indeed, it seems that in equilibrium,at any time, the probability that the last email we have answeredhad spent a time ≥ t in our inbox decays as t−1/2.

This is quite different from the usual exponential tails in queueingtheory.

This sort of power law decay, with the exponent 1/2, has evenbeen observed in real data, provided time is measured in unitsproportional to the activity of the owner of the inbox (as judgedfrom the number of emails sent). [Formentin, Lovison, Maritan,Zanzotto, J. Stat. Mech. 2015].

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 33: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The Bak Sneppen model

Introduced by Bak & Sneppen (1993).

Consider an ecosystem with N species. Each species has a fitnessin [0, 1].

In each step, the species i ∈ {1, . . . ,N} with the lowest fitness diesout, together with its neighbors i − 1 and i + 1 (with periodicb.c.), and all three are replaced by species with new, i.i.d.uniformly distributed fitnesses.

There is a critical fitness fc ≈ 0.6672(2) such that when N is large,after sufficiently many steps, the fitnesses are approximatelyuniformly distributed on (fc, 1] with only a few smaller fitnesses.Moreover, for each ε > 0, the lowest fitness spends a positivefraction of time above fc − ε, uniformly as N →∞.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 34: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The modified Bak Sneppen model

Introduced by Meester & Sarkar (2012).

Instead of the neighbors of the least fit species, choose onearbitrary other species from the population that dies together withthe least fit species.

Critical point exactly fc = 1/2.

Critical behavior at fc: intervals between times when all individualshave a fitness > fc have a power-law distribution withP[τ ≥ k] ∼ k−1/2.

Proof based on coupling to a branching process.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 35: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Rank-based models

The email model and (modified) Bak Sneppen model share somecommon features:

I Only the relative order of the priorities/fitnesses matter. As aresult, replacing the uniform distribution with any otheratomless law basically yields the same model (up to atransformation of space).

I Both models use some version of the rule “kill the minimalelement”.

I Both models exhibit self-organized criticality.

In what follows, we will look at some other models that fall intothe same class. In particular:

I Two toy models for canyon formation.

I The Stigler-Luckock model for the evolution of an order book.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 36: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We start with a flat rock profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 37: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

The river cuts into the rock at a uniformly chosen point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 38: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

Rock between a next point and the river is eroded one step down.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 39: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We continue in this way.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 40: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

Either the river cuts deeper in the rock.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 41: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

Or one side of the river is eroded down.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 42: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 43: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 44: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 45: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 46: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 47: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 48: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 49: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 50: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 51: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 52: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 53: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 54: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 55: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 56: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 57: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 58: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 59: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 60: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 61: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 62: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 63: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 64: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 65: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 66: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 67: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 68: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 69: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 70: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 1

Here

We are interested in the limit profile.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 71: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

The profile after 100 steps.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 72: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

The profile after 1000 steps.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 73: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

0 0.2 0.4 0.6 0.8 1

qmin ≈ 0.2178

The profile after 10,000 steps.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 74: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A model for canyon formation

In simulations, the canyon model is very similar to the emailmodel, but it is more difficult to treat mathematically.

I Can we prove the existence of the critical point and explain itsvalue qmin ≈ 0.2178?

I In equilibrium, scaling in on the critical point, do we againfind the convex hull of Brownian motion?

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 75: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0 1

Here

A river flows on the left.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 76: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

01

Here

The river either cuts deeped into the rock.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 77: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

01

Here

Or the shore is eroded down, starting from a random point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 78: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

01

Here

Or the shore is eroded down, starting from a random point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 79: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

01

Here

Or the shore is eroded down, starting from a random point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 80: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

We either make the river deeper. . .

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 81: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

. . . or we erode the shore,

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 82: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

. . . depending on where the new point falls.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 83: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

Points on the left of all others are simply added.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 84: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

Points on the left of all others are simply added.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 85: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

Otherwise, we remove the left-most point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 86: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

In other words, we always add the new point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 87: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

In other words, we always add the new point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 88: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

If the new point is not the left-most, then we remove the left-most.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 89: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

If the new point is not the left-most, then we remove the left-most.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 90: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

If the new point is not the left-most, then we remove the left-most.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 91: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

If the new point is not the left-most, then we remove the left-most.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 92: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

If the new point is not the left-most, then we remove the left-most.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 93: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

If the new point is not the left-most, then we remove the left-most.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 94: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

If the new point is not the left-most, then we remove the left-most.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 95: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

If the new point is not the left-most, then we remove the left-most.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 96: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A one-sided canyon model

0

1

Here

In this model, the critical point is pc = 1− e−1 ≈ 0.63212.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 97: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The one-sided canyon model

The process just described defines a Markov chain (Xk)k≥0 whereXk ⊂ [0, 1] is a finite set.

Consistency: For each 0 < q < 1, we observe that the restrictedprocess (

Xk ∩ [0, q])k≥0

is a Markov chain.

Theorem 1 The restricted process is positively recurrent forq < 1− e−1 and transient for q > 1− e−1.

Theorem 2 The restricted process is null recurrent at q = 1− e−1.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 98: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The critical point

Proof of Theorem 1 Since only the relative order of the pointsmatters, transforming space we may assume that the (Uk)k≥1 arei.i.d. exponentially distributed with mean one and Xk ⊂ [0,∞].

For the modified model, we must prove that pc = 1.

Start with X0 = ∅ and define

Ft(k) :=∣∣Xk ∩ [0, t]

∣∣ (k ≥ 0, t ≥ 0).

Claim (Ft)t≥0 is a continuous-time Markov process taking valuesin the functions F : N→ N.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 99: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 100: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 101: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 102: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 103: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 104: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 105: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 106: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 107: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 108: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 109: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 110: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 111: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 112: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 113: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 114: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Increments

Define

∆Ft(k) :=

0 if Ft(k) = Ft(k − 1) = 0,

0 if Ft(k) = Ft(k − 1) > 0,

−1 if Ft(k) = Ft(k − 1)− 1,

+1 if Ft(k) = Ft(k − 1) + 1.

At the exponentially distributed time t = Uk , the increment∆Ft(k) changes from 0 to +1 or from −1 to 0.

At the same time, the next 0 to the right of k , if there is one, ischanged into a −1.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 115: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

∆Ft(k)

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

+1 +1 −1 −1 +1 +1 0 −1 −1 +1 −1 0 +1 0

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 116: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The point-counting function

Xk

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

t

∆Ft(k)

Ft(k)

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

+1 +1 0 −1 +1 +1 0 −1 −1 +1 −1 −1 +1 0

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 117: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A stationary increment process

We can define the Markov process (∆Ft)t≥0 also on Z instead ofon N+.

As long as the density of 0’s is nonzero, the process started in∆F0(k) = 0 (k ∈ Z) satisfies

∂∂tP[∆Ft(k) = 0] =−2P[∆Ft(k) = 0]− P[∆Ft(k) = −1],

∂∂tP[∆Ft(k) = −1] =P[∆Ft(k) = 0],

from which we derive that the 0’s run out at tc = 1 and

P[∆Ft(1) = 0] = (1− t)e−t and P[∆Ft(1) = −1] = te−t

(0 ≤ t ≤ 1).

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 118: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The increment process

The process (Ft)t≥0, both on N+ and Z, makes i.i.d. excursionsaway from 0.

For the process started in X0 = ∅, define the return time

τ∅t := inf{k ≥ 1 : Xk ∩ [0, t] = ∅

}.

From the density of 0’s for the process (Ft)t≥0 on Z we deducethat

E[τ∅t ] = (1− t)−1 (0 ≤ t < 1).

This proves positive recurrence ⇔ t < 1.

It is not hard to derive from this that the restricted process(Xk ∩ [0, t]

)k≥0 is transient for t > 1.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 119: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

A weight function

New progress:

Proof of Theorem 2 and alternative proof of Theorem 1For t > 0, consider the weighted sum over points in Xk

W(t)k :=

∑x∈Xk

ex1[0,t](x).

Then

E[W

(t)k+1 −W

(t)k

∣∣ min(Xk) = m]

= t − 1[0,t](m).

In particular, the process W (t) stopped at the first time thatmin(Xk) > t is

I A supermartingale for t < 1,I A martingale for t = 1,I A submartingale for t > 1.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 120: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Some classical ecomomic theory

In classical economic theory (Walras,1 1874), the price of acommodity is determined by demand and supply.

Let λ−(p) (resp. λ+(p)) be the total demand (resp. supply) for acommodity at price level p, i.e., the total amount that people arewilling to buy (resp. sell), per unit of time, for a price of at most(resp. at least) p per unit.

1Walras developed the theory of equilibrium markets in his book Elementsd’ economie politique pure.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 121: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Some classical ecomomic theory

p

λ−(p) λ+(p)

pe

Postulate In an equilibrium market, the commodity is traded atthe equilibrium prize pe.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 122: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Stock & Commodity Exchanges & the Order Book

On stock & commodity exchanges, goods are traded using anorder book.The order book for a given asset contains a list of offers to buy orsell a given amount for a given price. Traders arriving at themarket have two options.

I Place a market order, i.e., either buy (buy market order) orsell (sell market order) n units of the asset at the best priceavailable in the order book.

I Place a limit order, i.e., write down in the order book theoffer to either buy (buy limit order) or sell (sell limit order) nunits of the asset at a given price p.

Market orders are matched to existing limit orders according to amechanism that depends on the trading system.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 123: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Stock & Commodity Exchanges & the Order Book

On stock & commodity exchanges, goods are traded using anorder book.The order book for a given asset contains a list of offers to buy orsell a given amount for a given price. Traders arriving at themarket have two options.

I Place a market order, i.e., either buy (buy market order) orsell (sell market order) n units of the asset at the best priceavailable in the order book.

I Place a limit order, i.e., write down in the order book theoffer to either buy (buy limit order) or sell (sell limit order) nunits of the asset at a given price p.

Market orders are matched to existing limit orders according to amechanism that depends on the trading system.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 124: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Stock & Commodity Exchanges & the Order Book

On stock & commodity exchanges, goods are traded using anorder book.The order book for a given asset contains a list of offers to buy orsell a given amount for a given price. Traders arriving at themarket have two options.

I Place a market order, i.e., either buy (buy market order) orsell (sell market order) n units of the asset at the best priceavailable in the order book.

I Place a limit order, i.e., write down in the order book theoffer to either buy (buy limit order) or sell (sell limit order) nunits of the asset at a given price p.

Market orders are matched to existing limit orders according to amechanism that depends on the trading system.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 125: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Luckock’s model

Luckock (2003) (& again Plackova (2011)) (re-) reinvented thefollowing model.

I Traders arrive at the market at times of a Poisson process.

I Each trader either wants to buy or sell exactly one item of theasset.

I Each trader has a maximal buy price or minimal sell price.

I Traders who want to buy (sell) for at most (least) p arrivewith Poisson intensity µ− = −dλ− (µ+ = dλ+).

I If the order book contains a suitable offer, then the traderplaces a market order, i.e., buys from the cheapest seller orsells to the highest bidder.

I If the order book contains no suitable offer, then the traderplaces a limit order at his/her maximal buy or minimal sellprice.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 126: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Luckock’s model

Luckock (2003) (& again Plackova (2011)) (re-) reinvented thefollowing model.

I Traders arrive at the market at times of a Poisson process.

I Each trader either wants to buy or sell exactly one item of theasset.

I Each trader has a maximal buy price or minimal sell price.

I Traders who want to buy (sell) for at most (least) p arrivewith Poisson intensity µ− = −dλ− (µ+ = dλ+).

I If the order book contains a suitable offer, then the traderplaces a market order, i.e., buys from the cheapest seller orsells to the highest bidder.

I If the order book contains no suitable offer, then the traderplaces a limit order at his/her maximal buy or minimal sellprice.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 127: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Luckock’s model

Luckock (2003) (& again Plackova (2011)) (re-) reinvented thefollowing model.

I Traders arrive at the market at times of a Poisson process.

I Each trader either wants to buy or sell exactly one item of theasset.

I Each trader has a maximal buy price or minimal sell price.

I Traders who want to buy (sell) for at most (least) p arrivewith Poisson intensity µ− = −dλ− (µ+ = dλ+).

I If the order book contains a suitable offer, then the traderplaces a market order, i.e., buys from the cheapest seller orsells to the highest bidder.

I If the order book contains no suitable offer, then the traderplaces a limit order at his/her maximal buy or minimal sellprice.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 128: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Luckock’s model

Luckock (2003) (& again Plackova (2011)) (re-) reinvented thefollowing model.

I Traders arrive at the market at times of a Poisson process.

I Each trader either wants to buy or sell exactly one item of theasset.

I Each trader has a maximal buy price or minimal sell price.

I Traders who want to buy (sell) for at most (least) p arrivewith Poisson intensity µ− = −dλ− (µ+ = dλ+).

I If the order book contains a suitable offer, then the traderplaces a market order, i.e., buys from the cheapest seller orsells to the highest bidder.

I If the order book contains no suitable offer, then the traderplaces a limit order at his/her maximal buy or minimal sellprice.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 129: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Luckock’s model

Luckock (2003) (& again Plackova (2011)) (re-) reinvented thefollowing model.

I Traders arrive at the market at times of a Poisson process.

I Each trader either wants to buy or sell exactly one item of theasset.

I Each trader has a maximal buy price or minimal sell price.

I Traders who want to buy (sell) for at most (least) p arrivewith Poisson intensity µ− = −dλ− (µ+ = dλ+).

I If the order book contains a suitable offer, then the traderplaces a market order, i.e., buys from the cheapest seller orsells to the highest bidder.

I If the order book contains no suitable offer, then the traderplaces a limit order at his/her maximal buy or minimal sellprice.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 130: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Luckock’s model

Luckock (2003) (& again Plackova (2011)) (re-) reinvented thefollowing model.

I Traders arrive at the market at times of a Poisson process.

I Each trader either wants to buy or sell exactly one item of theasset.

I Each trader has a maximal buy price or minimal sell price.

I Traders who want to buy (sell) for at most (least) p arrivewith Poisson intensity µ− = −dλ− (µ+ = dλ+).

I If the order book contains a suitable offer, then the traderplaces a market order, i.e., buys from the cheapest seller orsells to the highest bidder.

I If the order book contains no suitable offer, then the traderplaces a limit order at his/her maximal buy or minimal sellprice.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 131: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 132: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 133: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 134: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 135: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 136: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 137: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 138: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 139: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 140: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 141: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 142: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 143: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 144: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 145: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 146: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 147: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 148: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 149: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 150: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 151: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 152: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 153: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 154: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 155: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 156: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 157: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 158: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 159: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 160: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 161: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 162: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 163: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 164: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 165: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 166: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 167: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 168: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 169: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 170: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 171: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 172: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 173: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 174: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 175: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 176: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 177: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 178: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 179: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 180: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 181: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 182: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 183: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 184: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 185: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 186: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 187: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 188: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 189: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 190: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 191: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

The order book after the arrival of 100 traders.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 192: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 1

The order book after the arrival of 1000 traders.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 193: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0 0.2 0.4 0.6 0.8 1

The order book after the arrival of 10,000 traders.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 194: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Stigler’s model

Stigler (1964) already simulated the same model with µ± theuniform distributions on a set of 10 possible prices.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 195: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

0

0.2

0.4

0.6

0.8

1

5000 5100 5200 5300 5400 5500

Evolution of the highest bid and lowest ask prices between thearrivals of the 5000th and 5500th trader.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 196: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

Walras wouldn’t have liked this.

The theoretical equilibrium price pe = 0.5 is never attained.

There are magic numbers qmin ≈ 0.2177(2) and qmax = 1− qmin

such that eventually:

I Buy limit orders at a price below qmin are never matched witha market order.

I Sell limit orders at a price above qmax are never matched.

I The bid and ask prices keep fluctuating between qmin andqmax.

I The spread is huge, most of the time.

In fact, the model is very similar to the two-sided canyon modeland even seems to have the same critical point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 197: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

Walras wouldn’t have liked this.

The theoretical equilibrium price pe = 0.5 is never attained.

There are magic numbers qmin ≈ 0.2177(2) and qmax = 1− qmin

such that eventually:

I Buy limit orders at a price below qmin are never matched witha market order.

I Sell limit orders at a price above qmax are never matched.

I The bid and ask prices keep fluctuating between qmin andqmax.

I The spread is huge, most of the time.

In fact, the model is very similar to the two-sided canyon modeland even seems to have the same critical point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 198: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

Walras wouldn’t have liked this.

The theoretical equilibrium price pe = 0.5 is never attained.

There are magic numbers qmin ≈ 0.2177(2) and qmax = 1− qmin

such that eventually:

I Buy limit orders at a price below qmin are never matched witha market order.

I Sell limit orders at a price above qmax are never matched.

I The bid and ask prices keep fluctuating between qmin andqmax.

I The spread is huge, most of the time.

In fact, the model is very similar to the two-sided canyon modeland even seems to have the same critical point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 199: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

Walras wouldn’t have liked this.

The theoretical equilibrium price pe = 0.5 is never attained.

There are magic numbers qmin ≈ 0.2177(2) and qmax = 1− qmin

such that eventually:

I Buy limit orders at a price below qmin are never matched witha market order.

I Sell limit orders at a price above qmax are never matched.

I The bid and ask prices keep fluctuating between qmin andqmax.

I The spread is huge, most of the time.

In fact, the model is very similar to the two-sided canyon modeland even seems to have the same critical point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 200: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

Walras wouldn’t have liked this.

The theoretical equilibrium price pe = 0.5 is never attained.

There are magic numbers qmin ≈ 0.2177(2) and qmax = 1− qmin

such that eventually:

I Buy limit orders at a price below qmin are never matched witha market order.

I Sell limit orders at a price above qmax are never matched.

I The bid and ask prices keep fluctuating between qmin andqmax.

I The spread is huge, most of the time.

In fact, the model is very similar to the two-sided canyon modeland even seems to have the same critical point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 201: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

Walras wouldn’t have liked this.

The theoretical equilibrium price pe = 0.5 is never attained.

There are magic numbers qmin ≈ 0.2177(2) and qmax = 1− qmin

such that eventually:

I Buy limit orders at a price below qmin are never matched witha market order.

I Sell limit orders at a price above qmax are never matched.

I The bid and ask prices keep fluctuating between qmin andqmax.

I The spread is huge, most of the time.

In fact, the model is very similar to the two-sided canyon modeland even seems to have the same critical point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 202: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

Walras wouldn’t have liked this.

The theoretical equilibrium price pe = 0.5 is never attained.

There are magic numbers qmin ≈ 0.2177(2) and qmax = 1− qmin

such that eventually:

I Buy limit orders at a price below qmin are never matched witha market order.

I Sell limit orders at a price above qmax are never matched.

I The bid and ask prices keep fluctuating between qmin andqmax.

I The spread is huge, most of the time.

In fact, the model is very similar to the two-sided canyon modeland even seems to have the same critical point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 203: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Numerical simulation

Walras wouldn’t have liked this.

The theoretical equilibrium price pe = 0.5 is never attained.

There are magic numbers qmin ≈ 0.2177(2) and qmax = 1− qmin

such that eventually:

I Buy limit orders at a price below qmin are never matched witha market order.

I Sell limit orders at a price above qmax are never matched.

I The bid and ask prices keep fluctuating between qmin andqmax.

I The spread is huge, most of the time.

In fact, the model is very similar to the two-sided canyon modeland even seems to have the same critical point.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 204: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

The critical point

Luckock has a formula for qmin and qmax.

In particular, for the model on [0, 1] with λ−(x) = 1− x andλ+(x) = x , Luckcock claims: qmin := 1 + 1/z with z the uniquesolution of the equation 1 + z + ez = 0.

Numerically, qmin ≈ 0.21781170571980.

Luckock proves his claim based on the following assumptions:

I The model is stationary.

I There exist 0 < qmin < qmax < 1 such that buy (sell) limitorders below qmin (above qmax) are never matched.

I All buy (sell) limit orders above qmin (below qmax) areeventually matched.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 205: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Adding market orders

Let I = [I−, I+] be the interval of possible prices.We assume that λ± : I → [0,∞) are continuous, λ− isnonincreasing, and λ+ nondecreasing.

We drop the assumption that λ−(I+) = 0 = λ+(I−).

Instead, with rate λ−(I+) (resp. λ+(I−)), a trader arrives thatplaces a buy market order (resp. sell market order) if the orderbook contains at least one sell limit order (resp. buy limit order),and does nothing else.

The advantage of allowing λ−(I+), λ+(I−) > 0 is that the processcan be positive recurrent.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 206: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Luckock’s equation

[Luckock ’03] Let M± denote the price of the best buy/sell offer.Assume that the process is in equilibrium. Then

f−(x) := P[M− < x ] and f+(x) := P[M+ > x ]

solve the differential equation

(i) f−dλ+ =−λ−df+,(ii) f+dλ−=−λ+df−

(iii) f+(I−) = 1 = f−(I+).

Proof: Since buy orders are added to A ⊂ (qmin, qmax) at thesame rate as they are removed∫

AP[M− < x ] dλ+(dx) =

∫Aλ−(x)P[M+ ∈ dx ].

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 207: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Luckock’s equation

Theorem Assume λ−(I+), λ+(I−) > 0. Then Luckock’s equationhas a unique solution.

Conjecture A Stigler-Luckock model is positive recurrent if andonly if the unique solution to Luckock’s equation satisfiesf−(I+) > 0 and f+(I−) > 0.

I have a proof under the “asymmetry” assumption thatλ−(I+) 6= λ+(I−).

With new methods, I am hopeful to prove the full conjecture soon.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 208: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Weight functions

Let X±t denote the sets of buy and sell limit orders in the orderbook at time t and consider a weighted sum over the limit ordersof the form

Wt :=∑x∈X−

t

w−(x) +∑x∈X+

t

w+(x),

where w± : I → R are “weight” functions.Lemma One has

∂∂tE[Wt ] = q−(M−t ) + q+(M+

t ),

where q− : [I−, I+)→ R and q+ : (I+, I−]→ R are given by

q−(x) :=

∫ I+

xw+dλ+ − w−(x)λ+(x)

(x ∈ [I−, I+)

),

q+(x) :=−∫ x

I−

w−dλ− − w+(x)λ−(x)(x ∈ (I−, I+]

).

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics

Page 209: Rank-based Markov chains, self-organized criticality, and ...staff.utia.cas.cz/swart/present/Bath16.pdfself-organized criticality and a cornerstone of Bak’s (1996) book. Jan M. Swart

Weight functions

Theorem For each z ∈ I , there exist a unique pair of weightfunctions (w−,w+) such that

∂∂tE[Wt ] = 1{M−t ≤ z} − f−(z),

where (f−, f+) is the unique solution to Luckock’s equation.Likewise, there exist a unique pair of weight functions (w−,w+)such that

∂∂tE[Wt ] = 1{M+

t ≥ z} − f+(z).

This gives an interpretation to Luckock’s equation even when itssolutions take negative values, Moreover, the theorem is useful

even in non-stationary settings.

Jan M. Swart joint with Marco Formentin, Jana Plackova Rank-based Markov chains, self-organized criticality, and order book dynamics