L01
Preview
L01 — How many retail accounts close at a loss, and how long it takes
Lab 1 — Who really loses, and how much
Lab5 code cells · run on 2026-09-29
Every figure and every number in “La matematica di chi perde” comes from code you can reopen, re-run and challenge. The notebooks of the preview chapters open without an account; the others are for readers who have the volume, with a personal code.
A lab answers a question from the book with data and code; a calculator is a tool you re-run by changing its starting numbers.
29 runnable notebooks, 4 in preview
L01
Preview
Lab 1 — Who really loses, and how much
Lab5 code cells · run on 2026-09-29
C01
Preview
Calculator 1 — How much it takes to recover from a loss
Calculator6 code cells · run on 2026-09-29
C02
Preview
Calculator 2 — Costs, on your own numbers
Calculator5 code cells · run on 2026-09-29
L02
Preview
Lab 2 — Chance dressed up as skill
Lab5 code cells · run on 2026-09-29
L03
With the volume
Lab 3 — The graveyard of tokens
Lab6 code cells · run on 2026-09-29
L04
With the volume
Lab 4 — The measured cost of your reflexes
Lab6 code cells · run on 2026-09-29
L05
With the volume
Lab 5 — Looking is not measuring
Lab6 code cells · run on 2026-09-29
L06
With the volume
Lab 6 — The lying average
Lab6 code cells · run on 2026-09-29
C03
With the volume
Calculator 3 — Risk, measured in time
Calculator6 code cells · run on 2026-09-29
L07
With the volume
Lab 7 — When diversification vanishes
Lab5 code cells · run on 2026-09-29
L08
With the volume
Lab 8 — How many things you're really buying
Lab6 code cells · run on 2026-09-29
L09
With the volume
Lab 9 — The market isn't always the same market
Lab7 code cells · run on 2026-09-29
L10
With the volume
Lab 10 — More parameters, less knowledge
Lab7 code cells · run on 2026-09-29
L11
With the volume
Lab 11 — How many observations you really need
Lab7 code cells · run on 2026-09-29
L12
With the volume
Lab 12 — An honest backtest, line by line
Lab6 code cells · run on 2026-09-29
L13
With the volume
Lab 13 — How a backtest lies: the data
Lab5 code cells · run on 2026-09-29
L14
With the volume
Lab 14 — How a backtest lies: the method
Lab7 code cells · run on 2026-09-29
L15
With the volume
Lab 15 — Optimizing is fooling yourself
Lab6 code cells · run on 2026-09-29
L16
With the volume
Lab 16 — Technical analysis, measured
Lab8 code cells · run on 2026-09-29
L17
With the volume
Lab 17 — The two coordinates of a move
Lab8 code cells · run on 2026-09-29
L18
With the volume
Lab 18 — A thousand futures instead of one
Lab6 code cells · run on 2026-09-29
C04
With the volume
Calculator 4 — How much to risk
Calculator7 code cells · run on 2026-09-29
C05
With the volume
Calculator 5 — The risk of keeping it all in one place
Calculator6 code cells · run on 2026-09-29
C06
With the volume
Calculator 6 — Tax friction
Calculator5 code cells · run on 2026-09-29
L19
With the volume
Lab 19 — The five tests for your tool
Lab7 code cells · run on 2026-09-29
L20
With the volume
Lab 20 — The basics you actually need
Lab7 code cells · run on 2026-09-29
L21
With the volume
Lab 21 — Find the lookahead
Lab8 code cells · run on 2026-09-29
C07
With the volume
Calculator 7 — The Criterion, executable
Calculator6 code cells · run on 2026-09-29
C08
With the volume
Calculator 8 — Your plan, written down
Calculator8 code cells · run on 2026-09-29