Reservation price (the model's inventory-adjusted fair price) and total spread, published equations 29 and 30, with inventory q, risk aversion γ, volatility σ and remaining time T − t:
r(s, q, t) = s − q·γ·σ²·(T − t)
δa + δb = γ·σ²·(T − t) + (2/γ)·ln(1 + γ/k)
bid, ask = r ∓ (δa + δb)/2
λ(δ) = A·exp(−k·δ)
The numerical experiment runs 1,000 paths of 200 steps2. Each step, the bid and ask fill independently with probability λ(δ)·dt at the current quotes, then the mid moves by ±σ√dt. The symmetric benchmark quotes the time-averaged AS spread around the mid. Profit is terminal cash plus inventory marked at the terminal mid.
The unstated case: when λ(δ)·dt > 1, a Bernoulli probability is undefined. In my first seeded runs this happened for the inventory strategy in Tables 1 and 3, with raw values up to 7.593.
The full Hamilton-Jacobi-Bellman derivation, including the exponential-utility transformation and the frozen-inventory approximation, is in docs/DERIVATION.md.