What does Bootstrap Cashflow and Kill-Switch Lights conclude, in numbers, about “Closing the Loop: the Daily Cash Control Desk, Calculators and Risk-Control Tables”?
Answer: Chapter 8 gives the ledger fields, the light criteria and actions, the distilled 72-Hour Kill-Switch Light and Reinvestment Share Calculator and a pre-registered plan. Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.
Scope of the numbers: The north star becomes daily net cash banked (cash received minus real outlays minus the refund reserve); in a fixed-seed synthetic ledger, revenue grows by a factor of 4.05 while net cash banked keeps sinking. Parameters are illustrative; all figures come from the book's programs.
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: 19
| A. day received outlays reserve net cash | |
| 1 | 2,400 1,876 40 484 |
| 2 | 1,900 1,166 32 702 |
| 3 | 3,100 2,624 51 425 |
| 4 | 2,600 1,254 44 1,302 |
| 5 | 1,500 1,850 25 -375 |
| 6 | 3,300 1,652 55 1,593 |
| 7 | 2,800 2,302 47 451 |
| 7-day mean net cash 654.6; cushion 4.00 months; week YELLOW | |
| B. test hour clicks orders llr running loss light | |
| T1 | 24 600 19 4.254 -420 GREEN |
| T2 | 48 1,200 26 0.006 -120 YELLOW |
| T3 | 60 1,500 18 -10.265 720 RED |
| T4 | 24 600 11 3.671 60 GREEN |
| C. cushion gap 6,000: fill in 4 months at 1,500 a month | |
| Kelly 0.6250, cap 0.3125, allowed now 0 until the cushion is full |
Show the full program
# Chapter 8. p81: one week of the daily cash control desk, end to end.
# Same core as distill/tool.py (SPRT bounds of p31, 72-hour cap of p32,
# Beta(1, 49) payback probability of p41, lag-weighted exposure of
# p42, stop-loss 900 of p43; cushion rule of p51; half-Kelly cap of p61).
# Part A: a synthetic 7-day ledger (illustrative units, no real account)
# for the three income lines; daily net cash = received - real outlays
# - refund reserve. Week light: GREEN if the 7-day mean is at least the
# daily essential need (3,000 / 30) and the cushion is full; RED if the
# 7-day mean is negative or the cushion covers under 3 months; YELLOW
# otherwise. Part B: four tests. Part C: cushion and reinvestment share.
# The cushion holds 12,000 against a target of 18,000 (illustrative).
import math
E, CUSHION = 3000.0, 12000.0
LEDGER = [ # received, ads, purchase advances, fees, delivery, reserve
(2400.0, 300.0, 1360.0, 96.0, 120.0, 40.0),
(1900.0, 300.0, 680.0, 76.0, 110.0, 32.0),
(3100.0, 320.0, 2040.0, 124.0, 140.0, 51.0),
(2600.0, 320.0, 680.0, 104.0, 150.0, 44.0),
(1500.0, 340.0, 1360.0, 60.0, 90.0, 25.0),
(3300.0, 340.0, 1020.0, 132.0, 160.0, 55.0),
(2800.0, 360.0, 1700.0, 112.0, 130.0, 47.0),
]
def seen_share(hours, tau):
if tau <= 0.0:
return 1.0
return 1.0 - tau / hours * (1.0 - math.exp(-hours / tau))
def test_light(hours, clicks, k, tau=0.0):
la, lb = math.log(0.90 / 0.05), math.log(0.10 / 0.95)
n = clicks * seen_share(hours, tau)
llr = math.fsum([k * math.log(2.0), (n - k) * math.log(0.97 / 0.985)])
loss = clicks * 1.2 - k * 60.0
if llr >= la:
return llr, loss, "GREEN"
if llr <= lb or loss >= 900.0 or hours >= 72:
return llr, loss, "RED"
return llr, loss, "YELLOW"
if __name__ == "__main__":
print("A. day received outlays reserve net cash")
nets = []
for d, row in enumerate(LEDGER, 1):
out = math.fsum(row[1:5])
net = row[0] - out - row[5]
nets.append(net)
print(" {:>3} {:>9,.0f} {:>9,.0f} {:>8,.0f} {:>9,.0f}".format(
d, row[0], out, row[5], net))
mean = math.fsum(nets) / len(nets)
months = CUSHION / E
if mean < 0.0 or months < 3.0:
wk = "RED"
elif mean >= E / 30.0 and months >= 6.0:
wk = "GREEN"
else:
wk = "YELLOW"
print(" 7-day mean net cash {:,.1f}; cushion {:.2f} months; week {}"
.format(mean, months, wk))
print("B. test hour clicks orders llr running loss light")
for name, h, n, k, tau in (("T1", 24, 600, 19, 0.0),
("T2", 48, 1200, 26, 0.0),
("T3", 60, 1500, 18, 0.0),
("T4", 24, 600, 11, 18.0)):
llr, loss, c = test_light(h, n, k, tau)
print(" {:<3} {:>4} {:>6,} {:>6} {:>7.3f} {:>13,.0f} {}".format(
name, h, n, k, llr, loss, c))
kelly = 0.55 / 0.4 - 0.45 / 0.6
gap = 6.0 * E - CUSHION
print("C. cushion gap {:,.0f}: fill in {} months at 1,500 a month".format(
gap, math.ceil(gap / 1500.0)))
print(" Kelly {:.4f}, cap {:.4f}, allowed now 0 until the cushion"
" is full".format(kelly, kelly / 2.0))Single source and citation
Fan, Y. (2026). Bootstrap Cashflow Discipline, Seventy-Two-Hour Kill-Switch Dashboards and Reinvestment Compounding to Five Thousand Daily (Version 1.0.0), Chapter 8: Closing the Loop: the Daily Cash Control Desk, Calculators and Risk-Control Tables. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-372 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026372,
author = {Fan, Yafu},
title = {Bootstrap Cashflow Discipline, Seventy-Two-Hour Kill-Switch Dashboards and Reinvestment Compounding to Five Thousand Daily},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · A New North Star: Daily Net Cash Banked versus Vanity Metrics
- Chapter 2 · Settlement Lags and the Cash Conversion Cycle: Why Booked Profit Eats Cash First
- Chapter 3 · Sequential Boundaries in Seventy-Two Hours: Wald's Test and the Price of Peeking
- Chapter 4 · The Kill-Switch Lights: Payback Probability, Conversion Lag and a Preset Stop-Loss
- Chapter 5 · A Six-Month Cushion: Fill First, Split Later, and Keep the Accounts Apart
- Chapter 6 · Reinvestment under a Ruin Constraint: Fractional Kelly and the Time Distribution to Five Thousand a Day
- Chapter 7 · Classical Sources: Three Years of Stores, Many Producers and Few Consumers, Joseph's Fifth and Micawber's Sixpence