What does Bootstrap Cashflow and Kill-Switch Lights conclude, in numbers, about “Reinvestment under a Ruin Constraint: Fractional Kelly and the Time Distribution to Five Thousand a Day”?
Answer: Chapter 6 chooses the reinvestment share under a ruin constraint: half Kelly keeps 0.753 of the growth rate of full Kelly, and with a cushion and half-Kelly reinvestment the simulated median time for daily net cash to first reach the target value of five thousand is 76 months with a closure share of 0.009, against 0.111 at full Kelly. The Kelly share applies only to reinvestment in one's own business, never to stocks, crypto-assets, foreign exchange, betting or borrowing.
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: 0.009, 0.111, 76
| f | cushion | P10 | P50 | P90 | reached | stopped | med MDD |
| 0.2000 | 18,000 | 69 | 107 | >120 | 0.616 | 0.002 | 0.394 |
| 0.3125 | 18,000 | 42 | 76 | >120 | 0.839 | 0.009 | 0.515 |
| 0.6250 | 18,000 | 19 | 47 | >120 | 0.838 | 0.111 | 0.755 |
| 1.0000 | 18,000 | 13 | 50 | >120 | 0.608 | 0.382 | 0.917 |
| 0.2000 | 0 | 72 | >120 | >120 | 0.417 | 0.405 | 0.341 |
| 0.3125 | 0 | 45 | 116 | >120 | 0.507 | 0.451 | 0.425 |
| 0.6250 | 0 | 21 | >120 | >120 | 0.374 | 0.624 | 0.578 |
| 1.0000 | 0 | 15 | >120 | >120 | 0.218 | 0.782 | 0.640 |
Show the full program
# Chapter 6. p62: months to a daily net cash of 5,000 (a target value).
# Illustrative units; no return is promised. Daily net cash capacity
# starts at D = 300. Each month: profit 30 D (1 + 0.3 z), z standard
# normal; the personal draw E = 3,000 is paid; the surplus refills the
# cushion (target 18,000 = six months of E), overflow leaves the model.
# Growth bets as in p61 with share f: a win (p 0.55) multiplies D by
# 1 + 0.6 f; a loss multiplies D by 1 - 0.4 f and also writes off
# 0.4 f * 30 D of cash this month. If the cushion goes below zero the
# venture is forced to stop. 10,000 paths of up to 120 months per row,
# fixed seed. Max drawdown is measured on D until the target or stop.
import math
import random
P, B, A = 0.55, 0.6, 0.4
D0, E, GOAL, HORIZON, PATHS = 300.0, 3000.0, 5000.0, 120, 10000
def path(f, cushion, rng):
d, c, peak, mdd = D0, cushion, D0, 0.0
target = 6.0 * E if cushion > 0.0 else 0.0
for m in range(1, HORIZON + 1):
c = c + 30.0 * d * (1.0 + 0.3 * rng.gauss(0.0, 1.0)) - E
if rng.random() < P:
d *= 1.0 + B * f
else:
c -= A * f * 30.0 * d
d *= 1.0 - A * f
if c < 0.0:
return None, True, max(mdd, 1.0 - d / peak)
c = min(c, target)
peak = max(peak, d)
mdd = max(mdd, 1.0 - d / peak)
if d >= GOAL:
return m, False, mdd
return None, False, mdd
def pct(xs, p):
v = xs[min(len(xs) - 1, int(p * len(xs)))]
return ">120" if v is None else str(v)
if __name__ == "__main__":
rng = random.Random(20261120)
print("f cushion P10 P50 P90 reached stopped med MDD")
for cushion in (18000.0, 0.0):
for f in (0.2, 0.3125, 0.625, 1.0):
ts, stop, dd = [], 0, []
for _ in range(PATHS):
t, s, mdd = path(f, cushion, rng)
ts.append(t)
stop += 1 if s else 0
dd.append(mdd)
reached = [t for t in ts if t is not None]
order = sorted(reached) + [None] * (PATHS - len(reached))
dd.sort()
print("{:<7.4f} {:>7,.0f} {:>5} {:>5} {:>5} {:>7.3f} {:>7.3f}"
" {:>7.3f}".format(f, cushion, pct(order, 0.1),
pct(order, 0.5), pct(order, 0.9),
len(reached) / PATHS, stop / PATHS,
dd[PATHS // 2]))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 6: Reinvestment under a Ruin Constraint: Fractional Kelly and the Time Distribution to Five Thousand a Day. 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 7 · Classical Sources: Three Years of Stores, Many Producers and Few Consumers, Joseph's Fifth and Micawber's Sixpence
- Chapter 8 · Closing the Loop: the Daily Cash Control Desk, Calculators and Risk-Control Tables