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

I Fixed the Rainbow Moving Average. It Got Noisier

I Fixed the Rainbow Moving Average. It Got Noisier

Oct 5, 2026

70,000 Monte Carlo Sims Said Yes. Walk-Forward Matrix Said No.

70,000 Monte Carlo Sims Said Yes. Walk-Forward Matrix Said No.

Sep 14, 2026

Almost Everyone Draws The NR4 Pattern Wrong

Almost Everyone Draws The NR4 Pattern Wrong

Aug 31, 2026

Latest from StatOasis X channel

StatOasis card. The filter, swept 139 ways. Best cell on one market. Worse than nothing on five. 1 of 139 Rank of the published pair on ES; 137 of 139 Its rank on IWM; 6 of 6 Markets where the median filter loses; 0 of 139 Pairs beating no filter on DIA.

A volume filter, retested against the other period pairs on the same rule: Rank 1 of 139 on S&P futures. Rank 137 of 139 on Russell. On 5 of 6 markets, no filter at all beat it. Sweep your settings before you trust them. https://statoasis.com/overfit/research/a-simple-weekly-mean-reversion-strategy-for-index-futures

Oct 16, 2026 · 55 impressions · 1 reaction
StatOasis card. Best cell on one market, worse than nothing on five. The volume filter swept 139 ways, in four tiles: the published pair ranks 1 of 139 on ES, set apart as a different kind of number, then 137 of 139 on IWM, the median filter loses on 6 of 6 markets, and 0 of 139 pairs beat leaving the filter off on DIA.

A volume filter that doubles your risk-adjusted return is easy to find. One that survives a second market is not. I tested a weekly mean reversion rule 22,680 ways on six markets, then swept the filter instead of trusting it. 🧵

Oct 15, 2026 · 83 impressions · 5 reactions
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.

Is the z-score strategy useless? No — the tradable piece is just smaller than the pitch. Not the lucky best variant. The stable region: 10-day lookback, buy z<-1, exit z>+0.5. 65.7% win, 11.4% max drawdown — about a fifth of buy-and-hold's. Full study: https://statoasis.com/overfit/research/understanding-z-score-and-its-application-in-mean-reversion-strategies

Oct 14, 2026 · 83 impressions · 1 reaction

Latest from LinkedIn

StatOasis card. 5-day drift climbs with gap size . Size · price % lens. Bar chart of average 5-day forward drift by gap size: <0.25% +0.19% (n=3,839), 0.25-0.5% +0.12% (n=2,233) and 0.5-1% +0.24% (n=1,582) shown muted; 1-2% +0.34% (n=594) and >2% +0.734% (n=149) picked out as the standouts.

2,160 backtested variants. 8,397 gap events. Three ways to measure the same gap. The design, because the design is the point: Every SPY gap since 1993 measured for forward drift at 0, 1, 2, 3, 5, 10, and 20 days — overlaps kept, because this is measurement, not trading. Then the same gaps bucketed three ways: price %, raw points, and ATR % (volatility-relative). Then a flat-only backtest across the full grid, long and short, $35,000 per test, frictionless. The three lenses don't agree by accident. Price % shows a clean climb above the second bucket. Raw points hide the edge in an era-mixing dead zone. ATR % concentrates the next-day drift above 1 ATR: +0.200% against +0.039% to +0.055% below it. Over five days it does not, and the 0.5 to 0.75 ATR bucket leads at +0.345%. Same data, and the yardstick decides what you see. Every number generated by one deterministic run. Methodology and full results: https://statoasis.com/overfit/research/sp500-opening-gaps

Oct 16, 2026
StatOasis card. Up or down, gaps drift up . Direction & side. +0.194% Down-gap · 5-day; +0.206% Up-gap · 5-day. Every top-ranked variant is long and the median short variant loses, but neither side beats random entries.

I expected down-gaps to be the tradable ones. The data disagreed. The folklore says a down-gap is fear you fade and an up-gap is greed you sell. Across 8,397 SPY gaps, both drift up over the next week, and by almost the same amount — down +0.194%, up +0.206%. The side you gapped is not the edge. Every top-ranked variant in the 2,160-strategy grid is long. The median short variant fights SPY's structural upward drift and loses: median CAR/MaxDD is +0.010 to +0.020 for long variants and -0.020 for short. Long still sits below a random-entry control's 0.036, so that is a ranking of the two sides, not an edge. Long beats short. Neither beats random. If you short a down-gap because it looks weak, you are betting against a +0.194% five-day drift measured across 3,659 of them. The gap tells you how much to expect, not which way to bet. Full study: https://statoasis.com/overfit/research/sp500-opening-gaps

Oct 15, 2026
StatOasis card. Direction is noise. Size is the signal. A gap is not one number. +0.73 % Average 5-day drift after the biggest gaps (>2%).

"Measure a gap in points" is where the size signal breaks. Rank SPY gaps by raw point size and a dead zone appears: gaps of 1–2 points show a 5-day drift of +0.007% — basically nothing — while smaller and larger gaps both do better. That looks like noise, and it is: raw points mix a 1995 tape with a 2026 tape, so the same "1 point" means something different in each era. Switch to a volatility-relative lens, gap size in ATRs, and the artifact disappears. Gaps larger than 1 ATR jump to a +0.200% next-day return versus roughly +0.04% for smaller ones. Same gaps, honest yardstick, clean edge. Put exact numbers on that step. The four buckets below 1 ATR averaged between +0.039% and +0.055% the next day. The 251 gaps above it averaged +0.200%. Size your gaps in points instead and the biggest bucket, over 4 points, averages just +0.075% the next day. The measurement wasn't wrong. The units were. Full breakdown of points vs price % vs ATR %: https://statoasis.com/overfit/research/sp500-opening-gaps

Oct 14, 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