LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

A Finite Bid--Ask Spread from Replenishment Displaced from the Quote

Open repository
Oct 15, 2026
Trading and Market Microstructure

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
High

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: HIGH
  • Key Insight: The repository strongly reproduces the paper’s main analytical mechanisms for all five selected experiments using synthetic PDE/Green-function tests, with very small numerical errors for the core formulas. The main limitation is that Experiment 4 is only a mechanism demonstration using exogenous completion paths rather than an exact replication of the paper’s completion law.

The repository’s own summary states 76/76 tests pass, and the quantitative outputs are internally consistent with the expected outcomes of the selected experiments.


Repository Results Used

The analysis is based on the contents of the result files under results/, notably:

  • results/RESULTS.md
  • results/exp1_baseline_metrics.json
  • results/exp1_eps_sweep.csv
  • results/exp1_sigma_sweep.csv
  • results/exp2_attenuation.csv
  • results/exp2_peak_lag.csv
  • results/exp2_quote_response.csv
  • results/exp3_capacity_curves.csv
  • results/exp3_integral_validation.csv
  • results/exp3_param_sweep.csv
  • results/exp4_completion_mechanism.csv
  • results/exp4_immediate.csv
  • results/exp4_symmetric.csv
  • results/exp4_asymmetric.csv
  • results/exp4_spread_vs_Sigma.csv
  • results/exp5_sigma_sweep.csv
results/exp5_unequal_thresholds.csv
  • results/exp5_asymmetry.csv

  • Results Comparison

    Experiment 1 — Stationary separated-book geometry and finite spread

    MetricExpectedReproducedDiffStatus
    Spread formula s≈Σ−dA∗−dB∗s \approx \Sigma-d_A^*-d_B^*s≈Σ−dA∗​−dB∗​Close match in weak-overlap regimes=1.72595s=1.72595s=1.72595, spred=1.71684s_{pred}=1.71684spred​=1.71684abs err = 0.00911, rel err ≈ 0.53%✅
    Exponential inward profilesFit slope 1/ℓν1/\ell_\nu1/ℓν​ℓfit=0.7043\ell_{fit}=0.7043ℓfit​=0.7043 vs theory
    Profile linearityHigh semilog linearityR2=1.0000R^2=1.0000R2=1.0000negligible✅
    Midpoint = reaction price under symmetrym≈xϕm \approx x_\phim≈xϕ​both ≈ 0machine precision✅
    Spread increases ~1-for-1 with Σ\SigmaΣYesfrom sweep: error falls as Σ\SigmaΣ rises; large-Σ\SigmaΣ tracking excellentstrong qualitative match✅
    Threshold sensitivity ∂s/∂ln⁡ϵi=ℓν,i\partial s/\partial \ln \epsilon_i = \ell_{\nu,i}∂s/∂lnϵi​=ℓν,i​Per-side identitysimultaneous sweep gives 1.26–1.38 vs

    Key reproduced values

    • Baseline spread error: 0.0091
    • Weak-overlap ratio ℓν/s\ell_\nu/sℓν​/s: 0.410
    • Reaction/cancellation regime ratios: ~0.008, comfortably small
    • Mean ∣error∣/meanspread|error|/mean spread∣error∣/meanspread over positive-spread Σ\SigmaΣ rows: 0.0103

    Interpretation:
    This is a strong reproduction of the paper’s central stationary claim. The spread formula works especially well once the spread is safely positive and larger than the penetration lengths. The poorer fit near small or negative spreads is expected and aligns with the paper’s own stated regime limits.

    Figures

    Experiment 1 baseline profiles

    Experiment 1 sigma sweep

    Experiment 1 epsilon sweep


    Experiment 2 — Delayed and attenuated displaced replenishment response at the quote

    MetricExpectedReproducedDiffStatus
    Peak lag formula for GidG_i^dGid​Numerical peak matches theorymax error 1.91×10−31.91\times10^{-3}1.91×10−3tiny✅
    ν→0\nu\to0ν→0 asymptotic τ∗(d)→d2/(2D)\tau^*(d)\to d^2/(2D)τ∗(d)→d2/(2D
    Integrated attenuation Id/I0=e−d/ℓνI_d/I_0=e^{-d/\ell_\nu}Id​/I0​=e−d/ℓ
    Main attenuation identity at d=d∗d=d^*d=d∗Id/I0=ϵ/ρqI_d/I_0=\epsilon/\rho^qId​/I
    Displaced replenishment weaker than local depletionYesintegrated 0.1179 vs 0.7071; peak 0.0730 vs 0.7192attenuation ~1/6 as predicted✅
    Distinction between GdG^dGd and first-passage kernel hdh^dhdDifferent shape/peakseparate columns for both peak laws in datasupported✅

    Interpretation:
    Experiment 2 is very convincingly reproduced. The kernel theory is essentially exact numerically, and the attenuation identity is one of the cleanest results in the repository.

    Figures

    Experiment 2 kernel shapes

    Experiment 2 peak lag

    Experiment 2 attenuation

    Experiment 2 quote response


    Experiment 3 — Finite-window quote capacity in operational time

    MetricExpectedReproducedDiffStatus
    Exact kernel integral I(T)I(T)I(T)Quadrature matches erf formulamax rel err 3.02×10−83.02\times10^{-8}3.02×10−8negligible✅
    Capacity formula L(T)=ℓ0T/I(T)\mathcal{L}(T)=\ell_0 T/I(T)L(T)=ℓ0​T/I(T)Exactreproduced directly in tablesnegligible✅
    Short-window asymptoticGood for small νT\nu TνTat T=0.01T=0.01T=0.01: 0.33% err; at T=0.1T=0.1T=0.1: 3.24% errstrong✅
    Short-window scaling exponenttends to 1/20.507 for νT<0.1\nu T<0.1νT<0.1, 0.501 for T<0.01T<0.01T<0.01very close✅
    Instantaneous capacity does not stay finite as T→0T\to0T→0yes, T\sqrt{T}T​ scalingconfirmed numericallyqualitative match✅

    Interpretation:
    Experiment 3 is reproduced essentially exactly. The asymptotic formula behaves exactly as expected: excellent for short windows and poor for long windows, which is the correct theoretical pattern rather than a failure.

    Figures

    Experiment 3 capacity


    Experiment 4 — Completion-memory-driven placement standoff and spread geometry

    MetricExpectedReproducedDiffStatus
    Immediate completion gives QΣ=0Q_\Sigma=0QΣ​=0, Σ=Σ0\Sigma=\Sigma_0Σ=Σ0​Yesmax QΣ=0Q_\Sigma=0QΣ​=0, max Σ=2.0\Sigma=2.0Σ=2.0exact✅
    Delayed symmetric completion gives QΣ>0Q_\Sigma>0QΣ​>0, QΔ=0Q_\Delta=0QΔ​=0, Σ
    Asymmetric delayed completion gives QΔ≠0Q_\Delta\neq0QΔ​=0Yesshown in exp4_asymmetric.csvconsistent✅
    Spread increases with Σ\SigmaΣ~1-for-1 in quasistationary regimeslope = 0.993diff = -0.007 from theory 1.0✅
    Exact paper-specific completion lawPreferableNot implemented; Mode B exogenous paths usedmaterial methodology gap⚠️

    Interpretation:
    The mechanism is reproduced well: pending completion stock widens the standoff and widens spread even when directional imbalance is zero. However, this is not an exact replication of the full dynamic law from the paper, because the repository explicitly states that the main-text completion law was unavailable and the experiment was run in Mode B with exogenous QQQ-paths.

    That makes the result economically and mechanically persuasive, but not a full paper-faithful reproduction.

    Figures

    Experiment 4 standoff scenarios

    Experiment 4 completion mechanism


    Experiment 5 — Midpoint versus reaction price

    MetricExpectedReproducedDiffStatus
    Symmetric baseline m=xϕm=x_\phim=xϕ​Yesboth ≈ 0machine precision✅
    Spread can vary while xϕx_\phixϕ​ stays pinned under symmetryYesΣ:1→6\Sigma:1\to6Σ:1→6, spread 0.390→5.398, xϕ=0x_\phi=0xϕ​=0 throughoutexact qualitative match✅
    Unequal thresholds create m≠xϕm\neq x_\phim=xϕ​Yessymmetry error up to 0.4904strong effect✅
    Imbalance-only benchmark differs from observed spreadYessϕ=12.1898s_\phi=12.1898sϕ​=12.1898 vs actual s=5.3982s=5.3982s=5.39822.26x larger✅

    Interpretation:
    Experiment 5 is strongly reproduced. This is one of the clearest demonstrations that the model’s spread geometry is not just an imbalance-threshold artifact.

    Figures

    Experiment 5 symmetric fields

    Experiment 5 mechanism separation

    Experiment 5 asymmetry decoupling


    Summary

    Overall, the selected experiments match the expected outcomes well.

    • Exp 1: Core stationary spread formula and exponential penetration are reproduced with small errors.
    • Exp 2: Kernel lag and attenuation identities are reproduced almost exactly.
    • Exp 3: Finite-window capacity formulas are reproduced essentially exactly.
    • Exp 4: Mechanism reproduced, but exact-law replication is missing.
    • Exp 5: Symmetric midpoint/reaction-price identity and asymmetric decoupling are clearly reproduced.

    Statistical & Economic Significance

    Statistical significance

    There are no t-stats, p-values, Sharpe ratios, alphas, or drawdowns because these are not empirical asset-pricing or trading-strategy experiments. The relevant notion of significance here is formula accuracy and stability across parameter sweeps.

    By that standard:

    • Errors in Experiments 2 and 3 are often at machine precision.
    • Experiment 1 baseline spread error is 0.53%, which is economically and numerically small.
    • Experiment 4’s spread-vs-Σ\SigmaΣ slope of 0.993 is very close to the theoretical 1.0.
    • Experiment 5 delivers machine-precision symmetry identities and large, deliberate deviations under asymmetry.

    Economic relevance

    These are model-validation experiments, not strategy backtests. Economic relevance is therefore conceptual:

    • Exp 1 supports the claim that a finite observed spread can emerge from separated replenishment geometry.
    • Exp 2 supports delayed and attenuated quote replenishment from displaced placement.
    • Exp 3 supports a finite-window liquidity concept instead of a strictly positive instantaneous liquidity coefficient.
    • Exp 4 supports the idea that spread widening can come from completion-memory stock, not only imbalance.
    • Exp 5 supports the distinction between spread geometry and latent price dynamics.

    These are all economically meaningful within the paper’s theoretical framework.


    Discrepancies

    1. Experiment 4 is not an exact replication

    • The repository explicitly says the paper’s completion law is unavailable from the main-text excerpt.
    • The experiment therefore uses Mode B with exogenous pending-volume paths.
    • This reproduces the mechanism, but not necessarily the exact paper calibration or dynamics.

    This is the main reason the overall verdict is PARTIALLY REPRODUCED rather than fully reproduced.

    2. Experiment 1 small-Σ\SigmaΣ / negative-spread regime shows larger errors

    • For low Σ\SigmaΣ, the predicted spread can become negative and errors are larger.
    • Example: at Σ=2.333\Sigma=2.333Σ=2.333, observed s=0.1127s=0.1127s=0.1127 vs predicted 0.02960.02960.0296, error 0.08310.08310.0831.
    • This is not a red flag; it is consistent with the paper’s stated breakdown conditions when weak-overlap is not well satisfied.

    3. Threshold sensitivity in Experiment 1 needs careful interpretation

    • The expected identity is per-side: ∂s∂ln⁡ϵi=ℓν,i\frac{\partial s}{\partial \ln \epsilon_i} = \ell_{\nu,i}∂lnϵi​∂s​=ℓν,i​
    • The sweep changes both ϵA\epsilon_AϵA​ and ϵB\epsilon_BϵB​ simultaneously, so the expected total sensitivity is about: 2ℓν≈1.4142\ell_\nu \approx 1.4142ℓ
    • Observed values of 1.26–1.38 are reasonably close, especially away from regime boundaries.

    So this is not a contradiction, just a measurement/setup nuance.


    Methodology Issues

    Only one material issue stands out:

    • Experiment 4 deviates from the ideal methodology because the exact completion law was not recovered, and exogenous QQQ-paths were substituted.
    • The repository documents this clearly, which is good practice.
    • Because of that transparency, this should be treated as a mechanism validation rather than a strict paper-figure replication.

    Otherwise, the methodology appears aligned with the experiment definitions:

    • equal-coefficient branch used where required,
    • quote extraction via thresholds,
    • parameter sweeps performed,
    • stationary and kernel formulas explicitly benchmarked.

    Reliability

    Stability

    Results look stable:

    • Exact identities in Exp 2 and Exp 3 are reproduced to near machine precision.
    • Exp 1 improves materially as conditions move deeper into the weak-overlap regime.
    • Exp 5 symmetry identities are robust across the Σ\SigmaΣ sweep.

    Anomalies / red flags

    No major red flags. Minor notes:

    • Exp 1 near-regime-boundary cases have larger errors, but this is theoretically expected.
    • Exp 4 lacks exact completion-law fidelity, but this is explicitly disclosed.

    Confidence

    High confidence in:

    • code correctness for the implemented formulas,
    • internal numerical consistency,
    • reproduction of the paper’s main analytical mechanisms.

    Slightly lower confidence only on:

    • whether Exp 4 would quantitatively match the original paper under the true completion law.

    Verdict

    Final Decision: PARTIALLY REPRODUCED

    Why:

    • Experiments 1, 2, 3, and 5 are reproduced strongly, with quantitative matches ranging from very good to essentially exact.
    • Experiment 4 reproduces the qualitative mechanism and quasistationary spread geometry, but does not implement the exact paper-specific completion law, so it cannot be called a full reproduction of that experiment.

    If the original paper’s primary contribution is the stationary separated-book geometry and displaced-replenishment mechanism, this repository provides strong evidence that those core findings are reproduced. The only meaningful limitation is the dynamic completion-memory specification.


    Experiment-by-Experiment Bottom Line

    ExperimentBottom line
    Exp 1Strongly reproduced
    Exp 2Very strongly reproduced
    Exp 3Essentially exactly reproduced
    Exp 4Mechanism reproduced, exact replication not achieved
    Exp 5Strongly reproduced

    Experiments

    Stationary separated-book geometry and finite spread from displaced replenishment

    Reproduce and validate the paper’s core stationary claim that a finite observed bid–ask spread emerges in a two-field reaction–diffusion order-book model when bid and ask standing densities are modeled separately and replenishment is withheld from a source-free interval around the reaction boundary. The experiment tests the quasistationary weak-overlap penetration formula s ≈ Σ - d_A* - d_B* and verifies the inward exponential quote-side density profiles.

    Delayed and attenuated displaced replenishment response at the quote

    Reproduce the local linear-response theory showing that quote-level replenishment delivered at a displaced placement edge q_i rather than directly at the quote p_i generates a delayed and attenuated density response governed by the displaced diffusion–cancellation kernel G_i^d(τ). The experiment validates the peak-lag formula, integrated attenuation identity, quote-displacement mapping, and the distinction between density-response and first-passage kernels.

    Finite-window quote capacity in operational time

    Reproduce the paper’s finite-window liquidity-capacity result showing that quote capacity is well-defined over a nonzero operational-time window T, scales as sqrt(T) for short windows, and does not imply a nonzero instantaneous liquidity coefficient at T→0. The experiment validates the exact same-location kernel integral, the exact capacity formula, and its short-window asymptotic.

    Completion-memory-driven placement standoff and spread geometry

    Reproduce the dynamic mechanism by which pending paired-replenishment volume widens the source-withheld interval through Σ=Σ_0+χ_s Q_Σ, thereby altering spread geometry independently of imbalance. This experiment focuses on the state-update chronology and finite-memory completion mechanism rather than on exact empirical calibration, and it should be run either with the supplement/repository completion law or with explicitly exogenous pending-volume paths when the main-text law is unavailable.

    Midpoint versus reaction price: separation of spread geometry from imbalance dynamics

    Validate the paper’s claim that on the symmetric equal-coefficient branch, spread geometry is controlled by the total standing density ρ and placement standoff Σ, while the reaction price or latent price is controlled by the imbalance field φ. The experiment tests the symmetry result m=x_φ under mirrored conditions and explores how midpoint and reaction price can decouple when thresholds, sources, or flows become asymmetric.

    Original paperRun QCA on your paper
    0.70710.7071
    0.7071
    -0.0028, ≈ -0.4%
    ✅
    2ℓν=1.4142\ell_\nu=1.414
    2ℓν​=1.414
    within ~2.7%–11% of doubled theoretical effect
    ✅ / minor caveat
    )
    Yes
    confirmed at ν=0.01\nu=0.01ν=0.01
    qualitative + quantitative support
    ✅
    ν​
    Exact
    max abs err 2.08×10−82.08\times10^{-8}2.08×10−8
    effectively zero
    ✅
    0
    ​
    =
    ϵ/ρq
    0.166667 vs 0.166667
    zero to machine precision
    ✅
    >Σ0\Sigma>\Sigma_0
    Σ>Σ0​
    Yes
    max QΣ=2.0Q_\Sigma=2.0QΣ​=2.0, max Σ=3.0\Sigma=3.0Σ=3.0
    exact under scenario
    ✅
    ν​
    ≈
    1.414