关于「敛散之权:《管子》、平准与稳定者的边界」,《做市商伽马与波动率收割》给出的定量结论是什么?
结论:冲击会回复时,这个政策做到了《管子》所说的。储备为 60 时,价格变动的标准差从 0.0512 降到 0.0103,交易利润为 +8.30;即使储备只有 20、有 0.274 的时间处于极限,也把波动率减半,并赚得 +7.65。「敛之以轻,散之以重」既平抑价格,又有利可图。
数据口径:本书不是投资建议。 书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序)、原典与作者的假说;除注明的文献外,书中数据都是合成的。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.0103, 0.0512, 0.274, 20, 60, 7.65
| world | capacity | sd(change) | sd(level) | share at | trading P&L |
|---|---|---|---|---|---|
| I_max | a limit | ||||
| reverting | none | 0.0512 | 0.1138 | 0.000 | +0.00 |
| reverting | 20 | 0.0264 | 0.0507 | 0.274 | +7.65 |
| reverting | 60 | 0.0103 | 0.0227 | 0.001 | +8.30 |
| reverting | 400 | 0.0103 | 0.0228 | 0.000 | +8.32 |
| trending | none | 0.0501 | 1.0599 | 0.000 | +0.00 |
| trending | 20 | 0.0468 | 0.9597 | 0.875 | -5.69 |
| trending | 60 | 0.0414 | 0.8123 | 0.695 | -15.48 |
| trending | 400 | 0.0122 | 0.2197 | 0.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. |
查看完整验算程序
# 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.")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《做市商伽马敞口、零日到期期权与波动率收割动力学》第 7 章「敛散之权:《管子》、平准与稳定者的边界」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090160
DOI: 10.5281/zenodo.24090160 · 阅读本章所在专著 · 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}
}