LibraryWorkspaceDataHub

© 2026 QCA · by Lime Fintech · About QCA · Market data from Massive

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Herding and Liquidity in Order-Book Markets. I. A Robust Liquidity-Stress Crossover and its Reflexive Mechanism

Open repository
Jul 13, 2026
Trading and Market Microstructure+1

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
High

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: HIGH
  • Key Insight: The repository reproduces the qualitative core phenomenon—a smooth increase in liquidity stress in high-herding regions and near-zero scrambled-sign controls—but it fails materially on key quantitative targets from the paper, especially calibration, stressed-corner magnitudes, onset boundary location, OFI robustness levels, and mechanism-decomposition comparators.

Results Comparison

Experiment 1 — Main phase diagram replication of herding-driven liquidity stress

MetricPaperReproducedDiffStatus
Baseline spread at (φ,κ)=(0,0)~3.12.32-0.78Material
Baseline φ_empty at (0,0)0.0000.0152+0.0152Material
Baseline RMS mispricing at (0,0)~2.60.895
-1.705
Material
Stressed spread at (0.9,1.0)~1.752.41+0.66Material
Stressed φ_empty at (0.9,1.0)~0.3400.5098+0.1698Material
Stressed RMS mispricing at (0.9,1.0)not fully specified in prompt2.235——
Max SEM for REAL φ_empty≤0.0080.0035BetterMatch
Scrambled φ_empty across grid0.000 everywhere~0.014–0.016+0.015 avgMaterial
Pattern: rising stressed cornerSmooth crossover in high φ/high κPresentQualitative matchMatch

Exp. 1 detailed line-cut comparison for κ=1.0

Paper expected at κ=1.0 across φ = [0, 0.15, 0.3, 0.45, 0.6, 0.75, 0.9]: [0, 0, 0, 0.083, 0.193, 0.275, 0.340]

Reproduced: [0.0157, 0.0231, 0.0451, 0.0910, 0.1738, 0.3125, 0.5098]

φPaperReproducedDiffStatus
0.000.0000.0157+0.0157Material
0.150.0000.0231+0.0231Material
0.300.0000.0451+0.0451Material
0.450.0830.0910+0.0080Within tolerance
0.600.1930.1738-0.0192Within tolerance
0.750.2750.3125+0.0375Moderate
0.900.3400.5098+0.1698Material

Exp. 1 detailed line-cut comparison for κ=0.8

Paper expected: [0, 0, 0, 0.022, 0.128, 0.222, 0.288]

Reproduced: [0.0155, 0.0194, 0.0344, 0.0575, 0.1036, 0.1740, 0.2717]

Overall: same monotone pattern, but too much stress at low φ and somewhat shifted levels.

Summary for Experiment 1

The main directional result is reproduced qualitatively: REAL runs show a smooth increase in φ_empty concentrated in high-φ/high-κ regions, and SCRAMBLED runs remove most of the stress gradient. However, quantitative reproduction is not successful:

  • baseline is already stressed relative to paper,
  • scrambled null is not zero,
  • stressed corner is substantially too high,
  • spread and RMS calibration miss paper benchmarks.

So the core claim is qualitatively replicated but quantitatively off.

Figures

Experiment 1 REAL heatmap

Experiment 1 SCRAMBLED heatmap

Experiment 1 line cut kappa=1

Experiment 1 line cut kappa=0.6


Experiment 2 — OFI herding robustness

MetricPaperReproducedDiffStatus
OFI stressed corner φ_empty at (0.9,1.0)~0.2270.6835+0.4565Material
OFI scrambled max φ_empty0.0000.0170+0.0170Material
OFI weaker than momentumYesMixed / not cleanly true—Mismatch
Stress region in high φ/high κYesYesQualitative matchMatch

More detailed comparison:

Paper expected OFI φ_empty by κ rows and φ=[0.3,0.45,0.6,0.75,0.9]:

  • κ=1.0: [0.007, 0.105, 0.156, 0.195, 0.227]
  • reproduced: [0.0668, 0.1575, 0.2968, 0.4814, 0.6835]

This is not a small deviation; it is a large upward level shift across the whole surface.

Importantly, the repo’s RESULTS.md says “stress region persists under OFI, though weaker than momentum,” but the actual maximum values show:

  • momentum max REAL φ_empty = 0.5098
  • OFI max REAL φ_empty = 0.6835

So on the main grid, OFI appears stronger, not weaker, than momentum. That conflicts with the paper’s rule-robustness statement.

Summary for Experiment 2

Only the broad qualitative existence of an OFI stress region is reproduced. The magnitude and relative ranking versus momentum are not reproduced.

Figures

Experiment 2 OFI REAL heatmap

Experiment 2 OFI SCRAMBLED heatmap


Experiment 3 — Signal-horizon and response-scale robustness

Available reported numbers are for the stressed corner φ_empty vs window:

Window wPaperReproducedDiffStatus
500.3190.316-0.003Match
1000.3300.445+0.115Material
2000.3400.517+0.177Material
4000.3410.572+0.231Material
8000.3470.636+0.289Material

Interpretation:

  • The paper claims robustness with a narrow high range.
  • The reproduction shows strong monotone sensitivity to window length, not near-invariance.
  • Only w=50 matches closely; all larger windows drift far above paper.

This is a significant failure of the robustness claim as stated.

Figures

Experiment 3 scale sweep

Experiment 3 window sweep


Experiment 4 — Fine-scan onset boundary estimation

Main threshold τ=0.02:

κPaper φ*(κ)Reproduced φ*(κ)DiffStatus
0.6~0.550.206-0.344Material
0.8~0.450.129-0.321Material
1.0~0.360.122-0.238Material

Threshold robustness table:

τPaper [κ=.6,.8,1.0]Reproduced [κ=.6,.8,1.0]Status
0.005[0.506, 0.412, 0.316][0.000, 0.000, 0.000]Material mismatch
0.010[0.519, 0.425, 0.343][0.000, 0.000, 0.000]Material mismatch
0.020[0.546, 0.450, 0.364][0.206, 0.129, 0.122]Material mismatch
0.050[0.615, 0.489, 0.411][0.532, 0.398, 0.328]Closer but still low

Interpretation:

  • Monotonicity in κ is preserved: higher κ lowers the onset φ*.
  • But the whole onset boundary is shifted far too far left, meaning stress emerges at much lower herder fractions than in the paper.
  • The zero values for τ=0.005 and τ=0.01 are a direct consequence of the model already having baseline φ_empty ≈ 0.015, i.e., the system is pre-stressed relative to the paper.

This is one of the clearest signs of calibration mismatch.

Figures

Experiment 4 boundary plot

Experiment 4 fine scan


Experiment 5 — Bandwidth robustness under momentum herding

Reproduced φ_empty means:

φPaper b=2Reproduced b=2Paper b=4Reproduced b=4Paper b=8Reproduced b=8Overall
0.450.1310.14590.0840.08970.0670.0708Good match
0.600.2210.23630.1950.17540.2030.1560Moderate mismatch
0.750.2880.35910.2780.30610.2850.3108Somewhat high
0.900.3430.49870.3370.51400.3480.5673Material mismatch

Interpretation:

  • Near onset (φ=0.45), this experiment is actually fairly close to paper.
  • The high-stress corner is much too stressed and not “nearly invariant” at the same level as paper.
  • The qualitative conclusion of limited bandwidth sensitivity in stressed regions is only partially visible; levels are substantially too high, especially at φ=0.9.

Figures

Experiment 5 bandwidth bar


Experiment 6 — Reflexive mechanism decomposition

Momentum comparator results

ComparatorPaperReproducedDiffStatus
REAL0.3380.5131+0.1751Material
SHADOW0.0470.2466+0.1996Material
REPLAY0.1320.5001+0.3681Material
Δ vs SHADOW+0.291+0.2665-0.0245Close
Δ vs REPLAY+0.206+0.0130-0.1930Material

Interpretation:

  • The REAL–SHADOW reflexive gap is reasonably close in sign and order of magnitude.
  • But REPLAY is almost as stressed as REAL, which is the opposite of the paper’s intended decomposition where replay should be much less stressed than real closed-loop dynamics.
  • Therefore the comparator hierarchy is not reproduced correctly.

OFI comparator results

ComparatorPaperReproducedDiffStatus
REAL0.1950.0151-0.1799Material
SHADOW0.4180.0150-0.4030Material
REPLAY0.1640.0151-0.1489Material
Δ vs SHADOW-0.223+0.0001Sign mismatchMaterial
Δ vs REPLAY+0.031~0.0000Small mismatchMaterial

The log reveals a major implementation/calibration red flag:

  • expected matched OFI scale from paper: ~68.8
  • reproduced matched scale: 500.00
  • bisection error remained ~0.982 and never approached the target mean |p_buy-0.5|

That strongly suggests the OFI amplitude matching failed. If amplitude matching failed, the OFI decomposition is not a valid replication of the paper’s test.

Telegraph comparator

Paper telegraph values (selected examples) are substantially lower than reproduced values, especially at high persistence/amplitude. Reproduced heatmap:

  • persistence 110, amplitude 0.400 → 0.4034 vs paper expected ~0.177

Again, stress levels are much too high.

Summary for Experiment 6

This experiment is not reproduced quantitatively. Momentum preserves some sign structure, but REPLAY is wrong in level. OFI decomposition appears invalid due to failed scale matching.

Figures

Experiment 6 comparator bars

Experiment 6 telegraph heatmap


Experiment 7 — Cross-market corollary

Reported market B φ_empty:

ConditionReproduced
Baseline0.5160
Live stressed-neighbor0.5005
Shadow decorrelated0.3763

Key contrasts:

  • live − shadow = +0.1242
  • live − baseline = −0.0155

Expected qualitative claim from paper:

  • no robust directional contagion,
  • live stressed-neighbor should not materially exceed decorrelated matched shadow.

Interpretation:

  • Since live > shadow by 0.1242, the fair-test negative result is not cleanly supported.
  • On the other hand, live is slightly below baseline, so there is no evidence of contagion relative to baseline.
  • Because baseline itself is already heavily stressed (~0.516), interpretation is difficult: the system may be too stressed for this corollary test to be informative.

So this experiment is inconclusive to partially inconsistent with the stated expected result.

Figures

Experiment 7 coupling bar


Statistical & Economic Significance

Statistical significance

The repository reports SEMs, and where provided they are small:

  • Exp 1 max SEM = 0.0035, comfortably below the paper target ≤ 0.008.
  • Exp 6 comparator SEMs are also small:
    • Momentum REAL 0.5131 ± 0.0023
    • SHADOW 0.2466 ± 0.0040
    • REPLAY 0.5001 ± 0.0053
  • Exp 7 SEMs are ~0.003–0.004.

This means the observed discrepancies are not sampling noise. They are statistically precise differences from the paper, not random fluctuations.

No t-stats or p-values are reported in the repository, but given the tiny SEMs and large level differences, many of the gaps vs paper are clearly materially significant:

  • stressed-corner φ_empty differences of +0.17 to +0.46,
  • baseline φ_empty nonzero at ~0.015,
  • onset boundary shifts of ~0.24–0.34 in φ,
  • OFI matched scale failure.

Economic significance

In this synthetic ABM setting, economic significance maps to how much liquidity stress / one-sided-book incidence changes. These differences are economically large:

  • Going from paper target 0.34 to reproduced 0.51 at the stressed corner is a major increase in dry-up probability.
  • A nonzero scrambled null (~0.015) means the control is not a true “no-stress” baseline.
  • Earlier onset boundaries imply the model becomes fragile at much lower herder participation than the paper claims.

So even if the qualitative story survives, the economic magnitude and threshold interpretation change materially.


Discrepancies

  • Baseline calibration is off

    • Repo explicitly notes spread ≈2.3 ticks vs target 3.1.
    • Baseline φ_empty is ~0.015 instead of 0.
    • Baseline RMS is 0.89 vs target 2.6.
    • This alone can explain left-shifted onset boundaries and inflated stress throughout.
  • Scrambled-sign null is not zero

    • Paper expects φ_empty = 0 across main grid and OFI robustness grid.
    • Reproduced scrambled values cluster around 0.015.
    • This suggests the implementation has persistent one-sided-book events even absent directional imitation.
  • Stress levels are systematically too high

    • Momentum stressed corner: 0.5098 vs 0.34.
    • OFI stressed corner: 0.6835 vs 0.227.
    • Telegraph and many robustness cells are also far above paper.
    • This indicates a structural calibration shift rather than isolated metric noise.
  • OFI amplitude matching appears to fail in Exp 6

    • Paper target matched scale ~68.8.
    • Repo hits ceiling at 500 with error ~0.982 still unresolved.
    • Hence OFI comparator results likely do not test the intended matched-amplitude mechanism.
  • REPLAY comparator is too close to REAL

    • Paper expects replay to reduce stress materially.
    • Reproduced momentum REPLAY=0.5001 vs REAL=0.5131.
    • This weakens the intended causal decomposition of reflexivity.
  • Cross-market test is hard to interpret because the baseline is already highly stressed

    • Baseline B at 0.516 is near the same stress level as live coupling.
    • That leaves little room to assess contagion cleanly.

Methodology Issues

Only relevant issues that likely matter:

  1. Cancellation / book mechanics ambiguity

    • The repo itself states the baseline spread miss “stems from per-order cancellation model ambiguity.”
    • That is likely a first-order source of mismatch.
  2. Control condition design likely not matching paper exactly

    • Since scrambled runs still produce φ_empty≈0.015, either:
      • book mechanics alone create one-sidedness too often,
      • or the scrambled implementation preserves some unintended asymmetry.
  3. OFI implementation and amplitude matching are suspect

    • The prompt explicitly said the exact OFI formula must come from the repo/paper code.
    • The failed bisection strongly suggests either the OFI signal scale, normalization, or matching target is not aligned with the paper.
  4. Experiment count mismatch in Exp 4

    • User methodology expected 84 total runs; log reports 240 fine-scan runs.
    • Not necessarily wrong, but indicates procedural deviation from the proposed design.

Reliability

Positive signs

  • Results are internally consistent.
  • SEMs are small.
  • The qualitative momentum heatmap pattern is stable.
  • Scrambled conditions do suppress the gradient, even if not the level.

Red flags

  • Nonzero baseline and scrambled φ_empty.
  • Major spread/RMS calibration miss.
  • OFI decomposition matching failure.
  • REPLAY nearly identical to REAL in Exp 6.
  • Some prose in RESULTS.md is inconsistent with raw values, e.g. saying OFI is weaker than momentum when the max φ_empty is higher.

Overall confidence

High confidence in the observed repository outputs, but only medium-to-low confidence that those outputs are a faithful quantitative replication of the paper.


Verdict

Final Decision: PARTIALLY REPRODUCED

Why: The repository clearly reproduces the paper’s main qualitative finding: herding-driven liquidity stress rises smoothly in the high-φ/high-κ region, and destroying directional imitation removes most of that pattern. However, the quantitative results are materially different from the paper across several core experiments: baseline calibration, scrambled null, stressed-corner magnitude, onset boundary, OFI robustness, and mechanism decomposition. This is too much discrepancy for “fully reproduced,” but the central pattern is strong enough that “not reproduced” would be too harsh.


Per-experiment bottom line

  • Exp 1: Partially reproduced — qualitative phase diagram yes, quantitative calibration no.
  • Exp 2: Partially reproduced / weakly not reproduced — OFI stress region exists, but magnitudes and relative weakness vs momentum do not match.
  • Exp 3: Not reproduced — robustness to window length fails quantitatively.
  • Exp 4: Not reproduced — onset boundary is far too early.
  • Exp 5: Partially reproduced — near-onset bandwidth effects reasonable, stressed corner too high.
  • Exp 6: Not reproduced — comparator hierarchy and OFI amplitude matching fail.
  • Exp 7: Inconclusive — baseline over-stress makes the contagion corollary hard to evaluate cleanly.

Experiments

Main phase-diagram replication of herding-driven liquidity stress in a CDA order-book ABM

Replicate the core result that a smooth, emergent liquidity-stress crossover appears in a continuous double-auction order-book agent-based model when both the herder fraction (phi) and herding strength (kappa) are high, using the momentum herding rule and a scrambled-sign null to isolate directional imitation.

Rule-robustness replication with OFI herding and scrambled-sign null

Test whether the liquidity-stress phenomenon persists when the herding rule is changed from price momentum to order-flow imbalance (OFI), while maintaining the same CDA ABM structure and using a scrambled-sign null to isolate directional imitation.

Signal-horizon and response-scale robustness of the stressed and onset regimes

Test whether the liquidity-stress effect is robust to substantial changes in the herding signal horizon and response scale, evaluated at both the strongly stressed corner and an onset-region point under momentum herding.

Fine-scan onset-boundary estimation and threshold robustness

Estimate the onset boundary phi*(kappa) for liquidity stress by fine-scanning the herder fraction at several kappa values, then testing robustness of the inferred boundary to alternative stress thresholds.

Liquidity-placement bandwidth robustness under momentum herding

Test whether the liquidity-stress phenomenon is robust to a fourfold change in the limit-order placement bandwidth parameter b, especially in the stressed corner and near onset, under momentum herding.

Reflexive mechanism decomposition via real, shadow, replay, and synthetic telegraph comparators

Decompose the liquidity-stress mechanism at the stressed corner into closed-loop reflexive and open-loop exogenous-drive components using amplitude-matched comparators for both momentum and OFI herding.

Cross-market corollary: test for signal-only directional contagion between synthetic markets

Test the corollary that the liquidity-stress mechanism is intrinsically local and self-referential, such that a signal-only cross-market herding link should not generate directional contagion in a second market.

Original paperRun QCA on your paper