Trading Glass
FeaturesPricingAcademyBlogChartJournal
Loading
All Courses
Nash Equilibrium and No ArbitrageVariance & Standard DeviationSkewness & KurtosisMonte Carlo SimulationsBayesian ThinkingThe Kelly CriterionLaw of Large Numbers & Confidence Intervals
Academy/Trading Intelligence/Mathematics & Probability

Variance & Standard Deviation

Trading Intelligence

9 min read

returnStdDev

Measure the dispersion of returns to understand risk, compare strategies, and set realistic performance expectations.

Loading

Related Topics

Distribution of Trade Returns

9 min

Monte Carlo Simulations

10 min

Bayesian Thinking

9 min

The Kelly Criterion

8 min

Previous Topic

Nash Equilibrium and No Arbitrage

Next Topic

Skewness & Kurtosis

Trading Glass

Next-generation charting order flow platform with rotation view, cluster visualization, and real-time analytics for professional traders and quantitative analysts.

Product

  • Features
  • Pricing
  • Chart
  • Journal

Resources

  • Academy
  • Blog
  • Documentation
  • API Reference
  • Support

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 Trading Glass. All rights reserved.

PrivacyTerms

Variance is the average squared distance of your returns from their mean; standard deviation (σ) is its square root, expressed in the same units as the returns. Together they quantify how spread out a strategy's outcomes are — and therefore how much pain you will eat between you and your expected value.

Why your results will never come in a straight line — and how to survive randomness without losing your mind.

Introduction

So, you've built a system with positive Expected Value (EV). Great — now comes the hard part:

Your average outcome and your real outcomes will rarely match in the short term.

Even the best strategies can:

  • Go on 6-loss streaks
  • Deliver negative months
  • Underperform for 20 trades in a row

That’s not failure. It’s variance — and every real trader must learn how to expect it, model it, and survive it.


What Is Variance?

Variance is the second central moment of your return distribution: Var(X) = E[(X − μ)²]. Plain English: it is the average of squared distances from the mean. Squared, because we want symmetric punishment for upside and downside deviations.

For a sample of n observations, use the unbiased estimator s² = Σ(xᵢ − x̄)² / (n − 1) (Bessel's correction). Standard deviation σ = √Var(X) — same units as the underlying variable, which is why traders quote σ, not variance.

Intuitively: variance is the natural spread in outcomes around your EV.

If your system has an EV of +0.5R per trade, that doesn’t mean:

You’ll gain exactly 0.5R every trade

It means:

  • Some trades will be +3R
  • Some will be –1R
  • Others breakeven
  • And over time, your average should be +0.5R

Variance is the reality around the EV theory.


What Is Standard Deviation?

Standard deviation (σ) measures how far actual results deviate from the average.

In trading:

  • High σ = big swings in performance (boom/bust)
  • Low σ = tight clustering of outcomes (smooth equity curve)

For example:

  • Strategy A: Avg = +0.6R, σ = 0.3R → consistent, slow
  • Strategy B: Avg = +0.6R, σ = 1.2R → explosive but bumpy

Both are profitable — but one is far harder to hold psychologically.

Equity Curve Simulator
34.8k28.6k22.4k16.2k10.0k0100200Trades
Final: $34281 (+242.8%)

Worked example — computing σ from a return series

Take ten daily log returns: {+0.012, −0.008, +0.005, +0.001, −0.014, +0.009, +0.003, −0.002, +0.007, −0.001}. Mean x̄ = 0.0021. Sum of squared deviations Σ(xᵢ − x̄)² ≈ 0.000792. Sample variance s² = 0.000792 / 9 ≈ 0.0000880. Daily σ = √s² ≈ 0.0094 (about 0.94%). Annualized: σ_annual ≈ 0.0094 · √365 ≈ 18%. That is a moderate-vol crypto book; a 30%+ annualized σ is high vol.

Annualizing σ

If σ_d is the std-dev of daily log returns, σ_annual = σ_d · √k. Use k = 252 for equities (trading days/year) and k = 365 for crypto (24/7 markets). Always compute σ on log returns r_t = ln(P_t / P_{t−1}), not on prices — log returns are time-additive and closer to symmetric.

Asset classPeriods/yearAnnualization factor (√k)Typical annualized σ
Equities (daily)252√252 ≈ 15.8715–20% (SPX)
Crypto (daily)365√365 ≈ 19.1040–80% (BTC)
FX majors (daily)252√252 ≈ 15.877–12%
Equities (hourly)~1,638√1638 ≈ 40.47matches daily after scaling
Crypto (hourly)8,760√8760 ≈ 93.59matches daily after scaling

Why Understanding Variance Saves Your Account

1. Most Traders Quit Before Their Edge Plays Out

“It’s not working anymore...” → But you’ve only taken 15 trades. → And your system has a 35% win rate.

That’s normal variance — not failure.


2. Winning and Losing Streaks Are Statistically Inevitable

Even with a great system, you’ll experience:

  • 4+ losers in a row
  • Breakeven months
  • Big reversals after strong runs

If your system has a 60% win rate, you’re still likely to hit 5–6 loss streaks over a 100-trade sample.


3. You Must Size for the Worst, Not the Best

High variance systems require:

  • Smaller size
  • Greater capital buffer
  • Better emotional control

Most traders blow up because they size for the dream, not the distribution.


Visualizing Return Distributions

Return Distribution
-3.2R0R2.5RR-Multiple

Normal (Gaussian) Distribution

  • Bell curve
  • Most outcomes near the mean
  • Outliers are rare
  • Low-volatility strategies or scalping often fit here

Skewed Distribution

  • Long tail on one side
  • Systems with rare big winners
  • Example: trend-following with lots of small losses, few 5R+ wins

Fat-Tailed Distribution

  • More frequent outliers
  • Wild price behavior (especially in crypto)
  • You must expect the unexpected

σ assumes a finite, well-behaved distribution. Real return distributions have fatter tails than Gaussian — what Gauss says is a 1-in-15,000 daily move (5σ) shows up a few times per decade in equities and several times a year in crypto. σ systematically underestimates tail risk. The next lesson — Skewness & Kurtosis — quantifies exactly how wrong it is.

Don't just model your average trade. Model your most extreme drawdown, and your biggest runup — both are coming.

Mandelbrot (1963, The Variation of Certain Speculative Prices) showed cotton prices follow stable distributions with effectively infinite variance; Taleb (The Black Swan, 2007) generalized this to all financial returns. If you take one thing from this lesson: variance is necessary, not sufficient.


Computing σ on a Return Series — 5-Step Procedure

  1. Compute log returns r_t = ln(P_t / P_{t−1}).
  2. Mean: x̄ = mean(r).
  3. Deviations: d_t = r_t − x̄.
  4. Sample variance: s² = Σd_t² / (n − 1) (Bessel's correction).
  5. Annualize: σ_annual = √s² · √365 (crypto) or √252 (equities).

Pseudocode in pandas:

import numpy as np
df['r'] = np.log(df['close']).diff()
sigma_annual = df['r'].std() * (365 ** 0.5)  # crypto; use 252 for equities

σ benchmarks — sanity-check your number

Rules of thumb (annualized σ):

  • SPX: ~15%
  • Gold: ~15%
  • Single-name large-cap equity: 25–40%
  • BTC: 40–80%
  • Alt-coins: 80–150%

If your strategy's σ is materially below the underlying's σ, you have either real edge or hidden leverage assumptions — check both.

Dispersion statistics — variance is one of many

StatisticFormulaRobust to outliers?Use when
VarianceE[(X−μ)²]NoTheoretical work, Sharpe ratio
Std deviation√VarNoReporting, annualization
MADE[|X−μ|]MildlyQuick & dirty
IQRQ3 − Q1YesFat-tailed / dirty data
Semi-deviation√E[(X−μ)² · 1_{X<μ}]NoDownside-only risk (Sortino input)

How Many Trades Do You Need to Trust a Strategy?

Short answer: More than you think.

Sample-size bands for trusting a strategy.

Number of TradesConfidence Level
10-20Statistically meaningless
50Very early signal
100Reliable enough to start trusting
300+Strong evidence for performance

And even at 100+, variance lives. The implicit math here is the Law of Large Numbers — your sample mean converges on the true mean, but only with enough trades.


σ Is Necessary, Not Sufficient

σ treats +5% and −5% as equally "risky", it assumes the distribution is stable, and it dies on fat tails. Pair it with:

  • Downside deviation / Sortino ratio — penalizes only below-mean returns
  • Expected shortfall (CVaR) — average loss in the worst α% of cases
  • Max drawdown — the path-dependent pain you actually live through

No serious risk system uses σ alone. Sortino & van der Meer (1991) introduced downside deviation; Artzner et al. (1999, Coherent Measures of Risk) proved σ is not a coherent risk measure. For a deeper dive on returns and their moments, López de Prado, Advances in Financial Machine Learning (2018), ch. 3.


How to Survive Variance (Without Quitting or Blowing Up)

  1. Think in samples of 50–100 trades — not daily PnL
  2. Track streaks (max winners/losses in a row)
  3. Journal emotional responses — not just trades
  4. Size for the distribution, not average return
  5. Visualize worst-case drawdown, not best-case profit
  6. Simulate randomness with Monte Carlo simulation

Frequently Asked Questions

How do you compute standard deviation on a return series?

Take log returns r_t = ln(P_t / P_(t−1)), compute the mean x̄, the deviations d_t = r_t − x̄, the sample variance s² = Σd_t² / (n − 1), then σ = √s². To annualize, multiply by √k where k = 252 for equities or 365 for crypto.

How do you annualize standard deviation for crypto vs equities?

Use σ_annual = σ_period · √k. For daily log returns, k = 252 for equities (trading days per year) and k = 365 for crypto (which trades 24/7). Always annualize from log returns, not from prices, because log returns are time-additive.

How many trades does it take to trust a strategy?

10–20 trades are statistically meaningless, 50 is a very early signal, 100 is reliable enough to start trusting, and 300+ is strong evidence. Even at 100+ trades, variance still produces meaningful streaks and drawdowns.

Why are losing streaks normal even with a positive-EV system?

Variance guarantees streaks. If your system has a 60% win rate, you are still likely to hit 5–6 consecutive losses over a 100-trade sample. That is normal variance — not a broken edge.


Final Thought

Expected value is your compass. Variance is the storm.

You need both:

  • The math to build trust
  • The resilience to keep going through randomness

Great systems don’t just win — they survive variance long enough to win big.


Next: σ assumes the bell curve. Real returns are skewed and fat-tailed. The next lesson — Skewness & Kurtosis — measures exactly how σ misleads you, and gives you the two extra moments every quant looks at before sizing a trade.