Hawkes (1971) High-Frequency Process Lab
Simulate Alan Hawkes' (1971) self-exciting point process via Ogata's (1981) modified thinning algorithm. Analyze branching ratios, endogenous algorithmic cascades, memory half-life, and cubic variance explosion near flash crash criticality.
1. Conditional Intensity with Exponential Memory
The conditional arrival hazard rate $\lambda(t)$ combines exogenous baseline immigration $\mu$ with memory of all past event arrival times $t_i < t$:
Each order arrival immediately increases conditional intensity by jump magnitude $\alpha > 0$, decaying exponentially at mean-reversion speed $\beta > 0$ with memory half-life $t_{1/2} = \frac{\ln 2}{\beta}$.
2. Branching Ratio & Flash Crash Criticality
The branching ratio $\eta = \frac{\alpha}{\beta}$ determines the average number of endogenous offspring spawned per event. The unconditional expected event rate and asymptotic count variance are:
As $\eta \to 1$, order flow variance explodes cubically ($1/(1-\eta)^3$), revealing how electronic markets near criticality suffer endogenous liquidity flash crashes from minor exogenous tremors.
High-Frequency Algorithmic Cascades: High branching ratio (η = 0.84), rapid memory decay (half-life = 0.14s), and intense endogenous order clustering.
Sensitivity Grid 1: Excitation Jump α vs Decay β → Branching Ratio η
Shows the transition across subcritical (η < 0.85), near-critical (η ≥ 0.85), and explosive supercritical regimes (η ≥ 1.0):
Sensitivity Grid 2: Baseline μ vs Branching η → Expected Rate $\bar{\lambda} = \frac{\mu}{1 - \eta}$
Quantifies how endogenous self-excitation magnifies exogenous order flow volume across market regimes:
Engle-Russell ACD Model Lab
Autoregressive Conditional Duration model for irregular transaction arrival intervals and high-frequency trade clustering.
Explore ACD LabHo-Stoll (1981) Market Making Lab
Optimal dealer pricing, inventory risk management, CARA reservation prices, and asymmetric bid-ask quote shading.
Explore Ho-Stoll LabKyle-Obizhaeva Invariance Lab
Market microstructure invariance: 3/2 power law trade sizing, transactional business time, and execution slippage.
Explore Invariance LabBouchaud Propagator Lab
Transient market impact propagator, long-memory order signs, bare power-law kernels, and critical diffusivity balance.
Explore Propagator Lab