Learn / Track I / lesson 1 of 4
Expected value and variance
The two numbers behind every trade — what you make on average, and how far a single outcome can land from it.
Every trading decision is a bet with a distribution of outcomes. Before you can say anything about a strategy, you need two summaries of that distribution: where its centre is, and how spread out it is.
Expected value
For a discrete random variable that takes value with probability , the expected value is the probability-weighted average:
For a continuous variable with density , the sum becomes an integral, .
A setup wins 40% of the time for and loses 60% of the time for (where is the amount you risk). Its expectancy per trade is
You lose more often than you win, and the trade is still strongly positive. Win rate alone tells you almost nothing.
Expectation is linear, which is what makes it so useful: , whether or not and are independent. The expected P&L of a portfolio is the weighted sum of the expected P&Ls of its parts — always.
Variance and standard deviation
Variance measures the average squared distance from the mean:
The standard deviation is in the same units as , so it is the number you quote. In finance, the standard deviation of returns is called volatility.
For the example above, , so and .
Unlike expectation, variance is not linear:
That covariance term is the whole reason diversification works, and it is the starting point of portfolio construction.
Why the square root of n matters
Take independent trades with the same mean and volatility . The total P&L has mean and standard deviation . The ratio of signal to noise therefore grows like
A small edge becomes reliable only through repetition. A strategy with per trade is invisible over 10 trades, but over 1,600 trades the cumulative result is two standard deviations above zero. This is why high-frequency firms can live on edges a discretionary trader could never detect.
Expected value is not enough
Two bets can share an expected value and be completely different to hold. A strategy that earns a month with certainty, and one that earns or on a coin flip, both have mean . Only one will ever bankrupt you. The rest of this curriculum is largely about what you need beyond the mean: variance and risk-adjusted return, growth and sizing, and tail risk.
Optimising for win rate. Strategies that “win 90% of the time” often do so by taking small profits and holding losers (selling options, martingale, tight take-profits with no stop). The expectancy can still be negative, and the losing tail is where accounts end.
Check yourself
- A trade wins with probability and loses otherwise. What is the break-even win rate? (Answer: .)
- If two strategies each have volatility and correlation , what is the volatility of an equal-weight blend? (Answer: .)