What does Prediction-Market Prices and Arbitrage conclude, in numbers, about “Books of Exclusive Outcomes: Executable Arbitrage When Prices Do Not Sum to 1”?
Answer: Chapter 4 computes the executable arbitrage in a book of exclusive outcomes: for a five-outcome book whose asks sum to 0.96, the best case is +7.0 % a year, and with a fee of 0.07·P(1−P) every size loses; arbitrage created by stale quotes loses money when executed leg by leg.
Scope of the numbers: It is not investment, trading or betting advice; all data are synthetic, generated by its programs. Chapter 7 reads the Guanzi's "the clever gain tenfold" and the Shiji's Bai Gui, "what others discard I take, what others take I let go", as information rent and the cost of carry, marked as interpretation.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. printed values that match the answer: 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 |
Show the full program
# 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.")Single source and citation
Fan, Y. (2026). Prediction Market Microstructure, Bregman Information Projection and Cross-Book Arbitrage Bounds (Version 1.0.0), Chapter 4: Books of Exclusive Outcomes: Executable Arbitrage When Prices Do Not Sum to 1. 5D Library. https://doi.org/10.5281/zenodo.24090166
DOI: 10.5281/zenodo.24090166 · Read the monograph · 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}
}Other chapter answers in this book
- Chapter 1 · A Price Is Not a Probability: Belief Dispersion, Risk Attitudes and the Favourite-Longshot Bias
- Chapter 2 · The Logarithmic Market Scoring Rule: Softmax, KL Divergence and the Subsidy Cap
- Chapter 3 · Capital Lock-Up: Why Near-Certain Contracts Sit at 0.92 to 0.96
- Chapter 5 · Logically Related Events: Convex Polytopes, Frank-Wolfe Projection and Arbitrage Certificates
- Chapter 6 · Reading Probabilities from Prices: Calibration Tests, Correlated Resolutions and the Cost of Correction
- Chapter 7 · "The Wise Gain Tenfold" and "Watching the Turn of the Times": Information Rent and the Cost of Carry
- Chapter 8 · A Four-Step Check and a Pre-Registered Test of the Lock-Up Discount