Key Insight: The repository successfully reproduces the paper’s theoretical formulas and the main qualitative Monte Carlo findings. Quantitatively, the constant-spread simulation matches the paper reasonably well for most cases, but there is a material discrepancy for the high-risk-aversion case γ=0.5, and the repo also correctly identifies a theoretical inconsistency in the paper’s published spread formula.
Results Comparison
Experiment 1 — Theoretical reproduction of Avellaneda-Stoikov formulas
The repository reports full symbolic recovery of the core formulas:
Frozen-inventory value function: PASS
Reservation ask/bid prices: PASS
Average reservation price :
r(s,q,t)=s−qγσ2(T−t)
PASS
HJB ansatz and reduced representation: reproduced
First-order optimality conditions: reproduced
Exponential-intensity specialization: reproduced
Asymptotic approximation formulas: reproduced
Spread inconsistency between theory and paper tables: explicitly documented
Key theoretical comparison
Metric
Paper
Reproduced
Diff
Status
Frozen-inventory value function
−e−γxe−γqseγ2q2σ2(T−t)/2
Same
0
Match
Reservation price center
r=s−qγσ2(T−t)
Same
0
Match
Reservation ask
s+2(1−2q)γσ2(T−
Reservation bid
s+2(−1−2q)γσ2(T
Exponential-intensity correction
(1/γ)ln(1+γ/k)
Same
0
Match
Finite-horizon total spread
γσ2(T−t)+γ
Table-consistent constant spread
γ2ln(1+γ/k)
Same numeric values as paper tables
0
Match
Summary:
Experiment 1 is essentially fully reproduced. More importantly, the repo highlights that the paper’s numerical tables correspond only to the constant term of the spread, not the full finite-horizon formula implied by the derivation.
Experiment 2 — Monte Carlo replication using table-consistent constant spread
This is the main numerical replication against the paper’s published tables.
Paper vs reproduced metrics
Metric
Paper
Reproduced
Diff
Status
γ=0.01, inventory mean profit
66.78
68.7714
+1.9914
Within tolerance
γ=0.01, inventory std profit
8.76
9.0881
+0.3281
Within tolerance
γ=0.01, inventory mean qT
-0.020
0.0530
+0.0730
Minor
γ=0.01, inventory std qT
4.70
5.2049
+0.5049
Slightly high but acceptable
γ=0.01, symmetric mean profit
67.36
68.8380
+1.4780
Within tolerance
γ=0.01, symmetric std profit
13.40
13.9154
+0.5154
Acceptable
γ=0.01, symmetric mean qT
-0.310
0.1170
+0.4270
Noticeable
γ=0.01, symmetric std qT
8.65
8.7147
+0.0647
Match
Metric
Paper
Reproduced
Diff
Status
γ=0.1, inventory mean profit
62.94
64.3702
+1.4302
Within tolerance
γ=0.1, inventory std profit
5.89
5.9700
+0.0800
Match
γ=0.1, inventory mean qT
0.100
-0.0860
-0.1860
Minor
γ=0.1, inventory std qT
2.80
2.9297
+0.1297
Match
γ=0.1, symmetric mean profit
67.21
68.7191
+1.5091
Within tolerance
γ=0.1, symmetric std profit
13.43
13.9208
+0.4908
Acceptable
γ=0.1, symmetric mean qT
-0.018
0.1170
+0.1350
Minor
γ=0.1, symmetric std qT
8.66
8.7342
+0.0742
Match
Metric
Paper
Reproduced
Diff
Status
γ=0.5, inventory mean profit
33.92
23.8207
-10.0993
Material
γ=0.5, inventory std profit
4.72
4.9099
+0.1899
Match
γ=0.5, inventory mean qT
-0.020
-0.0380
-0.0180
Match
γ=0.5, inventory std qT
1.88
1.9602
+0.0802
Match
γ=0.5, symmetric mean profit
66.20
67.8160
+1.6160
Within tolerance
γ=0.5, symmetric std profit
14.53
14.2196
-0.3104
Match
γ=0.5, symmetric mean qT
0.250
0.1770
-0.0730
Minor
γ=0.5, symmetric std qT
9.06
9.1461
+0.0861
Match
Summary for Experiment 2
Qualitative patterns are reproduced very well:
inventory strategy has lower P&L volatility than symmetric: yes
inventory strategy has lower inventory volatility: yes
symmetric usually has higher mean profit: yes
low-γ case makes strategies more similar: yes
Quantitative match is decent for γ=0.01 and γ=0.1
Main failure point is γ=0.5 inventory mean profit, which is materially below the paper
So Experiment 2 is partially to mostly reproduced, but not perfect.
Experiment 3 — Monte Carlo replication using literal finite-horizon spread
This experiment is not meant to match the published tables exactly; instead it tests whether the paper’s conclusions survive when the theory-consistent spread is used.
Results summary
Metric
Paper / Expected
Reproduced
Diff
Status
γ=0.01 spread at t=0
~1.3689 expected under full formula
1.3689
0
Match
γ=0.1 spread at t=0
~1.6908 expected
1.6908
0
Match
γ=0.5 spread at t=0
~3.1507 expected
3.1507
0
Match
Inventory std profit < symmetric std profit
Expected
Yes for all γ
—
Match
Inventory std qT < symmetric std qT
Expected
Yes for all γ
—
Match
Material deviation from paper tables at high γ
Expected
Yes
—
Match
Cross-experiment implication
Compared with Exp 2, Exp 3 shows:
almost no change for γ=0.01
mild changes for γ=0.1
large changes for γ=0.5
That is exactly what should happen, since the omitted term in the spread is:
0.04 for γ=0.01
0.40 for γ=0.1
2.00 for γ=0.5
This experiment strongly supports the repo’s claim that the paper’s tables are based on the constant-spread interpretation, not the literal finite-horizon derivation.
Statistical & Economic Significance
Statistical significance
The repository reports sample means and standard deviations over 1000 Monte Carlo paths, but does not report t-stats, confidence intervals, or p-values. So strict statistical significance cannot be fully verified from the saved results alone.
Still, the effect sizes are large enough in many cases to be economically obvious:
this is achieved at the cost of some mean profit, especially at higher γ
That tradeoff is central to the Avellaneda-Stoikov framework and is clearly preserved.
The biggest economically meaningful discrepancy is:
Exp 2, γ=0.5, inventory mean profit 23.82 vs paper 33.92
This is too large to dismiss as noise and likely reflects implementation or interpretation differences
Discrepancies
1. Material discrepancy in Exp 2 for γ=0.5 inventory mean profit
Paper: 33.92
Reproduced: 23.82
Difference: -10.10 (~30% lower)
This is the single biggest mismatch and exceeds the suggested return tolerance by a wide margin.
Likely explanations:
discrete-time Bernoulli approximation vs exact point-process simulation
simultaneous bid/ask fills allowed within a step
common random numbers and implementation details not specified by the paper
possible ambiguity in update ordering (executions before price update)
the paper may have used a slightly different quote construction or execution mechanism
Monte Carlo noise alone is unlikely to explain a gap this large with 1000 paths
2. Mean inventory values differ somewhat, but not materially
Several mean final inventory values differ in sign or magnitude from the paper, especially near zero. These are likely not economically important because:
the magnitudes are small
the paper’s main point is about dispersion, not tiny mean bias
std qT matches much more closely than mean qT
3. Theoretical spread inconsistency in the original paper
This is not a reproduction failure of the repo; it is an important finding against the paper’s internal consistency.
This likely explains why theory-consistent Exp 3 diverges from the published tables, especially for larger γ.
Methodology Issues
The methodology appears largely aligned with the experiment specifications and with the paper’s intended setup:
synthetic single-asset simulation: followed
exponential intensities: followed
one-share fills: followed
binomial ±σdt mid-price process: followed
quoted spread formulations clearly separated between Exp 2 and Exp 3: good practice
explicit logging of ambiguous implementation decisions: strong point
Potential methodology limitations:
no statistical inference reporting
Bernoulli discretization of arrivals may differ from any continuous-time interpretation
allowing simultaneous bid and ask fills in the same time step may or may not match the original implementation
no exact indication whether the paper used identical RNG treatment
None of these undermine Experiment 1, but they could affect Monte Carlo table matching.
Reliability
Stability and consistency
The results are internally consistent:
all theory checks in Exp 1 pass
all qualitative Monte Carlo comparisons go in the expected direction
cross-experiment behavior changes sensibly with γ
Exp 3 behaves exactly as expected if the omitted spread term is restored
Red flags
lack of t-stats / confidence intervals
one major quantitative mismatch at γ=0.5 inventory profit
no raw logs beyond the summary markdown
Confidence assessment
High confidence in the theoretical reproduction
Medium-high confidence in the qualitative numerical reproduction
Medium confidence in exact quantitative replication of the paper’s table values
Figures
Experiment 2 path / histogram charts
Experiment 3 path / histogram charts
Verdict
Final Decision: PARTIALLY REPRODUCED
Why:
The repository successfully reproduces the paper’s theoretical derivations and the main economic conclusions of the numerical study: inventory-sensitive quoting reduces both profit volatility and inventory risk, while often sacrificing some mean profit. Quantitative replication is good for γ=0.01 and γ=0.1, but a material mismatch remains for the γ=0.5 inventory-profit result. The repo also convincingly identifies a nontrivial inconsistency between the paper’s finite-horizon derivation and its published table spreads.
Experiments
Theoretical reproduction of Avellaneda-Stoikov optimal quoting formulas
Reproduce the paper’s theoretical finite-horizon formulas and approximations for market making under exponential utility, including the frozen-inventory value function, reservation bid/ask prices, average reservation price, HJB reduction, first-order optimality conditions, exponential-intensity specialization, and asymptotic approximation in inventory.
Monte Carlo replication of the published numerical tables using the table-consistent constant-spread interpretation
Replicate the paper’s main numerical results by simulating a single synthetic stock under a discrete-time market-making model, comparing an inventory-sensitive strategy against a symmetric benchmark. This experiment uses the interpretation most likely to match the published tables: quotes are centered on the reservation price for the inventory strategy and on the mid-price for the symmetric strategy, with a constant total spread equal to (2/gamma) ln(1+gamma/k).
Monte Carlo replication under the literal finite-horizon spread formula implied by the derivation
Replicate the same finite-horizon Monte Carlo market-making experiment, but use the literal equation-based approximation derived in the paper: the reservation price is inventory-sensitive and the total spread is time-varying, equal to gamma sigma^2 (T-t) + (2/gamma) ln(1+gamma/k). This experiment tests whether the published qualitative findings persist under the theory-consistent finite-horizon quoting rule, even if the exact tables are not matched.