关于「互斥结果的盘口:价格之和不等于 1 时的可执行套利」,《预测市场的价格与套利》给出的定量结论是什么?
结论:第四章计算互斥结果盘口的可执行套利:卖价之和 0.96 的五结果盘口,最好的情形年化 +7.0%,按 0.07·P(1−P) 收费时任何规模都亏钱;陈旧报价制造的套利逐腿执行后平均亏损。
数据口径:本书把这个读法拆成三件事——信念如何聚合成价格、做市机制如何为信息付钱、资本被锁住时价格还能偏离多远——逐一写成可运行的模型,并计算看上去的套利还剩多少能执行。 本书不是投资、交易或博彩建议;全部数据为程序生成的合成数据。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 0.07, 0.96, 7.0
| sum of best asks 0.96; quoted edge 0.04 per set | ||||
| phi = 0.00 | ||||
| sets | cost of sets | net profit | capital | annualised |
| 200 | 192.00 | -2.00 | 202.00 | loss |
| 1000 | 960.00 | 30.00 | 970.00 | +6.3% |
| 1500 | 1440.00 | 50.00 | 1450.00 | +7.0% |
| 3000 | 2910.00 | 80.00 | 2920.00 | +5.6% |
| 6000 | 5940.00 | 50.00 | 5950.00 | +1.7% |
| 3010 | 2920.00 | 80.00 | 2930.00 | +5.5% |
| largest profit at 3010 sets | ||||
| phi = 0.02 | ||||
| sets | cost of sets | net profit | capital | annualised |
| 200 | 192.00 | -4.99 | 204.99 | loss |
| 1000 | 960.00 | 15.05 | 984.95 | +3.1% |
| 1500 | 1440.00 | 27.58 | 1472.42 | +3.8% |
| 3000 | 2910.00 | 34.75 | 2965.25 | +2.4% |
| 6000 | 5940.00 | -41.91 | 6041.91 | loss |
| 2500 | 2415.00 | 37.41 | 2462.59 | +3.1% |
| largest profit at 2500 sets | ||||
| phi = 0.07 | ||||
| sets | cost of sets | net profit | capital | annualised |
| 200 | 192.00 | -12.46 | 212.46 | loss |
| 1000 | 960.00 | -22.32 | 1022.32 | loss |
| 1500 | 1440.00 | -28.48 | 1528.48 | loss |
| 3000 | 2910.00 | -78.38 | 3078.38 | loss |
| 6000 | 5940.00 | -271.69 | 6271.69 | loss |
| no size is profitable | ||||
| Reading: the quoted 4 % is a ceiling. The sum is 0.96 for only |
查看完整验算程序
# Chapter 4. p08: A five-outcome book whose best asks sum to 0.96.
# Exactly one outcome will win; buying one YES of each ("a set") pays 1
# for sure. The quoted edge is 1 - 0.96 = 0.04 per set. The program walks
# each order book level by level, then charges:
# fixed 2 per leg order (network, withdrawal or minimum-ticket costs)
# fee phi * P * (1 - P) per contract at price P - a schedule of the
# form some event exchanges use; phi = 0.02 and phi = 0.07
# lock-up the payout arrives in 6 months; return is annualised and
# compared with rho = 0.145 from Chapter 3
BOOK = {"A": [(0.31, 3000), (0.32, 4000), (0.34, 9000)],
"B": [(0.24, 2500), (0.25, 3500), (0.27, 9000)],
"C": [(0.18, 2000), (0.19, 5000), (0.21, 9000)],
"D": [(0.12, 4000), (0.13, 3000), (0.15, 9000)],
"E": [(0.11, 1500), (0.12, 4000), (0.14, 9000)]}
FIXED, TAU = 2.0, 0.5
def walk(levels, k):
cost = fee_base = 0.0
left = k
for price, size in levels:
take = min(left, size)
cost += take * price
fee_base += take * price * (1 - price)
left -= take
if left == 0:
break
return cost, fee_base
def result(k, phi):
cost = fb = 0.0
for levels in BOOK.values():
c, f = walk(levels, k)
cost += c
fb += f
capital = cost + phi * fb + FIXED * len(BOOK)
return cost, k - capital, capital
if __name__ == "__main__":
top = sum(levels[0][0] for levels in BOOK.values())
print("sum of best asks {:.2f}; quoted edge {:.2f} per set".format(
top, 1 - top))
for phi in (0.0, 0.02, 0.07):
print("\nphi = {:.2f}".format(phi))
print(" sets cost of sets net profit capital "
"annualised")
best = max(range(1, 12001), key=lambda k: result(k, phi)[1])
sizes = (200, 1000, 1500, 3000, 6000)
if result(best, phi)[1] > 0:
sizes += (best,)
for k in sizes:
cost, net, cap = result(k, phi)
ann = ((k / cap) ** (1 / TAU) - 1) if net > 0 else float("nan")
print(" {:5d} {:12.2f} {:10.2f} {:7.2f} {:>10}"
.format(k, cost, net, cap,
"{:+.1%}".format(ann) if net > 0 else "loss"))
if result(best, phi)[1] > 0:
print(" largest profit at {} sets".format(best))
else:
print(" no size is profitable")
print("\nReading: the quoted 4 % is a ceiling. The sum is 0.96 for only")
print("1,500 sets; fixed costs eat small sizes and depth eats large")
print("ones; a fee of 0.07 P(1-P) per contract eats it all. The best")
print("case, about 7 % a year, beats a 4.5 % risk-free rate but not the")
print("14.5 % hurdle of Chapter 3 - for a riskless trade, if the")
print("contracts really are exhaustive and settle as written.")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《预测市场微观结构、布雷格曼信息投影与跨盘口无套利边界》第 4 章「互斥结果的盘口:价格之和不等于 1 时的可执行套利」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090166
DOI: 10.5281/zenodo.24090166 · 阅读本章所在专著 · 5DL-B-059 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026059,
author = {Fan, Yafu},
title = {Prediction Market Microstructure, Bregman Information Projection and Cross-Book Arbitrage Bounds},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090166},
url = {https://doi.org/10.5281/zenodo.24090166}
}