Ten wins in a row may be ordinary in a long trade log
A trader highlights ten consecutive winners in a log of one thousand trades. The chance of ten wins on ten preselected fair bets is only , so the streak looks extraordinary. But the trader searched the entire log for the best run. That changes the question: how often would somewhere in a thousand fair bets contain ten wins in a row?
Count windows, then notice their overlap
There are windows of length in a sequence of results. Each particular window is all wins with probability under independent fair bets. For and , the expected number of all-win windows is
That is not a 96.8% chance of at least one streak. Windows overlap. A run of 12 wins creates three different all-win windows of length ten, and they arrive together. An expected count can be close to one even when the probability of seeing at least one is much smaller.
Track only the current run length
Let be the probability that after flips we have seen no run of ten wins and the current run of consecutive wins has length , where . Start with . A loss resets the run; a win extends it, unless that win would complete the forbidden streak:
The missing probability from a win in state 9 is precisely the probability of first reaching ten in a row at that step. Iterate the recurrence 1,000 times and subtract the probability still in the safe states:
That is common enough to expect many fair strategies to show such a streak by chance. It is also far below the expected window count of 0.968 because long runs create clusters of overlapping windows.
def chance_of_run(n, length):
safe = [1.0] + [0.0] * (length - 1)
for _ in range(n):
nxt = [0.0] * length
nxt[0] = 0.5 * sum(safe) # loss resets the run
for j in range(length - 1):
nxt[j + 1] = 0.5 * safe[j] # win extends it
safe = nxt
return 1.0 - sum(safe)
print(chance_of_run(1000, 10)) # 0.3854497524...
Ask when the streak was specified
If a researcher declared in advance that trades 201–210 would all win, the calculation is relevant under the fair, independent model. If the researcher scanned every ten-trade window and reported the prettiest one, the 38.54% calculation matches that search. Searching many strategies, parameters and markets creates still more opportunities to find a striking run; multiple-testing bias addresses that broader selection problem.
Real trade outcomes are not necessarily independent or equally likely to win. A changing regime or correlated positions can produce longer streaks than the fair-coin model. This puzzle isolates the selection effect before those complications. For the related question of waiting time until a pattern occurs, see first-step analysis.
Practice
Preselected windowWhat is the chance that one specified block of eight independent fair trades contains eight wins?Show answer
. This is for one block selected before seeing the outcomes.
Expected windowsIn 100 fair independent trades, how many ten-win windows do you expect, counting overlapping windows separately?Show answer
There are windows. The expected count is . This expectation is not the probability of at least one; the exact probability is about 4.41%.