A Mind at Play, through Kelly (1956) and Shannon's Demon
Citation. Jimmy Soni and Rob Goodman. A Mind at Play: How Claude Shannon Invented the Information Age. Simon & Schuster, 2017. ISBN 978-1-4767-6668-3. This page doesn't review the book, which has no open copy. It reviews the open source behind the book's finance chapters, and works out the one idea that has no paper:
- J. L. Kelly, Jr. "A New Interpretation of Information Rate". Bell System Technical Journal 35(4), 917–926, July 1956. Read from the copy "reproduced with permission of AT&T" at princeton.edu. Kelly thanks "R. E. Graham and C. E. Shannon".
- Shannon's demon, the gain from rebalancing a volatile asset against cash. Shannon presented it in talks, not in a paper. So I derive its size below and check it by simulation. This is my own work, not the book's.
Status. Not applicable. Kelly's rule is already reviewed through its good and bad properties (kelly-criterion.md) and its shrinkage under estimated edges (kelly-parameter-uncertainty.md). This paper adds where the rule comes from, and the limits that Kelly himself stated. Shannon's demon is a property of rebalancing that the harness can already measure, by comparing its 1/N benchmark with buy-and-hold. The book's other subjects can't be reviewed from open sources: Shannon's own investing, and Thorp's methods as the book tells them.
Read. Read on 2026-11-28. I read Kelly (1956) in full, 10 pages, with pdftotext. The book is unread, as the maintainer decided for books with no open copy (2026-11-27). The derivation and simulation below are mine, run in plain Python.
Summary
Kelly's claim. "The maximum exponential rate of growth of the gambler's capital is equal to the rate of transmission of information over the channel."
Method.
- The growth rate. G = lim (1/N) log(V_N/V_0), with logarithms to base two. Take a bet won with probability q and lost with probability p, and stake a fraction ℓ of capital each time. Then G = q log(1 + ℓ) + p log(1 − ℓ).
- The best fraction. It is ℓ = q − p. Then G_max = 1 + p log p + q log q, "which is the rate of transmission as defined by Shannon".
- Many outcomes, fair odds. The gambler bets a(s|r) = q(s|r), the probability of each outcome given the signal. Then G_max = H(X) − H(X|Y), the information that the signal carries.
- Unfair odds, with no track take. Bets are still a(s|r) = q(s|r): "the gambler ignores the posted odds in placing his bets!" The gain over having no signal is again the information rate.
- With a track take. A rule that sorts the outcomes by p(s)α_s, holds back a fraction b, and bets a(s) = p(s) − b/α_s where that is positive. Some of those bets "might be made for which p(s)α_s < 1, i.e., the expected gain is negative".
Kelly's own limits.
- The reason is the long run, not utility. "At every bet he maximizes the expected value of the logarithm of his capital. The reason has nothing to do with the value function which he attached to his money". It is "that it is the logarithm which is additive in repeated bets and to which the law of large numbers applies".
- It needs reinvestment. The "essential requirements" are "the possibility of reinvestment of profits" and "the ability to control or vary the amount of money invested". A gambler who may not reinvest "should then maximize his expectation".
- The proof is narrow. The paper shows superiority only over strategies that apportion money "in a fixed way for each received symbol". Those strategies are "independent of time or past events". It adds: "Theorems remain to be proved".
Shannon's demon, worked out. Take an asset whose log price is a random walk with zero drift and volatility σ. Holding it neither grows nor shrinks in the median. Hold half in the asset and half in cash, and rebalance often. The portfolio's log growth rate is about wμ − w²σ²/2, with w = 1/2 and μ = σ²/2. That is σ²/8 a year, though neither part grows. The trade at each rebalance is about w(1 − w) times the absolute return. So the turnover grows with σ, like the gain.
| Volatility a year | Gain, σ²/8 | Traded per daily rebalance | Cost a year at 10 bp a trade | at 50 bp |
|---|---|---|---|---|
| 15% | 0.28% | 0.19% | 0.05% | 0.24% |
| 20% | 0.50% | 0.25% | 0.06% | 0.32% |
| 40% | 2.00% | 0.50% | 0.13% | 0.63% |
| 80% | 8.00% | 1.01% | 0.25% | 1.27% |
I simulated the 80% case, with 400 paths of 20 years rebalanced daily. The mean log growth was 7.94% a year, against 8.00% in theory.
Where the claims go beyond the evidence
Kelly assumes the probabilities are known. The rule bets the true posterior q(s|r). With an estimated edge, a full Kelly bet is too large, and the growth rate falls fast when the bet overshoots. kelly-parameter-uncertainty.md reviews how far to shrink it.
The result is about the long run. "With probability one" holds as the number of bets grows without bound. Over a finite record, the Kelly bettor can fall far behind, and its drawdowns are deep (kelly-criterion.md).
The demon needs an asset that doesn't trend. The gain is σ²/8 only against an asset with no growth in its median. If the asset trends up, rebalancing sells the winner, and buy-and-hold can win. If returns are mean-reverting, rebalancing gains more, and if they trend, it gains less. The table assumes independent returns.
The demon's gain is small where costs are high. At 20% volatility, a typical stock index, the gain is 0.50% a year. The table's costs assume daily rebalancing. Rebalancing less often lowers both the cost and the gain. Taxes are worse, because each rebalance realises gains in some regimes.
Credit. Kelly states the conditions his result needs, and the gaps in his proof, in his own conclusion. He says plainly that some of his bets have negative expected value.
Use in this repo
The harness can already measure the demon. open_familyoffice/harness.py's one_over_n rebalances to equal weights at each time, and buy_and_hold lets the weights drift. On the same universe, the difference in their log growth is the rebalancing gain or loss. Run both through simulate with the venue's costs and tax.py's regime, and the gain is measured after costs and tax. That answers the issue's question with data the project has, without the book.
Kelly's conditions are a checklist for any sizing rule. A strategy that sizes by Kelly must reinvest, must have a known or shrunk edge, and must be judged over a long record. A short paper record can't show that full Kelly was right (#32). The growth rate is the capital-efficiency measure of RQ3 (#30).
One person's record is a sample of one. The book's account of Shannon's investing, written after the fact, can't be tested. It is not a reason to adopt any rule.