5D Library › 做市商伽马敞口、零日到期期权与波动率收割动力学 · English
第七章 敛散之权:《管子》、平准与稳定者的边界
为什么在这里读这些文本
第二章那个多头伽马的对冲者,是一台跌时买、涨时卖的机器;这样做既使价格平静,又在波动回复时赚钱。两部中国古典文本描述了一个国家对粮食与货物做同样的事,比期权的出现早两千年。把它们与数学并读是有用的——不是因为它们预见了数学,而是因为它们也描述了它的边界,并且说明了稳定者的利润与稳定者的权力多么容易被混为一谈。
下文把这些对应当作类比。做市商的对冲与粮仓政策共享一个结构;它们不共享机制、目的或资产负债表。
《管子》:敛之以轻,散之以重
原典
《管子·国蓄》(第七十三)。
夫民有餘則輕之,故人君斂之以輕;民不足則重之,故人君散之以重。斂積之以輕,散行之以重,故君必有十倍之利,而財之櫎可得而平也。
故守之以準平,使萬室之都必有萬鍾之藏,藏繦千萬;使千室之都必有千鍾之藏,藏繦百萬。……故大賈蓄家不得豪奪吾民矣。
注
出处的一处更正。 本书的提纲把「敛散」之说归在《轻重甲》下。核对后,上面两段出自《国蓄》(第七十三),它属于「轻重」诸篇,《轻重甲》(第八十)也属于这一组。这一学说贯穿整组篇章;所引原文出自《国蓄》。
这段话里有三处与第二章对得上。「敛之以轻,散之以重」就是多头伽马的对冲:跌时买,涨时卖。「财之櫎可得而平」就是 的平抑。「十倍之利」就是对冲者的交易利润:在回复性的冲击下,低买高卖能赚钱。第二段补上了第二章没有明说的东西:这个政策只有在拥有与城市规模相称的储备——粮与钱——时才行得通,那是让稳定者能持续交易的库存与资本。
平准
原典
司马迁《史记·平准书》,记桑弘羊之法:
大農之諸官盡籠天下之貨物,貴即賣之,賤則買之。如此,富商大賈無所牟大利,則反本,而萬物不得騰踊。故抑天下物,名曰「平準」。
以及天旱时卜式的批评:
縣官當食租衣稅而已,今弘羊令吏坐市列肆,販物求利。亨弘羊,天乃雨。
平准是把《管子》的学说变成了政策,卜式的反对是它见于记载的第一个批评。其中两点在此要紧。第一,稳定者的利润与它的稳定作用是同一批交易:一个低买高卖的国家就是一个交易者,被它挤走的商人也把它看成交易者。第二,「万物不得腾踊」是一个关于平抑的主张,只在国家手里还有货可卖时成立。
边界的一个玩具模型
第十五段程序把这两段话做成一个玩具。一个国家买方把库存移向能抵消大部分价格偏离的水平,但库存既不能少于零,也不能多于它的储备;每持有一单位都会抬高价格。比较两个世界:会回复的冲击(丰年与歉年),以及一个持久的下行趋势(持续的过剩)。
推导
# 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.")
# 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.冲击会回复时,这个政策做到了《管子》所说的。储备为 60 时,价格变动的标准差从 0.0512 降到 0.0103,交易利润为 +8.30;即使储备只有 20、有 0.274 的时间处于极限,也把波动率减半,并赚得 +7.65。「敛之以轻,散之以重」既平抑价格,又有利可图。
面对持久趋势,同一政策在两方面都失败。它一路买下去,储备为 60 时有 0.695 的时间处于极限,最终亏损 −15.48;储备为 400 时它保持在范围内并平抑了价格,却亏损 −18.49。一旦到达极限,它就什么也平抑不了:储备为 20 时价格标准差为 0.0468,而完全没有稳定者时为 0.0501。
这正是第二章那个多头伽马的对冲者,加上了资产负债表约束。多头伽马头寸在价格振荡时赚钱、在趋势中亏钱;而一个库存或资本耗尽的对冲者,恰恰在市场最需要平抑的时刻停止平抑。
注
这个玩具没有说明的。 「十倍之利」是修辞,不是测量;玩具里的利润以模型单位计,没有估计任何一座历史粮仓的收益。玩具也略去了卜式所指的东西——一个为利交易的国家会改变还有谁在交易——以及《管子》不言而喻的假设:君主能及时分辨一次冲击是会回复的还是持久的。第三章已经说明,一个局外的观察者甚至无法分辨做市商站在交易的哪一边。
小结
《管子》的「敛之以轻,散之以重」与平准的「贵即卖之,贱则买之」,是作为国家政策的多头伽马对冲,两部文本都宣称了它的两个结果:物价平稳,稳定者获利。《管子》还说出了它的前提——与市场规模相称的粮与钱的储备——卜式说出了它的第一个反对——稳定者就是交易者。一个玩具模型把边界说清楚了:冲击回复时,稳定者平抑价格并获利;面对持久趋势,它累积亏损、到达极限、停止平抑。与做市商伽马的对应是一种结构上的类比;本书提纲归于《轻重甲》的那段话,核对后出自《国蓄》。
参考文献
Fan, Y. (2026). Dealer Gamma Exposure, Zero-Day Options and Volatility Harvesting Dynamics: Delta-Hedging Feedback Loops, Strike Pinning, Iron Condor Tail Ruin and Variance Swap Replication [做市商伽马敞口、零日到期期权与波动率收割动力学] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090160 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).