关于「布莱克—斯科尔斯—默顿定价与隐含波动率的反解」,《隐含波动率、偏度与垂直价差》给出的定量结论是什么?

结论:布莱克—斯科尔斯—默顿公式在常数波动率、对数正态、连续无摩擦交易的假设下给出欧式期权价格,标准库用 `math.erf` 即可实现;二叉树随步数增加收敛到公式。隐含波动率是唯一存在但没有解析式的反函数:牛顿法从马纳斯特—克勒初值出发在全部算例上收敛,从固定初值出发约 15% 失败,二分法可以兜底。布伦纳—苏布拉马尼亚姆近似只对平值远期期权成立,它就是从零出发的第一步牛顿迭代。下一章看市场怎样用不同的隐含波动率给不同行权价定价。

数据口径:一个熊市看跌垂直价差最多亏多少、最多赚多少,交易者在开仓时就知道;可「持仓 7—10 个交易日没有起色就平仓」这条经验规则,能被证明吗?本书是教学与研究用的数学模型,不是投资建议。 书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序)、原典与作者的模型和假说;书中所有价格与交易都是虚构或示意的。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库

S = K100, 30 days, r = 3 %, sigma = 20 %: call 2.4096, put 2.1633
parity C - P0.246272; S - K exp(-rT) = 0.246272
with dividend yield q2 %: call 2.3237
CRR tree, European put: n10 50 250 1000 (formula)
2.10692.1519 2.1610 2.1627 (2.1633)
ATM-forward call,7 days: exact 1.1049, 0.3989*S*sigma*sqrt(T) = 1.1050
ATM-forward call,30 days: exact 2.2872, 0.3989*S*sigma*sqrt(T) = 2.2875
ATM-forward call,90 days: exact 3.9604, 0.3989*S*sigma*sqrt(T) = 3.9620
ATM-forward call, 365 days: exact 7.9656, 0.3989*S*sigma*sqrt(T)7.9788

核心公式

\[C = S e^{-qT} N(d_1) - K e^{-rT} N(d_2), \qquad P = K e^{-rT} N(-d_2) - S e^{-qT} N(-d_1),\]
查看完整验算程序
# Black-Scholes-Merton prices with the normal CDF from math.erf, put-call parity, the
# Cox-Ross-Rubinstein tree converging to the formula, and the at-the-money shortcut.
# Illustrative parameters, not market quotes.
import math

def ncdf(x):
    return 0.5 * (1.0 + math.erf(x / math.sqrt(2.0)))

def bsm(S, K, T, r, sig, q=0.0, kind="call"):
    d1 = (math.log(S / K) + (r - q + 0.5 * sig * sig) * T) / (sig * math.sqrt(T))
    d2 = d1 - sig * math.sqrt(T)
    if kind == "call":
        return S * math.exp(-q * T) * ncdf(d1) - K * math.exp(-r * T) * ncdf(d2)
    return K * math.exp(-r * T) * ncdf(-d2) - S * math.exp(-q * T) * ncdf(-d1)

def crr(S, K, T, r, sig, n, kind="put", american=False):
    dt = T / n
    u = math.exp(sig * math.sqrt(dt)); d = 1 / u
    p = (math.exp(r * dt) - d) / (u - d); disc = math.exp(-r * dt)
    pay = (lambda s: max(K - s, 0.0)) if kind == "put" else (lambda s: max(s - K, 0.0))
    v = [pay(S * u ** j * d ** (n - j)) for j in range(n + 1)]
    for i in range(n - 1, -1, -1):
        v = [disc * (p * v[j + 1] + (1 - p) * v[j]) for j in range(i + 1)]
        if american:
            v = [max(v[j], pay(S * u ** j * d ** (i - j))) for j in range(i + 1)]
    return v[0]

if __name__ == "__main__":
    S, K, T, r, sig = 100.0, 100.0, 30 / 365, 0.03, 0.20
    c, p = bsm(S, K, T, r, sig), bsm(S, K, T, r, sig, kind="put")
    print(f"S = K = 100, 30 days, r = 3 %, sigma = 20 %: call {c:.4f}, put {p:.4f}")
    print(f"parity C - P = {c - p:.6f};  S - K exp(-rT) = {S - K * math.exp(-r * T):.6f}")
    print(f"with dividend yield q = 2 %: call {bsm(S, K, T, r, sig, 0.02):.4f}")
    print("CRR tree, European put:   n = 10     50     250    1000   (formula)")
    vals = "  ".join(f"{crr(S, K, T, r, sig, n):.4f}" for n in (10, 50, 250, 1000))
    print(f"{'':26s}{vals}  ({p:.4f})")
    for days in (7, 30, 90, 365):
        t = days / 365
        k = S * math.exp(r * t)                    # at-the-money forward strike
        exact = bsm(S, k, t, r, sig)
        approx = S * sig * math.sqrt(t) / math.sqrt(2 * math.pi)
        print(f"ATM-forward call, {days:3d} days: exact {exact:.4f},"
              f" 0.3989*S*sigma*sqrt(T) = {approx:.4f}")

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《期权隐含波动率曲面、偏度溢价与垂直价差结构的定量风控》第 1 章「布莱克—斯科尔斯—默顿定价与隐含波动率的反解」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23796765

DOI: 10.5281/zenodo.23796765 · 阅读本章所在专著 · 5DL-B-038 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026038,
  author    = {Fan, Yafu},
  title     = {Implied Volatility Surfaces, Skew Premia and Quantitative Risk Control of Vertical Spreads},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.23796765},
  url       = {https://doi.org/10.5281/zenodo.23796765}
}

本书其他章节结论