Learn › Glossary › Expectancy

Expectancy

The average profit or loss per trade: (win rate × average win) − (loss rate × average loss). Positive expectancy is what makes a strategy viable; turnover then scales it into returns. Small positive expectancies are fragile — costs and slippage eat them first.

Expectancy is the average profit or loss per trade. You get it from the win rate, the average win, the loss rate and the average loss: win rate times average win, minus loss rate times average loss. A strategy with positive expectancy makes money on the average trade. A strategy with negative expectancy loses money on the average trade, however good any single month looked.

The measure matters because it joins two numbers that readers usually look at one at a time. The win rate says how often a trade works. The average win and average loss say how much each outcome is worth. Expectancy puts them in one figure per trade. A system that wins six trades out of ten, with winners of $2 and losers of $3, breaks even. A system that wins four out of ten with winners of $6 and losers of $2 makes money. The second one loses more often and still has the better expectancy.

This page defines the term, shows how it behaves across the 12 strategy templates on DeployQuant, and uses the measured market data for SPY, QQQ, TLT, TQQQ, IWM and UVXY to show why expectancy is a property of a rule on a particular asset and not a fixed number. All of it comes from one backtest window, 2021-01-04 to 2026-10-02, a span of 5.74 years. The headline runs charge no fees or slippage, and that matters here, because slippage is the first thing a thin expectancy loses to.

The page does not give an expectancy figure for each template. The trade-level data that would produce one sits on the individual strategy pages, which list every trade. What the data on this page can show is the other half of the story: how many trades each rule makes, how often each rule beat holding, and what the underlying funds did in the window.

How the formula works

The formula has four inputs and one subtraction. Take every closed trade. Split them into winners and losers. The win rate is the share of winners and the loss rate is the share of losers, so the two add to the whole. Average win is the mean gain of the winners. Average loss is the mean loss of the losers, written as a positive size. Expectancy is the win rate times the average win, minus the loss rate times the average loss.

The result is in the units you started with. Measured in dollars it is a dollar amount per trade. Measured as a percentage of position size it is a percentage per trade. The percentage form is easier to compare across assets, because a fund that trades at $20 and a fund that trades at $400 have the same percentage expectancy if their trades return the same fraction of the position.

A few properties follow directly from the formula.

The last point is the one that most often misleads. Expectancy is an average over all trades, and an average hides the order in which the trades arrived. A strategy can have a positive expectancy and still sit in a deep drawdown for years, as the funds below show.

Expectancy times the number of trades

Expectancy is per trade. What reaches the account is expectancy multiplied by how many trades the rule makes, and by how much capital each trade uses. A small positive edge on a rule that trades often can add up to more than a large edge on a rule that trades twice in six years.

The 12 templates on DeployQuant show the spread in trade count. These are medians across the 59 funds in the test universe. The golden cross made a median of 3 round trips. The dip buyer made a median of 2. The trend plus trailing stop made 4, the momentum breakout 6, and the 3-month momentum 12. At the other end, the RSI(2) snapback made a median of 166 round trips, the weekly 7% target 106 and the monthly cycle 69.

With 2 or 3 trades in 5.74 years, the expectancy of a rule is measured from almost nothing. One trade more or less changes the average a great deal, and the number says little about what the next trade will do. With 166 trades, the average rests on a larger sample, and a stable positive figure means more. Sample size is the first check on any expectancy number.

Frequency also exposes the rule to costs. A rule that trades 166 times pays the cost on every buy and every sell. Its expectancy has to be large enough to cover that. A rule that trades 3 times can ignore a few basis points. The cost runs on every strategy page add 5 and 10 basis points per fill so a reader can see how much of the edge survives.

The answer on how often a strategy should trade works through the same trade-off from the side of frequency.

What the 12 templates show about expectancy

Median results by template give a rough view of which rules turned their trades into returns across the whole universe. The table of medians on the strategy hub pages lists each one. Here is how they ordered, with the median CAGR, the median maximum drawdown and the count of funds out of 59 where the rule beat holding.

The weekly 7% target had the highest median CAGR at 6.61%, with a median drawdown of 26.26%, and beat buy-and-hold on 34 funds. The monthly cycle came next at 5.46% with a 36.63% median drawdown, and beat holding on 14. The RSI(2) snapback had a median CAGR of 4.74%, the lowest median drawdown of the group at 17.47%, and beat holding on 34 funds. The RSI mean reversion rule had 2.98% and 24.63%, and beat holding on 25.

The trend rules sat lower. The EMA 12/26 trend had 2.76% and 22.87% with 22 beats. The trend plus trailing stop had 2.61% and 31.15% with 20. The SMA 10/50 trend had 2.12% and 23.02% with 21, the golden cross 2.05% and 21.84% with 27, and the 200-day regime filter 1.84% and 22.16% with 26. The dip buyer had 1.33% and 26.19% with 22. The momentum breakout and the 3-month momentum both had a median CAGR of 0%, with drawdowns of 20.1% and 26.23%.

Two readings come out of this. First, the two highest medians belong to rules that trade often, which fits the idea that a modest edge per trade, repeated many times, is what shows up in the CAGR. Second, a high beat count and a high CAGR do not always go together. The golden cross beat holding on 27 funds with a median CAGR of 2.05%, while the monthly cycle had the second highest CAGR and beat holding on only 14. Beating holding depends on what holding did on that fund. On a fund that fell, a rule that sat in cash beat it with an expectancy near zero.

These are medians of whole-strategy results across 59 funds. They are not per-trade expectancies, and a median hides the funds where a rule did far better or far worse.

Why the asset sets the expectancy

The same rule has a different expectancy on a different fund, because the fund decides how large the average winner and the average loser are. The market data for six funds shows how much the starting conditions vary.

SPY returned 125.29% over 1,444 sessions, a CAGR of 15.2% with annualized volatility of 16.41%. It rose on 54.4% of days, and the average up day was 0.74% against an average down day of -0.74%. A symmetrical up and down day is the setting where win rate carries the most weight, since a win and a loss are about the same size. Its maximum drawdown was 24.51%, from 2022-01-03 to 2022-10-12, and the peak was regained on 2023-12-13.

QQQ returned 151.07% with a CAGR of 17.39% and volatility of 22.39%. Up days were 54.82% of sessions, averaging 1.01% against -1.06% on down days. IWM was weaker, with a total return of 55.8%, a CAGR of 8.03% and volatility of 22.35%, and its average up day was 1.09% against -1.08% on down days.

TLT shows what a negative drift does. It lost 40.49% in the window, a CAGR of -8.64%, and rose on only 49% of days, with an average up day of 0.74% and an average down day of -0.77%. Its maximum drawdown was 44.06% from 2021-01-04 and it had not recovered by 2026-10-02. A long-only rule on TLT starts with a headwind: fewer winning days, and slightly larger losing days. An expectancy that is positive on SPY can be negative on TLT with the same rules.

TQQQ and UVXY sit at the extremes. TQQQ returned 291.92% with volatility of 67.11% and an average up day of 3.01% against -3.22% on down days. Each trade there is large in both directions, so expectancy per trade is dominated by the size of the swings and the stop or target that cuts them off. UVXY lost 99.94% in the window, a CAGR of -72.83%, with an average up day of 5.15% and an average down day of -4.02%, and it rose on only 40.26% of days. A long-only trade on UVXY begins with a losing majority of days and a long decay. Positive expectancy there would need very short holds or a short position, and the test here is long-only.

The daily range gives a sense of the scale. The average intraday range was 1.15% on SPY, 1.58% on QQQ, 1.75% on IWM, 0.94% on TLT, 4.74% on TQQQ and 7.03% on UVXY. A rule with a fixed percentage target, like a +7% weekly target, has a very different chance of hitting that target on a fund with a 1% daily range than on one with a 5% range. That changes the win rate, and through it the expectancy.

Mean reversion and measured forward returns

Expectancy can also be estimated before any rule exists, by looking at what happened after a signal. The facts for each fund record how often RSI(14) fell below 30 and what the median return was over the next 5 and 20 days. Each is compared with the median over all days.

On SPY, RSI(14) was below 30 on 18 sessions. The median gain over the next 5 days was 3.74% and over 20 days 2.86%, against baselines of 0.42% and 1.73%. On QQQ the 15 oversold sessions were followed by medians of 3.69% and 1.42%, against 0.56% and 1.74%. On IWM, 33 sessions were followed by 1.78% and 0.22%, against 0.18% and 0.82%.

For those three funds the 5-day median after an oversold reading was higher than the baseline, which is the raw material for a positive per-trade expectancy in a mean-reversion rule such as the RSI mean reversion. The 20-day median did not follow. On QQQ it was 1.42% against a baseline of 1.74%, and on IWM 0.22% against 0.82%. A rule that waits for RSI to climb above 70 holds for longer than 5 days, and the longer window did not show the same edge on those two funds.

TLT shows how a signal can fail. RSI(14) was below 30 on 61 sessions. The median 5-day return afterwards was 0.02% against a baseline of -0.14%, and the median 20-day return was -1.63% against -0.6%. The oversold reading did not mark a bounce. A mean-reversion rule on TLT would have bought into a market that kept falling, and the expectancy of those trades would depend on the exit.

UVXY is the sharpest example. RSI(14) was below 30 on 116 sessions, and the median 20-day return was -5.82%. The baseline over all days was -11.36%. The signal did better than the baseline, and both were negative. Relative improvement over baseline is not the same as positive expectancy. A long position still lost money after the signal.

TQQQ had 18 oversold sessions, with a median 5-day gain of 10.3% and a median 20-day gain of 6.9%, against baselines of 1.24% and 3.62%. The sample is small. Eighteen sessions out of 1,444 cluster in a few episodes, so they are not 18 independent trades. Sample counts matter for the same reason they do in the trade list: a handful of correlated events overstates how much evidence there is.

The RSI(2) measure gives larger samples. RSI(2) was below 10 on 146 sessions for SPY, with a median 5-day return of 0.89% against a baseline of 0.42%, and on 165 for IWM with 0.55% against 0.18%. The RSI(2) snapback trades on this signal, which is why its median round trip count of 166 is the highest of the templates.

How expectancy goes wrong

A positive expectancy figure from a backtest is an estimate, and four things push it up artificially.

Costs. The headline backtests on this site run with no fees or slippage. Expectancy is measured per trade, and a cost is paid per trade, so a thin edge can disappear once costs are included. This is why each strategy page includes runs at 5 and 10 basis points per fill. A rule with 166 round trips feels that charge far more than a rule with 3.

Sample size. A rule with a median of 2 or 3 trades in the window has no stable expectancy. The dip buyer and the golden cross fall in that group on the typical fund. A single large winner can decide the whole sign.

Window. All results here come from one window of 5.74 years that includes the 2022 bear market. The calendar years show how different the sub-periods were: TQQQ returned 90.95% in 2021, -79.07% in 2022 and 198.32% in 2023. An expectancy computed on 2023 alone would look very different from one computed on 2022. The test does not cover earlier decades or other market regimes.

Fitting. Choosing the stop, the target or the indicator length that gives the best expectancy in the same data is a form of overfitting. The parameter variants on the strategy pages run a few alternative settings so a reader can see whether the result depends on one choice. They are a small test, and they do not prove a setting is right.

There is also the matter of what the average describes. Per-trade expectancy ignores the order of trades, the time spent in each, and the capital tied up. Two rules with the same expectancy can differ in how long they hold. A trade held for a few days and a trade held for a few months with the same percentage expectancy do not produce the same annual return. For that reason expectancy is read together with the number of trades, the holding period, the CAGR and the maximum drawdown, not by itself.

The buy-and-hold results show the same point from the other side. Holding has one trade, so its per-trade expectancy is just its total return. SPY held for the window gave $21,820.48 from $10,000, a CAGR of 14.56% and a maximum drawdown of 23.99%. TLT held ended at $6,106.38 with a drawdown of 42.77%. UVXY held ended at $215.70, with a drawdown of 98.42%. In each case the one trade had a very different expectancy.

Using expectancy on DeployQuant

On DeployQuant a strategy can be built from plain English, from blocks or in Python, then backtested on minute data in seconds. Each backtest reports the trades, the win rate, the average winner and the average loser, so the inputs to expectancy are visible for any strategy a user builds. Each decision is logged with the prices and indicator values the strategy saw, which lets a user check whether the losing trades share a cause.

A practical check is to run the same rule on several funds and compare the trade lists, as the strategy pages do. If the average winner and loser stay in a similar ratio across SPY, QQQ and IWM but change on TLT or UVXY, the rule's edge is tied to the behaviour of equity indexes. If the expectancy only appears on one fund, it is more likely a feature of that fund's window.

A second check is to change one parameter at a time and see how the result moves. A rule whose expectancy collapses when a threshold moves a little is fragile. A rule that changes slowly across a range of settings gives more confidence in the estimate, though still within one window.

Backtests are hypothetical, and expectancy measured on past trades does not predict the next trade. Paper trading on live data shows whether the live trades have the same average as the backtest. The results on this page are descriptions of a past window and not investment advice.

Frequently asked questions

What is expectancy in trading?

Expectancy is the average profit or loss per trade. It equals the win rate times the average win, minus the loss rate times the average loss. A positive number means the average trade made money in the sample.

Can a strategy with a low win rate have positive expectancy?

Yes. If the winners are large enough compared with the losers, the average trade is positive even when most trades lose. Trend rules such as the [golden cross](/learn/strategies/golden-cross/) tend to make few trades and depend on a small number of large winners.

How many trades are needed to trust an expectancy figure?

The data on this site gives a sense of the range. The median dip buyer made 2 round trips and the median RSI(2) snapback made 166 in 5.74 years. A figure from 2 trades is close to an anecdote, and a figure from 166 is a better estimate, though it still comes from one window.

How do costs change expectancy?

A cost is paid on every trade, so it comes straight off the average. The headline runs here charge nothing, and each strategy page adds runs at 5 and 10 basis points per fill. A rule that trades often loses more of its edge to costs than a rule that trades rarely.

Is expectancy the same as win rate?

No. The [win rate](/learn/glossary/win-rate/) is only the share of winning trades. Expectancy also uses the size of the average win and loss. A rule can win six trades out of ten and still lose money if the losers are larger than the winners.

Does positive expectancy mean a strategy beats buy-and-hold?

Not by itself. Over the 59 funds, the weekly 7% target beat holding on 34 and the monthly cycle on 14. Whether a rule beats holding depends on how many trades it makes, how much time it spends invested and what the fund did in the window.

Why does the same rule have different expectancy on different funds?

The fund sets the size of the typical winner and loser and how often a signal works. TLT rose on 49% of days and UVXY on 40.26%, against 54.4% for SPY. A long-only rule starts with a different edge on each.

Run a strategy that uses this yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Related terms

Win RateThe fraction of closed trades that ended profitable. Alone it says lit…SlippageThe difference between the price a strategy expected and the price it …

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.