ATMResearch
Join Overfit - free
Overfit cover card on a dark gradient. Kicker 'Skill or luck?', headline 'Luck mined a 6.4% a year backtest. Out of sample: -1.2%.' with 6.4% in orange, subhead 'Trading is a skill: telling an edge from a fluke.', corner badge '5,000 rules · SPY'.
  1. Overfit/
  2. Research/
  3. Is Trading a Skill or Luck? What 5,000 Random Rules and a Seeded Coin Flip Say

February 28, 2025

Is Trading a Skill or Luck? What 5,000 Random Rules and a Seeded Coin Flip Say

Share

7 min read

Written by Ali Casey, founder of StatOasis and AlgoChef, creator of the Algo Trading Masterclass (ATM), with over 10 years of experience building systematic trading tools - building algorithmic strategies, testing ideas with data, and teaching traders how to build structured, portfolio-based trading workflows.

Published February 28, 2025 · Updated October 28, 2026 · Method

← Back to Research
Table of contents▾
  • TL;DR: the answer box
  • Is trading a skill or luck?
  • How I answered it
  • What does luck look like in a backtest?
  • Why does a short track record fool you?
  • Is there real skill at all?
  • Can a coin flip match a trader?
  • What does the skill actually consist of?
  • Where the usual answers are right, and where they are wrong
  • Is trading gambling?
  • The honest limits
  • What this means for you
  • Reference: the coin flip test in full
  • Methodology
  • FAQs

The short version

Yes, trading is a skill. Just not the one people mean by talent. Luck can build a backtest that looks like skill: on 10 datasets with no edge in them, the median best of 5,000 random rules still showed 6.4% a year. The skill is testing whether a result beats what luck makes. On real SPY data, the same search beat luck by 4.8% a year.

TL;DR: the answer box

  • Trading is a skill, and the part you can measure is telling an edge from luck. Spotting patterns is the easy part. Luck finds patterns too.
  • Luck backtests well. 5,000 random rules, mined on 10 datasets with no edge: the median best made 6.4% a year at a Sharpe ratio of 0.65. In the next period, those winners made a median -1.2%.
  • Real data found more than luck did. On real SPY, the best rule showed 11.2% a year. The real search beat the luck search by 4.8% a year. That gap is the real effect.
  • Win rate did not separate the rule from a coin flip. Random entries won 61.25% of trades. A public RSI(2) rule won 60.34%. On return over worst drawdown, the rule led: 0.0767 against 0.0494.
  • The test is a checklist, not a gift. Of 5,472 strategy variants, 63.7% made money in the final quarter of their history. Of the variants that passed at least 10 of 11 checks, 98.0% made money there. Beating buy and hold stayed rare: 20.7% of those, against 27.8% of all variants.

Is trading a skill or luck?

Most people asking this want to know if great traders are born. A feel for the market. A gift for reading charts.

Here is the problem with that picture. A gift for spotting patterns is exactly what luck rewards. Mine 5,000 rules on data with no edge, and the median best still shows 6.4% a year. So never stop at "did it work?" Ask instead: "would it have worked on data where nothing can work?"

I learned that the expensive way. I entered the markets in 1998, at the dot-com peak. Over the next years I lost roughly $270K to overfitting and leverage. An overfit system is luck dressed up as skill. I rebuilt on the 2014 Turtle Traders lesson: simple systems plus proper risk management.

So my answer is flat. Trading is a skill, and the part you can test is how much of a result is luck.

Think of a coin flip. If you cannot say how your trades differ from a coin deciding when to buy, you do not know yet if you have a skill. That coin runs through the rest of this page.

How I answered it

I ran no new backtest for this article, so no execution rule applies to it. Every measured number comes from two studies already on this site, and you can open both:

  • Robustness testing. 5,472 strategy variants across 8 markets and 3 strategy families. Plus 5,000 random rules mined on SPY, then mined again on 10 datasets with no edge. It reads each signal at the close and buys the next open, long only, one unit.
  • AI strategy validation. SPY daily data from 1993 to 2026, 8,398 bars, with a seeded coin flip on the last 10 years.

A few plain words first:

  • Backtest: running a rule on past prices to see what it would have made.
  • In sample: the history a rule was picked on. Out of sample: history held back to test it afterwards.
  • Sharpe ratio: return divided by how bumpy the ride was. Higher looks smoother and better.
  • Drawdown: the biggest drop from a high point.
  • Buy and hold: buying SPY and doing nothing else. Every rule here has to beat it.
  • Median: the middle value, or the typical result.

No-edge data is the first tool. It is how you measure luck.

Shuffle real bars and take out the drift. Whatever a search finds on the result is luck.

The seeded coin flip is the second tool. It buys on random days, as often as the strategies did, and holds each trade for 5 bars. It is averaged over 10 seeds. Seeded means it gives the same answer every time you run it.

What does luck look like in a backtest?

Better than you think.

The robustness study took 221 ordinary trading conditions, such as oscillator levels, moving averages and breakouts. Seven of them were meaningless on purpose: calendar conditions with no reason to work. It mixed them into 5,000 random rules of one to three conditions each. Then it mined them twice. Once on real SPY. Once on each of the 10 no-edge datasets.

Luck's best rules looked tradable in the backtest. Afterwards their median was -1.2%.

Look at the orange bars. 6.4% a year at a Sharpe ratio of 0.65, on data where the true edge is exactly zero. The best single no-edge result reached 10.4% a year. If a stranger sold you that backtest, you could not tell it from skill by looking at it.

Then those winners met the next period. Median: -1.2%.

More tries make luck look better too. On no-edge data, testing 1 RSI rule gave a median Sharpe of 0.00. Testing 384 gave 0.36. Nothing got smarter. There were just more lottery tickets. Harvey and Liu make the same point in Backtesting, in the Journal of Portfolio Management: the more strategies you test, the bigger the discount a backtest's Sharpe ratio needs.

Why does a short track record fool you?

Because luck has an easier job over a short stretch.

Same search, same no-edge data. The shorter the history, the better the best fake looked.

On 3 years of no-edge data, testing 384 RSI rules found a median best of 9.2% a year, at a Sharpe of 1.17. At the luckiest 1 in 20, ranked on each measure on its own, the best rule reached 20.8% a year, and the best Sharpe reached 1.78. On 20 years, the same search found only 3.1% at 0.46.

A trader with a great few years looks gifted. So does a 3-year backtest. Ask both the same question: what would luck have made over the same length, with the same number of tries?

Is there real skill at all?

Yes. On real SPY, the search found more than luck did, and less than its backtest showed.

The best rule on real SPY was simple: buy when RSI(2) drops below 15, sell 5 days later. RSI(2) is the 2-day Relative Strength Index, a short-term gauge of how oversold a market is. In sample it made 11.2% a year at a Sharpe of 0.79, over 339 trades. Out of sample it made 9.6%.

The real search beat the luck search by 4.8% a year and 0.13 of Sharpe. That difference, not the headline backtest, is the size of the real effect.

There is a second sign. Watch the junk rules.

Luck's best rules still carried junk. On real data, none of the top 25 rules carried junk.

Junk conditions appeared in 7.2% of the rule pool. On no-edge data, the median top 25 still held 4.0% junk. On real SPY: 0.0%. Not one of the top 25 real rules used a junk condition.

Now the humbling part.

Most rules failed to make money. Almost none beat simply holding SPY.

Of all 5,000 rules, 41.5% made money in sample. Of those, 84.5% still made money out of sample. But only 3.9% beat buy and hold in sample. Buy and hold made 6.9% a year in sample and 13.4% out of sample.

Each dot is one rule. Find the orange ones.

10 rules out of 5,000 beat buy and hold in both periods. That is 0.2%.

A real effect showed up. Beating the market with it was rare.

Can a coin flip match a trader?

On win rate, against one public rule, yes. In one SPY window, random entries won 61.25% of trades and a public RSI(2) rule won 60.34%. On return over worst drawdown, the rule led.

The AI validation study ran a public RSI(2) rule on SPY's last 10 years, June 2016 to June 2026, history it had held back. Next to it ran the seeded coin flip.

The coin won a slightly higher share of its trades than the rule did.

The coin won 61.25% of its trades. The rule won 60.34%. Rank them by win rate alone and the coin sits on top.

So never judge a rule by win rate alone. Pair it with a risk number.

The rule earned more for each unit of pain than the coin. Buy and hold made the most money.

Return over worst drawdown is the yearly return divided by the worst drop. Higher means more reward for the pain. The rule scored 0.0767. The coin scored 0.0494.

That is one window and one market. The coin is an average of 10 seeds, and the study gives no spread around it, so this is a measured gap, not a proven edge. The dollars are not a fair match either: the rule took 116 trades and the coin 93.2.

And buy and hold made $87,835.34 on $35,000. In the same study, 0 of 2,068 optimized strategies beat it out of sample.

Research on real traders points the same way. Barber, Lee, Liu and Odean studied day traders in The cross-section of speculator skill. They found a small group whose strong results kept going, and very few who profited reliably after fees. Fama and French did the same for fund managers in Luck versus Skill in the Cross-Section of Mutual Fund Returns. They compared real funds with simulated luck and found few that earned enough to cover their costs.

The comparison with chance comes first. Until a result has been measured against chance, it is still a story.

What does the skill actually consist of?

A process you can write down. The robustness study ran 11 checks on the first 75% of each market's history. Then it scored every variant on the untouched final 25%.

Read down the first column: survival climbs. Read down the second: beating the index does not.

Across all 5,472 variants, 63.7% made money in the final quarter. 27.8% beat buy and hold there.

Two arrows point up. The one that matters most to many traders points down.

Passing at least 10 of the 11 checks is rare: 8.3% of variants did it. Of those variants, 98.0% made money in the untouched final quarter. Their median return was 7.8% a year, against 1.7% for all variants.

The strongest single check was the plainest one: still profitable in a slice of history held back for checking. Variants that passed it stayed profitable +67 points more often than those that failed. Next came profitable over the whole development period, +64 points, and still profitable after costs of 5 basis points a side, +60 points.

But the checks did not help with beating the market. 20.7% of the best variants beat buy and hold, against a 27.8% base rate. Staying profitable and beating the index are two different problems. The second is much harder.

The study's full set of seven filters let through only a thin orange row.

Run the study's full gauntlet of seven filters and 262 of 5,472 variants survive. That is 4.8%.

Where the usual answers are right, and where they are wrong

Right: the method can be written down. Every check above is a rule you can run. None of them needs a gift.

Right: the comparison is a test, not a feeling. Mining the same way on no-edge data is how you see that luck's winners made a median -1.2% afterwards, while the best real rule made 9.6%.

Wrong: "anyone can succeed." Nothing here measures people, so nothing here backs that promise. It does show how rarely a strategy beat the market: only 27.8% of variants beat buy and hold in the final quarter.

Wrong: quoting a failure rate for traders. You will see one on many pages. I have no test behind any of those numbers, so I am not repeating one.

Is trading gambling?

It is gambling when you cannot say how your result differs from chance. A coin flip and a rule had nearly the same win rate. Only measuring them side by side showed the rule ahead on return over drawdown, in one window.

My working line: you are trading once you have measured your rule against chance before the money goes in. Skip that, and the market runs the test for you, with your money.

The four validation checks on one card. Each step comes with the number that earned its place.

If you want a structured way to run these tests on your own strategies, it is what the Algo Trading Masterclass teaches.

The honest limits

  • These studies test rules, not people. They show what a trader's skill has to beat. They do not measure any one trader.
  • Long only, one unit, no leverage, no shorting, no stops, no position sizing. Adding any of those changes the numbers.
  • No-edge data is a floor, not a model of markets. It shows how good a backtest can look by luck alone. It does not say real markets are random.
  • The coin flip is one window and one market: SPY, June 2016 to June 2026, averaged over 10 seeds, with no stated spread.
  • These markets, these dates. Every robustness result belongs to its 8 markets and their date ranges.

What this means for you

  1. Stop asking if you are talented. Ask what luck would have made. On no-edge data, the median best of 5,000 rules backtested at 6.4% a year.
  2. Distrust short records and long searches. 3 years and 384 tries gave luck a median Sharpe of 1.17.
  3. Pair win rate with a risk number. The coin won 61.25% of its trades, more than the rule. Return over drawdown put the rule ahead.
  4. Hold data back and test on it. Variants still profitable in the held-back slice stayed profitable in the final quarter +67 points more often than those that were not. That was the strongest single check.
  5. Always compare with buy and hold. 0 of 2,068 optimized strategies beat it out of sample.

Reference: the coin flip test in full

SPY, June 2016 to June 2026Net profitReturn over worst drawdownWin rateTrades
Public RSI(2) rule$22,568.940.076760.34%116
Random entries (mean of 10 seeds)$8,201.110.049461.25%93.2
Buy and hold$87,835.341

Starting capital $35,000, no compounding. Random entries use the same 5-bar hold as the rule.

Talent finds patterns. Skill checks them against the coin.

If you want the next study like this before anyone else, it goes out in the Overfit newsletter. StatOasis.com/Overfit

Methodology: no new backtest, so no execution rule applies to this article. Every measured number is quoted from two published StatOasis studies: Robustness testing (5,472 strategy variants on 8 markets, 5,000 random rules mined on SPY and on 10 zero-edge datasets) and AI strategy validation (SPY 1993 to 2026, out of sample from 2016, with a seeded random-entry control averaged over 10 seeds). The robustness study reads signals at the close and enters at the next open, long only, one unit. The AI study states its rules on its own page. The studies measure rules, not traders. Past results are not a promise about the future. Research, not investment advice.

Methodology

Data source
No new backtest. Every measured number is quoted from two published studies on this site: robustness-testing (issue 122), 5,472 strategy variants on 8 markets plus 5,000 randomly generated rules mined on SPY and on 10 zero-edge datasets; and ai-strategy-validation (issue 140), SPY daily data from 1993-02-02 to 2026-06-12, 8,398 bars.
Date range
Inherited from the sources. ai-strategy-validation tests out of sample from 2016-06-06 to 2026-06-12 (2,520 bars). robustness-testing splits each market at the first 70% of its bars for the mining run, and measures its checks on the first 75% and scores them on the final 25%.
Entry / exit rules
Inherited from the sources. robustness-testing reads signals at the close and enters at the next open, long only, one unit; ai-strategy-validation states its rules on its own page. No backtest was run for this article, so no execution rule applies to it.
Sizing
Inherited: one unit, no leverage, frictionless unless a cost is stated (robustness-testing); $35,000 starting capital, no compounding (ai-strategy-validation).
Overlap mode
Inherited from the sources: one position at a time.
Look-ahead
Inherited from the sources. robustness-testing reads signals at the close and enters at the next open, so no signal uses a price that had not yet printed; ai-strategy-validation declares its own timing on its page.
Minimum sample
Inherited from the sources. ai-strategy-validation counted a variant as eligible only with at least 30 in-sample trades (2,068 of 2,304).
Buy-and-hold benchmark
Inherited from the sources: buy and hold SPY made 13.4% a year over the mining run's out-of-sample window (robustness-testing) and $87,835.34 on a $35,000 basis over 2016-06-06 to 2026-06-12 (ai-strategy-validation).
Random control
Inherited from ai-strategy-validation: entries placed at random in the out-of-sample window, frequency-matched to the median out-of-sample trade count of the eligible variants, same 5-bar hold, averaged over 10 seeds from a fixed base seed. robustness-testing adds a second control: the same searches run on zero-edge data.
Parameter scopeInherited from the source studies

This article runs no backtest of its own. Every declaration here belongs to the studies it cites, and is stated as they stated it.

This article searched nothing and tuned nothing. Every parameter-space claim comes from the two source studies, which swept their grids and report the spread, including how good the best variant looks on data with no edge.

Evidenced by

This article reports no backtest of its own. Every figure in it comes from these studies, each of which can be read and checked on its own terms.

  • —Robustness Testing: Why Most Traders Fail, and What 36,252 Backtests Say Actually Works
  • —Can AI Build a Profitable Trading Strategy? I Backtested 5 LLM-Generated Rules on SPY to Find Out

Run to v1.1 of the StatOasis research standard - the rules every study here has to meet before it is published. The version is the study's own: a standard that gained a rule later never reaches back and claims this one met it.

Historical backtest results are not a guarantee of future returns. This content is for educational purposes only and is not investment advice. Hypothetical performance disclosure (CFTC Rule 4.41).

Frequently asked questions

Is trading a skill or luck?⌄

Both show up in results. The skill is telling them apart. On 10 datasets built to have no edge, the median best of 5,000 random rules still backtested at 6.4% a year, with a Sharpe ratio of 0.65. In the next period those winners made a median -1.2%. On real SPY data the same search beat that luck line by 4.8% a year. Luck can build a great backtest. Its typical winner lost money afterwards.

Is day trading a skill?⌄

The tests on this page use daily bars, not intraday ones, so they do not measure day trading. The same two comparisons can be run on a day-trading rule: against random entries, and against the same search on data with no edge. This page has not run them. A peer-reviewed study of day traders by Barber, Lee, Liu and Odean found a small group whose skill lasted, and very few who profited reliably after fees.

Is trading gambling?⌄

It is gambling when you cannot say how your result differs from chance. In the AI validation study, a public RSI(2) rule and random entries won almost the same share of trades, 60.34% against 61.25%. But the rule's return over its worst drawdown was 0.0767, against 0.0494 for the random entries. Measure that gap before you risk money.

Can anyone learn to trade profitably?⌄

The process is a set of written checks, and the same checks apply to everyone. Nothing here measures who learns them, and profit is not promised. Of 5,472 strategy variants, 63.7% made money in the final quarter of their history, but only 27.8% beat buying and holding. Of the variants that passed at least 10 of 11 checks, 98.0% made money there. Only 20.7% of those beat buy and hold.

How do you tell skill from luck in a backtest?⌄

Run the same search on data where no edge can exist, and compare. On 3 years of no-edge data, testing 384 RSI rules found a median best of 9.2% a year at a Sharpe ratio of 1.17. On 20 years it found 3.1% at 0.46. A real result has to clear that bar, over the same length and the same number of tries.

Is a high win rate a sign of skill?⌄

Not on its own. Out of sample on SPY, from June 2016 to June 2026, random entries won 61.25% of their trades and a public RSI(2) rule won 60.34%. The rule led on return over worst drawdown, 0.0767 against 0.0494. It did not lead on how often it won.

Is trading a high income skill?⌄

The studies behind this page measure rules, not incomes, so they cannot answer that. They do show how rare it is to beat the market: of 5,000 random rules mined on SPY, only 0.2%, 10 rules, beat buy and hold both in the backtest and in the years after it.

← Back to Research

Table of contents

  • TL;DR: the answer box
  • Is trading a skill or luck?
  • How I answered it
  • What does luck look like in a backtest?
  • Why does a short track record fool you?
  • Is there real skill at all?
  • Can a coin flip match a trader?
  • What does the skill actually consist of?
  • Where the usual answers are right, and where they are wrong
  • Is trading gambling?
  • The honest limits
  • What this means for you
  • Reference: the coin flip test in full
  • Methodology
  • FAQs

Overfit - the newsletter

Skip the hype. Trust the data.One practical takeaway per issue.

Running a quick security check before this can be sent.

Delivered +2 times a month - when the work is ready, not on a calendar.I'll never sell your address.Unsubscribe in one click, any time.

Related Articles

Back to all research
#128

The #1 Lesson Traders Learn Too Late: No Single System Will Save You

May 9, 2025 · 4 min read

A real trader's loss reveals the #1 lesson in algo trading: no system is bulletproof.

Read more→
#147

Mean Reversion: 40 Ways to Buy the Dip, and the 16 That Held Up

Nov 5, 2026 · 7 min read

Forty buy-the-dip entries tested on 33.5 years of SPY, 17,385 trades, every one measured against what entering on any day and holding as long paid. 35 of 37 rankable entries beat it. Then the window was cut into three periods: 16 held their edge, 11 decayed to under half, and only 4 of the top 10 held up.

Read more→

Overfit - the newsletter

Skip the hype. Trust the data.

One practical, evidence-driven takeaway per issue - strategy testing, portfolio construction, market structure, trading psychology, tactical asset allocation.

Running a quick security check before this can be sent.

Delivered +2 times a month - when the work is ready, not on a calendar.I'll never sell your address.Unsubscribe in one click, any time.

StatOasis is calm, evidence-based algorithmic-trading education, founded by Ali Casey. Ali builds systematic trading strategies and teaches the workflow behind them: research, build, test, combine, deploy. He writes the Overfit newsletter, published since 2024, and runs the Algo Trading Masterclass.

Socials

  • X ↗
  • YouTube ↗
  • Instagram ↗
  • LinkedIn ↗
  • GitHub ↗
  • Muck Rack ↗
  • LinkedIn SO ↗
  • GitHub SO ↗

Products

  • Overfit - the newsletter
  • Algo Trading Masterclass
  • StatOasis Community
  • 36 Ways to Buy the Dip
  • AlgoChef ↗

Reading & tools

  • Research
  • Methodology
  • Survive the Decade
  • Wall of Love

StatOasis

  • About Ali Casey
  • Contact
© 2026 StatOasis. Calm, evidence-based.
PrivacyTermsHypothetical resultsCalifornia