关于「五天的敞口:海外连线期间的汇率风险」,《买手定价、费率阶跃与配件加购》给出的定量结论是什么?
结论:第五章计算五天连线窗口的汇率风险:厚尾下 99% 的损失是成本的 0.0253 至 0.0395,正常利润率下缓冲得不偿失。
数据口径:书中的客户、价格、抽成、运费、退税率与汇率波动率均为示意模型;全部计算由书中程序生成;本书不是财务、税务、海关、法律或投资建议,不描述任何特定金流服务的条款。 第八章把这些合成一年的经营与一份检验方案。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.0253, 0.0395, 99
| daily | normal 95 | normal 99 | t 95 | t 99 | t ES99 | on 30000 |
| 0.0045 | 0.0167 | 0.0237 | 0.0162 | 0.0253 | 0.0319 | 758 |
| 0.0070 | 0.0261 | 0.0371 | 0.0251 | 0.0395 | 0.0510 | 1185 |
查看完整验算程序
# Chapter 5. p09: The five-day window as a currency risk. The buyer
# quotes in TWD on day 0 and pays the boutique in euros or yen up to
# five trading days later. Daily log changes have volatility s (0.0045
# and 0.0070, illustrative); we compare the normal value at risk
# z s sqrt(5) with a fat-tailed Student t (4 degrees of freedom, scaled
# to the same variance) simulated over 100000 windows, and the expected
# shortfall beyond the 99% level. Loss is the rise of the foreign price
# in TWD. Seed 110.
import math
import random
from statistics import NormalDist
NU, DAYS, RUNS = 4, 5, 100000
def t_step(rng):
z = rng.gauss(0.0, 1.0)
chi = rng.gammavariate(NU / 2.0, 2.0)
return z / math.sqrt(chi / NU) / math.sqrt(NU / (NU - 2.0))
def window(rng, s):
return math.expm1(s * math.fsum(t_step(rng) for _ in range(DAYS)))
if __name__ == "__main__":
rng = random.Random(110)
print(" daily normal 95 normal 99 t 95 t 99 t ES99"
" on 30000")
for s in (0.0045, 0.0070):
n95 = math.expm1(NormalDist().inv_cdf(0.95) * s * math.sqrt(DAYS))
n99 = math.expm1(NormalDist().inv_cdf(0.99) * s * math.sqrt(DAYS))
xs = sorted(window(rng, s) for _ in range(RUNS))
t95 = xs[int(0.95 * RUNS)]
t99 = xs[int(0.99 * RUNS)]
es = math.fsum(xs[int(0.99 * RUNS):]) / (RUNS - int(0.99 * RUNS))
print(" {:.4f} {:9.4f} {:9.4f} {:.4f} {:.4f} {:.4f}"
" {:8.0f}".format(s, n95, n99, t95, t99, es, 30000 * t99))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《跨境买手动态定价、阶跃费率支付路由与配件连带加购经济学》第 5 章「五天的敞口:海外连线期间的汇率风险」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-110 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026110,
author = {Fan, Yafu},
title = {Cross-Border Buyer Dynamic Pricing, Fee-Threshold Payment Routing and Accessory Attach Economics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}