What does Dealer Gamma and Volatility Harvesting conclude, in numbers, about “Gathering and Scattering: the Guanzi, the Balanced Standard and the Limits of a Stabiliser”?

Answer: With reverting shocks the policy does what the Guanzi says. A store of 60 cuts the standard deviation of price changes from 0.0512 to 0.0103 and earns a trading profit of +8.30; even a store of 20, at its limit 0.274 of the time, halves the volatility and earns +7.65. "Gather when light, scatter when heavy" calms the price and pays.

Scope of the numbers: It is not investment advice. Boxes separate evidence, runnable Python (16 programs), sources and hypotheses; all data are synthetic unless cited.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.0103, 0.0512, 0.274, 20, 60, 7.65

worldcapacitysd(change)sd(level)share attrading P&L
I_maxa limit
revertingnone0.05120.11380.000+0.00
reverting200.02640.05070.274+7.65
reverting600.01030.02270.001+8.30
reverting4000.01030.02280.000+8.32
trendingnone0.05011.05990.000+0.00
trending200.04680.95970.875-5.69
trending600.04140.81230.695-15.48
trending4000.01220.21970.034-18.49
Reading: with reverting shocks the buyer damps the price and earns a
trading profit, the 'tenfold gain' of the Guanzi. Against a lasting trend it
buys all the way down, reaches its limit and holds a loss; once at the limit
it no longer damps anything.
Show the full program
# Chapter 7. The ever-normal granary as a long-gamma inventory (a toy model of
# the "ping zhun" and "lian san" policies). The undisturbed price is f_t (in
# logs). A state buyer holds inventory I_t between 0 and I_max; every unit it
# holds lifts the price by lam, so the market price is p_t = f_t + lam x (I_t
# - I_0). Its rule is "buy when cheap, sell when dear": it moves its inventory
#   toward the level that would cancel a share h of
# the deviation of f from the target 0, but it can never hold less than 0 or
# more than I_max; it starts half full. Its trading cash is tracked, and its
# final inventory is valued at the last price. 'none' means no state buyer at
# all. Two worlds: shocks that revert (a good and a bad harvest) and a
# permanent downward trend (a lasting glut). 400 periods per run, 500 runs per
# row, fixed seed.
import math
import random

LAM, H = 0.01, 0.8

def run(world, i_max, rng):
    I0 = i_max / 2
    f, I, cash = 0.0, I0, 0.0
    dp, lvl, at_limit = [], [], 0
    p_prev = 0.0
    for t in range(400):
        e = rng.gauss(0, 0.05)
        f = 0.9 * f + e if world == "reverting" else f - 0.004 + e
        target = I0 - H * f / LAM
        I_new = min(max(target, 0.0), i_max)
        at_limit += i_max > 0 and I_new in (0.0, i_max)
        p = f + LAM * (I_new - I0)
        cash -= (I_new - I) * math.exp(p)
        I = I_new
        dp.append(p - p_prev)
        lvl.append(p)
        p_prev = p
    pnl = cash + (I - I0) * math.exp(p_prev)
    sd = lambda x: math.sqrt(sum(y * y for y in x) / len(x))
    return sd(dp), sd(lvl), at_limit / 400, pnl

if __name__ == "__main__":
    rng = random.Random(56015)
    print(
        "world        capacity  sd(change)  sd(level)  share at   trading P&L"
    )
    print("             I_max                            a limit")
    for world in ("reverting", "trending"):
        for i_max in (0.0, 20.0, 60.0, 400.0):
            rows = [run(world, i_max, rng) for _ in range(500)]
            label = "none" if i_max == 0.0 else "{:.0f}".format(i_max)
            m = [sum(r[k] for r in rows) / len(rows) for k in range(4)]
            print(
                "{:<12} {:>7}    {:8.4f}   {:8.4f}  {:7.3f}     {:+8.2f}"
                .format(world, label, m[0], m[1], m[2], m[3])
            )
    print(
        "\nReading: with reverting shocks the buyer damps the price and"
        " earns a"
    )
    print(
        "trading profit, the 'tenfold gain' of the Guanzi. Against a lasting"
        " trend it"
    )
    print(
        "buys all the way down, reaches its limit and holds a loss; once at"
        " the limit"
    )
    print("it no longer damps anything.")

Single source and citation

Fan, Y. (2026). Dealer Gamma Exposure, Zero-Day Options and Volatility Harvesting Dynamics (Version 1.0.0), Chapter 7: Gathering and Scattering: the Guanzi, the Balanced Standard and the Limits of a Stabiliser. 5D Library. https://doi.org/10.5281/zenodo.24090160

DOI: 10.5281/zenodo.24090160 · Read the monograph · 5DL-B-056 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026056,
  author    = {Fan, Yafu},
  title     = {Dealer Gamma Exposure, Zero-Day Options and Volatility Harvesting Dynamics},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090160},
  url       = {https://doi.org/10.5281/zenodo.24090160}
}

Other chapter answers in this book