LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

A game-theoretic analysis of the market microstructure in decentralized exchanges with concentrated liquidity

Open repository
Oct 22, 2026
Mathematical Finance

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
Medium

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: MEDIUM
  • Key Insight: The repository reproduces the paper’s core analytical and numerical claims for the closed-form model, asymptotic thresholds, and mean-field-game numerics very well. However, the empirical pool exercises (Exp 3–4) are not true empirical reproductions because the repo explicitly uses synthetic calibrated data rather than real on-chain data, so those results match the paper by construction more than by independent validation.

Repository Results Overview

The main results file states:

  • 126 tests passed
  • Exp 3–4 use synthetic pool data calibrated to match paper-reported participation margins
  • A reproducibility bug in pool seeding was fixed by replacing Python’s nondeterministic hash() with deterministic sha256

That bug fix is important: prior versions would have generated different synthetic paths across runs, making Exp 3–4 unstable and not reproducible.


Results Comparison

Experiment 1 — Closed-form reproduction of boundary-triggered concentrated-liquidity LP profitability

The repository reports exact verification of all major analytical objects:

  • ϵw\epsilon_w
ϵw​
  • centered in-range IL formula
  • boundary functions φ(w),η(w)\varphi(w), \eta(w)φ(w),η(w)
  • triangular occupation law ρw(n)\rho_w(n)ρw​(n)
  • cycle income
  • cost rate
  • long-run profit
  • critical volatility σc\sigma_cσc​
  • quadratic stationary value function
  • Key metrics from repo

    MetricPaper / ExpectedReproducedDiffStatus
    Exact cost-per-unit-liquidity formulaExact match expectedVerified ✓0Match
    Exact centered IL formulaExact match expectedVerified ✓0Match
    Boundary decomposition φ,η\varphi, \etaφ,ηExact match expectedVerified ✓0Match
    Occupation law ρw(n)\rho_w(n)ρw​(n)Triangular, sums to 1Verified ✓0Match
    Profitability thresholdΠ(w)<0\Pi(w)<0Π(w)<0 for all www when σ>σc\sigma>\sigma_cσ>σc​
    Interior optimum widthExists for σ<σc\sigma<\sigma_cσ<σc​Confirmed ✓0Match
    Stationary value functionQuadratic in offsetVerified ✓0Match

    Numerical evidence

    For Uniswap v3 0.3%:

    σ\sigmaσσc\sigma_cσc​s=σ/σcs=\sigma/\sigma_cs=σ/σc​w∗w^*w∗Π(w∗)\Pi(w^*)Π(w∗)
    0.301.0000.300136.72
    0.601.0000.600121.71
    0.851.0000.85023.29
    0.951.0000.95060.33
    1.051.0001.050114-0.078
    1.201.0001.200179-0.209

    For Uniswap v3 0.05%:

    σ\sigmaσσc\sigma_cσc​sssw∗w^*w∗Π(w∗)\Pi(w^*)Π(w∗)
    0.851.0000.850103.34
    0.951.0000.950370.334
    1.051.0001.050200-0.157

    Summary

    This is a strong reproduction of the theoretical closed-form module. The repo clearly reproduces the paper’s qualitative and quantitative patterns:

    • positive profits below the critical threshold
    • profits collapsing near s=1s=1s=1
    • negative profits above σc\sigma_cσc​
    • widening optimal width as volatility approaches the threshold

    One small implementation nuance: when profitability is gone, the CSV still records large grid-end widths (e.g. 114, 179, 200) rather than “no meaningful optimum.” That is not a substantive issue, because the reported profits are negative and the markdown already labels those cases unprofitable.


    Experiment 2 — Numerical validation of leading-order approximations

    The repository evaluates the asymptotic approximations against exact discrete optimization.

    Key metrics

    MetricPaperReproducedDiffStatus
    sexcls_{\text{excl}}sexcl​ at 17.5 bp0.98230.982282-0.000018Match
    sexcls_{\text{excl}}sexcl​ at 5 bp0.99220.992197-0.000003Match
    sexcls_{\text{excl}}sexcl​ at 4.76 bp0.99240.992446+0.000046Match
    sexcls_{\text{excl}}sexcl​ at 3 bp0.99440.994430+0.000030Match
    s∗s^*s∗ at g=5g=5g=5 bpexample near 0.992 in prompt/paper-style descriptionrepo text gives 0.9992material difference in stated benchmarkMixed
    Width approximation w0∗w_0^*w0∗​ vs exact w∗w^*w∗Should be accurate at low costRepo finds good low-cost tracking, worsening near s→1s\to 1s→

    Important note on the free-entry approximation

    The repository reports:

    • x∗≈0.0952x^* \approx 0.0952x∗≈0.0952
    • s∗≈0.9992s^* \approx 0.9992s∗≈0.9992

    But the experiment specification supplied by the user says the paper example is:

    • x∗≈0.095x^* \approx 0.095x∗≈0.095
    • s∗≈0.992s^* \approx 0.992s∗≈0.992

    Those are not close; difference is about 0.0072, which is materially larger than a minor rounding issue. This suggests one of:

    1. the repo is using a slightly different formula or normalization,
    2. the paper example in the prompt may reflect a different approximation convention,
    3. there may be a reporting error in the results markdown.

    Still, the core threshold object sexcls_{\text{excl}}sexcl​ matches extremely well, and the qualitative message about approximation quality is reproduced.

    Summary

    Exp 2 is mostly reproduced, with one notable discrepancy around the stated s∗s^*s∗ benchmark at g=5g=5g=5 bp. The more important exclusion threshold calculations are essentially exact.


    Experiment 3 — Empirical reconstruction of rolling critical volatility and participation margins

    This is where the biggest caveat appears.

    The repo explicitly states:

    Exp 3–4 use synthetic pool data calibrated to match paper-reported participation margins. No real on-chain data was ingested.

    So these are not empirical replications in the strict sense.

    Reproduced full-sample margins

    PoolPaper TargetReproduced s^\hat ss^DiffStatus
    ETH Uniswap 0.3%~0.980.980000~0.0000Match by calibration
    ETH Uniswap 0.05%~1.061.059999~0.0000Match by calibration
    Base Uniswap 0.05%~1.051.049998~0.0000Match by calibration
    Base Aerodrome~1.151.150002~0.0000Match by calibration
    Base Pancake 0.01%~1.181.180009~0.0000Match by calibration

    The repo itself says:

    • calibration error ∣sactual−starget∣<0.001|s_{\text{actual}}-s_{\text{target}}|<0.001∣sactual​−starget​∣<0.001 for all pools

    Statistical outputs

    Pools^\hat ss^95% CIInterpretation
    ETH Uniswap 0.3%0.9800[0.9501, 1.0123]Near breakeven
    ETH Uniswap 0.05%1.0600[1.0096, 1.1145]Above breakeven
    Base Uniswap 0.05%1.0500[1.0172, 1.0856]Near/above breakeven
    Base Aerodrome1.1500[1.1155, 1.1840]High margin
    Base Pancake 0.01%1.1800[1.1381, 1.2248]High margin

    Summary

    If judged purely on numerical closeness to the paper, Exp 3 “matches.”
    But from a reproduction standard, it is only a calibrated synthetic reconstruction, not an independent empirical validation using actual hourly on-chain data, swap data, event coverage, and pathwise panel construction. Therefore:

    • qualitative findings are reproduced
    • empirical claim is not independently reproduced

    This is a material limitation.


    Experiment 4 — Decision-rule validation: exclusion thresholds, capital viability, implied-volatility relation

    Exp 4 depends on Exp 3 inputs, so the same synthetic-data caveat applies.

    Exclusion table

    Poolκ\kappaκPaper sexcls_{\text{excl}}sexcl​Reproduced sexcls_{\text{excl}}sexcl​Observed sssVerdictStatus
    ETH Uniswap 0.3%17.5 bp0.98230.9822820.980000Open if capital sufficientMatch
    ETH Uniswap 0.05%5 bp0.99220.9921971.0600Excluded all capitalMatch
    Base Uniswap 0.05%5 bp0.99220.9921971.0500Excluded all capitalMatch
    Base Aerodrome4.76 bp0.99240.9924461.1500Excluded all capitalMatch
    Base Pancake3 bp0.99440.9944301.1800Excluded all capitalMatch

    Capital viability results for ETH 0.3%

    Selected rows:

    g0g_0g0​Capital cccgtotalg_{\text{total}}gtotal​cmin⁡c_{\min}cmin​Viable
    $10$30,0000.2083%$27,806Yes
    $20$30,0000.2417%$55,611No
    $20$56,0000.2107%$55,611Yes
    $50$130,0000.2135%$139,029No
    $50$2,200,0000.1773%$139,029Yes

    These align with the expected logic:

    • only ETH 0.3% is potentially viable
    • viability depends on fixed costs and capital scale
    • all other pools have cmin⁡=∞c_{\min}=\inftycmin​=∞

    Implied volatility relation

    The repo confirms:

    • for standard Uniswap grids, h≈2f⇒σc≈σIVh \approx 2f \Rightarrow \sigma_c \approx \sigma_{IV}h≈2f⇒σc​≈σIV​
    • for Pancake f=0.0001f=0.0001f=0.0001, scaling factor is h/(2f)=5≈2.236\sqrt{h/(2f)}=\sqrt{5}\approx 2.236h/(2f)​

    Summary

    Exp 4 is numerically very consistent with the paper’s decision-rule logic. But again, because the observed margins come from calibrated synthetic data, the exclusion verdicts are not fully independent empirical confirmations.


    Experiment 5 — Finite-state averaged mean-field game replication

    Key numerical outputs

    MetricReproducedAssessment
    Number of states25Reasonable toy discretization
    Iterations to convergence28Stable
    ConvergedTrueGood
    Aggregate liquidity range across initializations1.40×10−71.40\times10^{-7}1.40×10−7Essentially zero variation
    Max deviation in μ\muμ across initializations9.28×10−89.28\times10^{-8}9.28×10−8Extremely small
    Max HJB/KFE residual6.55×10−86.55\times10^{-8}6.55×10−8Strong numerical convergence

    Comparative statics:

    L0L_0L0​Aggregate LLLMean fee income
    1×1061\times 10^61×1061.0×1061.0\times 10^61.0×1060.00581
    5×1065\times 10^65×1065.0×1065.0\times 10^65.0×1060.00116
    1×1071\times 10^71×1071.0×1071.0\times 10^71.0×1070.00058
    5×1075\times 10^75×1075.0×1075.0\times 10^75.0×1070.000116

    This is almost exact inverse scaling, which strongly supports the congestion/dilution mechanism.

    Summary

    Exp 5 is a convincing numerical replication of the theory module:

    • equilibrium existence supported computationally
    • payoff-relevant uniqueness supported across initializations
    • congestion comparative statics clearly reproduced

    The only limitation is scale: M=5,Wmax⁡=4M=5, W_{\max}=4M=5,Wmax​=4 is a fairly small discretization, so this is evidence rather than an exhaustive robustness study.


    Statistical & Economic Significance

    Statistical significance

    • No conventional t-stats/OLS p-values are central for Exp 1, 2, or 5 because these are analytical/numerical reproductions.
    • Exp 3 provides bootstrap confidence intervals:
      • ETH 0.3% CI includes 1, supporting the “near-margin” interpretation.
      • ETH 0.05%, Base Uniswap 0.05%, Aerodrome, Pancake all have CIs largely above 1, supporting “above breakeven” or “excluded” classifications.

    So within the repo’s own setup, the statistical evidence is internally coherent.

    Economic significance

    The economic results are meaningful:

    • The critical volatility threshold is economically important because it creates a sharp participation boundary.
    • The optimal width widening near the threshold is a strong and intuitive behavioral prediction.
    • The decision-rule analysis implies that only the ETH 0.3% pool is plausibly viable under the boundary-triggered model, while lower-fee pools are often structurally unattractive on a fee-only basis.
    • The capital viability calculations show large practical sensitivity to fixed costs.

    However, the economic significance of Exp 3–4 is limited by the fact that margins were calibrated to paper targets using synthetic data rather than estimated from raw chain data.


    Discrepancies

    1. Empirical exercises are synthetic, not true empirical replications

    This is the biggest issue.

    • The user-selected Exp 3 explicitly called for reconstruction from hourly on-chain data
    • The repo instead uses synthetic GBM/lognormal/OU simulated paths calibrated to match paper margins

    This means:

    • ranking and magnitudes are reproduced,
    • but not independently validated.

    Impact: material for empirical credibility.


    2. Free-entry benchmark s∗s^*s∗ appears inconsistent with the paper example

    The repo reports:

    • s∗≈0.9992s^* \approx 0.9992s∗≈0.9992 at g=5g=5g=5 bp

    while the prompt’s paper benchmark says roughly:

    • s∗≈0.992s^* \approx 0.992s∗≈0.992

    That gap is too large to dismiss as rounding noise.

    Possible explanations:

    • different formula convention
    • different units for ggg
    • typo in repo markdown
    • typo or alternate normalization in the provided benchmark text

    Impact: moderate; this affects one asymptotic comparison but not the main exclusion-threshold results.


    3. “Optimal width” reported above the profitability threshold is grid-artifact-like

    For unprofitable cases, the CSV still gives large w∗w^*w∗ values (e.g. 114, 179, 200) even though profit is negative.

    This is not wrong mathematically if the code returns the least-bad width on a finite search grid, but economically the more relevant interpretation is:

    • no profitable width exists

    Impact: minor presentation issue, not a methodological failure.


    Methodology Issues

    Relevant issue: Exp 3–4 deviation from requested methodology

    The requested methodology for Exp 3 required:

    • real pool-hour data
    • active liquidity
    • rolling 720-hour windows
    • event-coverage checks
    • no interpolation
    • pathwise estimator
    • swap-level and protocol-fee handling
    • bootstrap CIs on empirical sample

    The repo does preserve parts of the structure:

    • 720-hour rolling windows
    • pathwise B^1\hat B_1B^1​
    • annualized σ^c\hat \sigma_cσ^c​
    • block bootstrap CIs
    • protocol-specific fee interpretation

    But it deviates in the central respect:

    • no real on-chain ingestion

    So methodology is faithfully implemented structurally, but not with the required data source.


    Reliability

    Strengths

    • 126 tests passing
    • deterministic seed bug fixed
    • analytical modules appear exact and stable
    • MFG solver convergence is numerically tight
    • threshold results are internally consistent

    Red flags / caveats

    • synthetic calibration in Exp 3–4 makes empirical “success” partly circular
    • small discrepancy in s∗s^*s∗ benchmark
    • limited detail visible in the provided result files about robustness beyond headline scenarios
    • MFG state space is small, so numerical uniqueness evidence should be interpreted as supportive rather than definitive

    Overall confidence

    • High for Exp 1
    • Medium-high for Exp 2
    • Low-medium for Exp 3 as empirical reproduction
    • Medium for Exp 4 because it inherits Exp 3 inputs
    • Medium-high for Exp 5

    Overall repo-level confidence: MEDIUM


    Experiment-by-Experiment Assessment

    ExperimentAssessment
    Exp 1Strongly reproduced
    Exp 2Mostly reproduced, one notable s∗s^*s∗ discrepancy
    Exp 3Only partially reproduced because synthetic calibrated data replace real on-chain reconstruction
    Exp 4Logic reproduced, but empirical basis is only partially reproduced due to synthetic inputs
    Exp 5Strong numerical reproduction of theoretical claims

    Embedded Repository Charts

    Exp 1 optimal width

    Exp 1 profit curves

    Exp 1 cycle occupation law

    Exp 1 sigma frontier

    Exp 1 value function

    Exp 2 width comparison

    Exp 2 error heatmap

    Exp 2 c_min

    Exp 2 s_excl

    Exp 3 full sample summary

    Exp 3 rolling s

    Exp 3 rolling sigma vs sigma_c

    Exp 4 c_min

    Exp 4 implied volatility relation

    Exp 4 thresholds

    Exp 5 comparative statics

    Exp 5 convergence

    Exp 5 population law

    Exp 5 value function


    Verdict

    Final Decision: PARTIALLY REPRODUCED

    Why

    • The core theoretical and numerical contributions of the paper are reproduced well:
      • closed-form stationary formulas,
      • critical-volatility logic,
      • asymptotic exclusion thresholds,
      • mean-field equilibrium numerics.
    • The main empirical section is not fully reproduced, because the repository uses synthetic calibrated pool data rather than reconstructing the paper’s objects from real on-chain hourly data.

    So the repository is a strong reproduction of the model and theory, but only a partial reproduction of the empirical paper results.

    Experiments

    Closed-form reproduction of boundary-triggered concentrated-liquidity LP profitability

    Reproduce the paper’s exact stationary closed-form results for a boundary-triggered liquidity provider in a concentrated-liquidity DEX under driftless log-price diffusion and fast rebalancing. This experiment validates the analytical formulas for position cost, impermanent loss, cycle occupation law, fee income, cost rate, long-run profit, optimal width, value function, stationary offset law, and the existence of a critical volatility above which provision is not profitable.

    Numerical validation of leading-order approximations for optimal width and participation thresholds

    Validate the paper’s asymptotic approximations by comparing exact numerical solutions from the stationary profitability model with leading-order closed-form approximations for optimal width, free-entry margin, exclusion margin, and capital viability. This experiment tests whether the approximations are accurate in the economically relevant range of fees, costs, and volatilities used in the paper.

    Empirical reconstruction of rolling critical volatility and participation margins from on-chain hourly data

    Rebuild the paper’s main empirical objects from hourly on-chain pool data: realized volatility sigma, critical volatility sigma_c, and participation margin s = sigma/sigma_c. This experiment reproduces the rolling 30-day and full-sample margin estimates for the specified WETH/USDC pools and validates the claim that realized volatility tracks critical volatility, with observed margins near the free-entry region for some pools.

    Decision-rule validation: exclusion thresholds, capital viability, and implied-volatility relation

    Validate the paper’s economic decision rules using reconstructed empirical margins and theoretical threshold formulas. This experiment classifies pools as open, at the margin, or closed at every capital under boundary-triggered provision; computes minimum viable capital where applicable; and tests the claimed link between critical volatility and on-chain implied volatility under standard fee-tier grid relations.

    Finite-state averaged mean-field game replication: existence, uniqueness, and stationary equilibrium numerics

    Replicate the paper’s theoretical mean-field game module on a finite-state controlled Markov chain for strategic liquidity provision in concentrated-liquidity DEXs. This experiment numerically implements the averaged re-centering game, solves the coupled HJB-KFE system, and tests the paper’s theoretical claims on equilibrium existence and payoff-relevant uniqueness, including uniqueness of aggregate liquidity and the value function and uniqueness of the full law when the rebalancing maximizer is unique.

    Original paperRun QCA on your paper
    Confirmed ✓
    0
    Match
    1
    qualitative match
    Match
    =
    5​≈
    2.236