Quant interview toolkit · statistical power

How many trades reveal a 51% edge? Far more than you think

A strategy designer claims a 51% chance of winning each even-money trade. After 100 trades, should a reviewer expect convincing evidence that the coin is better than fair? Usually not. A one-percentage-point edge is small beside the random variation of a hundred binary outcomes. The sample size calculation is a useful antidote to both overconfidence and impatient dismissal.

State the experiment before seeing results

For a clean baseline, suppose wins are independent Bernoulli trials with constant probability pp. Test a one-sided claim: H0:p=0.50H_0:p=0.50 against H1:p>0.50H_1:p>0.50. Choose a 5% false-positive rate in advance. If KK wins occur in nn trades, the observed hit rate is p^=K/n\widehat p=K/n. Under the fair-coin null, its standard deviation is

SE⁡0(p^)=0.5(0.5)n=0.5n.\operatorname{SE}_0(\widehat p) =\sqrt{\frac{0.5(0.5)}{n}} =\frac{0.5}{\sqrt n}.

With n=100n=100, that is five percentage points. A true rate of 51% sits only 0.2 standard errors above 50%. A result near 51 wins is therefore ordinary under the fair-coin model; it is not strong evidence of an edge. One hundred trades can be informative about a huge edge, but they have little power to identify a one-point difference.

Work out an approximate sample size

For a predeclared one-sided 5% normal-approximation test, reject when the sample rate exceeds approximately 0.5+1.645(0.5/n)0.5+1.645(0.5/\sqrt n). Under a true p1=0.51p_1=0.51, the sample rate has approximate standard deviation p1(1−p1)/n\sqrt{p_1(1-p_1)/n}. To achieve about 80% power, the alternative mean must sit about z0.80=0.842z_{0.80}=0.842 alternative standard errors above the rejection threshold. Rearranging gives

n≈[z0.95p0(1−p0)+z0.80p1(1−p1)p1−p0]2.n\approx \left[ \frac{z_{0.95}\sqrt{p_0(1-p_0)} +z_{0.80}\sqrt{p_1(1-p_1)}}{p_1-p_0} \right]^2.

Plugging p0=0.50p_0=0.50, p1=0.51p_1=0.51, z0.95=1.645z_{0.95}=1.645, and z0.80=0.842z_{0.80}=0.842 gives roughly 15,500 independent trades. Exact binomial cutoffs are discrete and can shift the required number slightly; the point is the scale, not an exact promise at one integer sample size. If you had predeclared a two-sided test, the normal threshold is 1.96 and the corresponding approximation is closer to 20,000.

Independent tradesApproximate standard error near 50%A one-point edge in standard-error units
1005.0 percentage points0.2
1,0001.58 percentage points0.63
10,0000.50 percentage points2.0
15,5000.40 percentage points2.49

The last column is a signal-to-noise measure for the estimate, not the test’s power by itself. Power also depends on the chosen rejection threshold. At 10,000 trades, the approximate one-sided test has only about 64% power against p=0.51p=0.51, so even a real edge would often fail the chosen significance rule.

Economic value is a different calculation

If every win pays one unit, every loss costs one unit, and trading has no cost, p=0.51p=0.51 gives expected profit 0.51−0.49=0.020.51-0.49=0.02 units per trade. A round-trip cost of 0.03 units turns that into a loss of 0.01 units. A precise demonstration that p>0.50p>0.50 would not establish a profitable strategy after costs. Conversely, a strategy can have a low hit rate and positive expected profit if winners are much larger than losers. Accuracy versus payoff shows that tradeoff.

Power analysis must target the metric you intend to decide on. If the claim is positive net P&L, design the test around the distribution of net P&L, including variable trade sizes and costs. A binomial hit-rate test answers a narrower question. It is still useful as a transparent reference calculation because every assumption is visible.

Why a trade log may contain fewer independent observations

Trades can overlap, share the same market factor, or arrive in clusters during one regime. Ten thousand tickets during one event do not necessarily provide ten thousand independent pieces of evidence about a stable edge. Positive serial dependence raises the variance of the observed rate relative to the independent-binomial formula. A strategy selected from many backtests also faces multiple-testing bias: the best observed hit rate is a selected statistic, not a clean single predeclared test.

Separate design and evaluation. Fix the rule and the hypothesis before collecting a confirmation sample. Use chronological out-of-sample periods where appropriate, and report uncertainty even if the result misses a conventional threshold. If the market’s success probability changes across regimes, the constant-pp model may be the wrong target altogether. Beta-binomial updating handles uncertainty about a fixed rate; it does not by itself solve regime drift.

Peeking changes the promised false-positive rate

The 5% threshold above assumes one predeclared analysis at a fixed sample size. If a researcher checks significance after every hundred trades and stops the first time the statistic crosses the ordinary 5% boundary, the chance of a false discovery under a fair coin exceeds 5%. The stopping decision depends on the observed sequence, so the fixed-sample calculation no longer describes the procedure. A preplanned sequential test can monitor evidence as it arrives, but it needs boundaries designed for repeated looks.

Likewise, if the researcher tries many definitions of “win,” subsets of markets, and entry rules, the selected result is not one clean binomial test. Before asking how many trades are needed, write down the actual search and confirmation process. A large nominal sample can be less convincing than a smaller, independent confirmation sample collected after the rule was fixed.

How many independent trades reveal the edge?

Normal approximation for a predeclared one-sided 5% test of p = 50%. Correlated trades provide less information.

Practice

ScaleUnder a fair-coin null, what is the approximate standard error of the hit rate after 2,500 independent trades?
Show answer

0.5/2500=0.010.5/\sqrt{2500}=0.01, or one percentage point. An observed 51% is only about one null standard error above 50%.

CostsAt 51% wins with one-unit gains and losses, what is expected profit per trade after a 0.01-unit round-trip cost?
Show answer

Gross expected payoff is 0.51(1)+0.49(−1)=0.020.51(1)+0.49(-1)=0.02. After 0.01 cost, expected net payoff is 0.01 units per trade under the fixed-payoff model.