ATMResearch
Join Overfit - free

StatOasis · by Ali Casey

Stop guessing. Start building.

Research, build, test, combine, deploy: the loop that turns trader confidence into conviction.

Get the best trading research in your inbox.

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.

Turn knowledge into process.|

Happy members

Is this you?

live trading beginsIn-sampletraders' backtestOut-of-sampletraders' realitypeaklive trading beginsIn-sampletraders' backtestOut-of-sampletraders' realityIn-sampletraders' backtestOut-of-sampletraders' realitylossgain
Illustrative: a clean backtest is a hypothesis, not proof.
  • 5,800+read OverFitnewsletter
  • 3,500+members inthe community
  • 23,800+subscriberson YouTube
  • 300+ATM studentsglobally
  • 440+videoson YouTube
  • 30+Q&A video sessionsin the community
  • 40+deep diveresearch articles
  • 5,800+read OverFitnewsletter
  • 3,500+members inthe community
  • 23,800+subscriberson YouTube
  • 300+ATM studentsglobally
  • 440+videoson YouTube
  • 30+Q&A video sessionsin the community
  • 40+deep diveresearch articles

The loop most traders skip three steps of.

Five stages, running as a loop - every live strategy feeds the next round of research. The red shortcut is the one most traders take instead.

Most traders follow this path and call it done.
1

Research

Start from a behavioral hypothesis, not a prediction.

2

Build

Turn the hypothesis into rules, not a curve fit.

3

Robustness test

Out-of-sample, walk-forward, across regimes the optimizer never saw.

4

Portfolio construction

Combine strategies that fail at different times.

5

Live deployment

Size it, monitor it, plan the drawdown before it comes.

Most traders follow this path and call it done.

  1. 1

    Research

    Start from a behavioral hypothesis, not a prediction.

  2. 2

    Build

    Turn the hypothesis into rules, not a curve fit.

    ↷ Most traders follow this path and call it done.

  3. 3

    Robustness test

    Out-of-sample, walk-forward, across regimes the optimizer never saw.

  4. 4

    Portfolio construction

    Combine strategies that fail at different times.

  5. 5

    Live deployment

    Size it, monitor it, plan the drawdown before it comes.

back to research

Can you survive a decade of real markets?

A decade of markets. Five decisions. About eight minutes. See how your instincts hold up against the regimes that broke real strategies, then see the trading personality your choices reveal.

Start: Survive the Decade

I'm Ali Casey.

I build systematic trading strategies and teach the workflow behind them. Not a content creator. A system builder who happens to teach.

More about me →
Portrait of Ali Casey

Happy Members

5.0
3.5K+

Algo trader since 2014

Here is how I can help you.

Overfit - the newsletter logoOverfit - the newsletter logo

Overfit - the newsletter

Skip the hype. Trust the data. One practical, evidence-driven takeaway per issue: strategy testing, portfolio construction, market structure, and the mechanics behind systematic trading - every claim with the backtest behind it. Publishing since 2024, formerly The AlgoTrader.

Learn more→
Algo Trading Masterclass logoAlgo Trading Masterclass logo

Algo Trading Masterclass

The complete build-a-system workflow, taught end to end: finding an edge, testing it honestly, assembling strategies into a portfolio, and putting it live - the same process behind every study I publish. Currently open as a waitlist.

Learn more→

Community

Where builders share strategies, code, and feedback. Get plugins, correlation book, indicators and more. Free to join today.

Learn more→

Digital Products

Everything you can download and use the same day: books, strategy packs, and tools - starting with 36 Ways to Buy the Dip, backtested mean-reversion entries for systematic dip-buying, every variant tested, every result shown. Listed on the products page with everything else StatOasis makes.

Learn more→
AlgoChef logoAlgoChef logo

AlgoChef

The validation layer I built for the step most traders skip: pressure-testing a strategy before it risks real money. Launched 2026.

Learn more→

Latest from StatOasis YouTube channel

Can I Break StrategyQuant's New AI? Build 145 Tested

Can I Break StrategyQuant's New AI? Build 145 Tested

Nov 23, 2026

Nasdaq Fell 5.5% Thursday. I Tested the Day After.

Nasdaq Fell 5.5% Thursday. I Tested the Day After.

Nov 9, 2026

Two Trading Indicators, One Identical Trade

Two Trading Indicators, One Identical Trade

Nov 2, 2026

Latest from StatOasis X channel

StatOasis card. Optimised on pure noise, median best, 9.2% a year. A backtest on data with no edge. 9.2% median best result from 384 variants on 3 years of shuffled, drift-free data.

This beginner's guide ran no backtest of its own. Every number in it is pulled by script from a study already published here: 10 result files, 5 studies. Nothing hand-typed. First up: 9.2% a year, the median best of 384 variants on edge-free data. https://statoasis.com/overfit/research/algorithmic-trading-for-beginners

Nov 27, 2026 · 57 impressions
Card headed Change one choice, the ranking moves. The same 37 entries ranked five defensible ways. Three stats: 13, in orange, places, the median entry's range, 2nd to 29th, Williams %R, best to worst, and 3 entries move five places or fewer. Subtext lists the five rankings: a fixed 4-day hold, each entry's own best hold, no drift adjustment, the last third of the data only, and ES futures, and says none of them is a mistake and they do not agree.

Rank 37 buy-the-dip entries five defensible ways and you get five different lists. The median entry moves 13 places. Williams %R ranks 2nd on one and 29th on another. A top rank depends on the choices behind it. Weigh what holds its place. https://statoasis.com/overfit/research/mean-reversion-buy-the-dip-ranked

Nov 25, 2026 · 78 impressions · 1 reaction
StatOasis card. Charge for the trades, Bollinger falls below holding. Four bars of MAR at 0.05 percent a side on SPY: Keltner Channels 0.230 and Casey Bands 0.228 picked out as the standouts, SPY buy and hold 0.156 set apart as the benchmark, and Bollinger Bands last at 0.116, played down. Bollinger's cell trades 1,169 times against 593 and 598. It keeps 59% of its profit at that cost, where they keep 80% and 79%.

I ran 116,640 backtests to settle Keltner Channels vs Bollinger Bands. One harness. Same markets, same rules, same parameter grid. The only thing allowed to change is the band. The pooled answer and the costed answer disagree.

Nov 24, 2026 · 77 impressions · 1 reaction

Latest from LinkedIn

StatOasis card. Optimised on pure noise, median best, 9.2% a year. A backtest on data with no edge. 9.2% median best result from 384 variants on 3 years of shuffled, drift-free data.

On data with no edge in it, the median best of 384 backtest variants still returned 9.2% a year. I built that data on purpose. Took an ordinary RSI strategy, shuffled the price series so no sequence survived, and stripped out the upward drift. On data like that a profitable rule cannot exist — not "is unlikely to exist", cannot. Then I optimised 384 variants on it, exactly the way a beginner would, and kept the best. Three years of history. Median best result: 9.2% a year. One run in twenty: 20.8%. Nothing was there. The search found 9.2% anyway, because searching hard enough through noise always turns something up. That is not an edge. That is arithmetic. Which makes 9.2% the most useful number a beginner can hold, because it is the line your own backtest has to clear before it means anything. A backtest is not good because it made money. It is good because it made money above what nothing makes. Stretch the same search to twenty years and it only manufactures 3.1%. That is the entire argument for long backtests in one number — they are harder to fake. Short backtest, many variants, spectacular result. That is not an edge. That is a search. The full guide has eight rules like this, each one measured rather than repeated: https://statoasis.com/overfit/research/algorithmic-trading-for-beginners

Nov 27, 2026
StatOasis card. A backtest on data with no edge still returned 9.2% a year. The 9.2% stands alone as the single large figure, the median best of 384 RSI variants optimised over three years of shuffled, drift-free bars. Three stats below: Sharpe 1.17 on the same zero-edge search, shown played down; 11.2% for the best of 5,000 rules mined on real SPY; 6.4% for the best of the same 5,000 mined on zero-edge data, marked as a different kind of number. A note reads that the real search beat the zero-edge search by 4.8% a year, and that difference is the size of the effect.

A backtest optimised on data with no edge in it still returned 9.2% a year. That is not a bug in the test. It is the test working correctly. 384 ordinary RSI variants, run over three years of shuffled, drift-free bars where an edge cannot exist by construction. The best of them came back at 9.2% a year with a Sharpe of 1.17. You would trade that. So would I. This is the number almost nobody computes, and it is the only one that makes a real backtest legible. Mining 5,000 rules on real SPY data found an 11.2% CAGR strategy. Mining the same 5,000 rules on zero-edge data found a 6.4% one. The edge is the 4.8% difference, not the 11.2% headline. The honest limit: a noise floor is specific to the search that produced it. Change the number of variants, the sample length or the family, and it moves. There is no universal figure to memorise, only a calculation to run. Stop asking whether a backtest is good. Ask what the same search would have produced on nothing. Full study, all eleven checks and the scorecard: https://statoasis.com/overfit/research/why-most-traders-fail-the-missing-piece-called-robustness-testing

Nov 25, 2026
StatOasis card. The number worth trading. The peak is what you overfit. 0.76 Best single cell (51 trades); 0.15 The plateau median; 36 Configurations in the plateau; 196 Median trades each. Across all 36, edge per trade stays between 0.09 and 0.45.

Most backtests sell you the single best variant. That's exactly the number you should trust least. In a 2,400-variant sweep of the z-score mean reversion strategy, the highest R-expectancy on SPY came from a slow 50-day lookback that traded barely 50 times. One lucky cell. Trade it, and you're trading an accident. The tradable answer is the opposite of a peak — it's a plateau. Pick the lookback that trades the most (10 days, a few hundred trades), then watch how the edge behaves as you slide the entry and exit around. It barely moves: R-expectancy holds between 0.17 and 0.23 across every threshold. Nothing falls off a cliff. That's the signature of a real edge rather than a curve-fit — you don't need the exact settings, because the whole neighbourhood works. The featured pick, the strong cell surrounded by strong cells: 10-day lookback, buy below z = -1, take profit above z = +0.5, 5-day stop. On SPY it made $86,038 across 522 trades, a 65.7% win rate, and an 11.4% max drawdown — about a fifth of what buy-and-hold made you suffer. Trade the plateau, not the peak. The peak is what you overfit; the plateau is what survives. Full study, both markets, and the stable-region map: https://statoasis.com/overfit/research/understanding-z-score-and-its-application-in-mean-reversion-strategies

Nov 24, 2026

What you won't find here.

No trade calls. No daily predictions. No PnL screenshots. This is for traders who want to understand how to build trading systems, how they behave in different market regimes, when they break, and why. If that's not you, there are plenty of other places, and no hard feelings.

What traders say.

rodolfo berrocal's photo

rodolfo berrocal

Hello, my name is Rodolfo Berrocal, I'm from Lima, Peru. I just stopped by to thank you for all the great work you do. I'm doing my best to understand your videos since I don't speak English very well, but I'm still learning a lot from you. I'm just getting started in the world of algorithmic trading, and it's going well for me. Thank you again, and blessings.

Tommy's photo

Tommy

Dear Ali, your attention to detail - and people - was always bar none. No question, you are our Financial Guru, while also a loving/caring figure so you deserve our utmost respect! Thank you for all your shared experience and everyday hard work for our not-only-financial wellfare! :)

Chad's photo

Chad

I’ve been in the program since Feb, have found a way to create and find a lot of pretty good algos, but magic sauce happens when we combine the uncorrelated “pretty goods”. Happy to report since Feb, up 28pct and am now in maintenance mode working on the process instead of reflexively reacting to every draw down that I think is the end of the world. Biggest learnings. Test for worst case portfolio drawdown, size accordingly. Trade top strategies within that portfolio, cycle out worst performers every few months. Seems to be a winning recipe and am so excited to think about the next chapter in this journey I’ve been on for many many moons 😃

Read more →

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