What does Acquirer Risk Steps and Reserve Survival conclude, in numbers, about “Reading the Classics: Peace and Peril in the Zuo Zhuan, Forethought in the Doctrine of the Mean, Joseph's Granaries and Bagehot's Reserve”?
Answer: The table is worth reading row by row, because the spread is wide. A shop with a daily net inflow of 150 that saves all of it needs 333 days to fill the buffer, and the probability that a shock arrives first is 0.2114. If the same shop saves only a quarter of its inflow, it needs 1,333 days, and the probability that the shock wins the race rises to 0.6132. A shop with a daily net inflow of 475 that saves everything fills the buffer in 105 days, with a probability of 0.0722 that a shock arrives first; saving half, it takes 211 days, and the probability is 0.1393. A shop with a daily net inflow of 900 that saves everything needs only 56 days, and the probability of an early shock is just 0.0388.
Scope of the numbers: Parameters are illustrative; all calculations come from the book's programs. This is general risk analysis, not legal, financing or investment advice, and promises no income.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.0388, 0.0722, 0.1393, 0.2114, 0.6132, 105
| buffer 50,000; shock rate 0.000712 a day | |||
| NET | g | days to fill | P(shock first) |
| 150 | 0.25 | 1,333 | 0.6132 |
| 150 | 0.50 | 667 | 0.3780 |
| 150 | 1.00 | 333 | 0.2114 |
| 475 | 0.25 | 421 | 0.2591 |
| 475 | 0.50 | 211 | 0.1393 |
| 475 | 1.00 | 105 | 0.0722 |
| 900 | 0.25 | 222 | 0.1464 |
| 900 | 0.50 | 111 | 0.0761 |
| 900 | 1.00 | 56 | 0.0388 |
| with the buffer full, years still beyond it: 0.0175 | |||
| expected years between such years: 57.1 |
Show the full program
# Chapter 7. p72: "accumulate in ordinary times the reserve to use in
# extraordinary times" (Bagehot 1873), as a race against the clock.
# Target buffer BUF = 50,000 (the 98th percentile of p62 at LAM 0.005).
# In ordinary days the shop sets aside a share g of its daily net cash
# NET. Reviews or freezes arrive as a Poisson stream; from p62, a
# review strikes about 0.260 of campaign seasons, one season a year,
# so the rate is about 0.260 / 365 a day. P(a shock arrives before the
# buffer is full) = 1 - exp(-rate x days to fill). Even a full buffer
# leaves the share of years that p62 found beyond it (0.0175).
# All amounts illustrative units without currency.
import math
BUF = 50000.0
RATE = 0.260 / 365.0
BEYOND = 0.0175
def main():
print("buffer {:,.0f}; shock rate {:.6f} a day".format(BUF, RATE))
print(" NET g days to fill P(shock first)")
for net in (150.0, 475.0, 900.0):
for g in (0.25, 0.50, 1.00):
days = BUF / (g * net)
p = 1.0 - math.exp(-RATE * days)
print("{:>6.0f} {:.2f} {:>11,.0f} {:.4f}".format(
net, g, days, p))
print("with the buffer full, years still beyond it: {:.4f}".format(
BEYOND))
print("expected years between such years: {:.1f}".format(1 / BEYOND))
if __name__ == "__main__":
main()Single source and citation
Fan, Y. (2026). Payment-Acquirer Risk Step-Functions, Multi-Gateway Hot Failover and Rolling-Reserve Survival for Digital Fleets (Version 1.0.0), Chapter 7: Reading the Classics: Peace and Peril in the Zuo Zhuan, Forethought in the Doctrine of the Mean, Joseph's Granaries and Bagehot's Reserve. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-397 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026397,
author = {Fan, Yafu},
title = {Payment-Acquirer Risk Step-Functions, Multi-Gateway Hot Failover and Rolling-Reserve Survival for Digital Fleets},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Steps: Noise in the Chargeback Ratio, the Beta Posterior and Card-Network Definitions
- Chapter 2 · Lag: Cohort Measures, Arrival-Date Measures and Underestimation During Surges
- Chapter 3 · Jumps: Cumulative Sums, Exponentially Weighted Averages and Bayesian Online Change Points
- Chapter 4 · Refunds: The Optimal Interception Threshold Before a Dispute
- Chapter 5 · Hot Failover: Common-Cause Failure, Timeout Budgets and Idempotency
- Chapter 6 · Reserves: Rolling Holdbacks, Settlement Freezes and the Minimum Buffer That Keeps Cash Flowing
- Chapter 8 · The Empirical Loop: the Acquirer-Risk Ledger, Field Tools and Checker Specifications