Skip to content
Finance Lessons

Foundation Models for Financial Time Series

The Honest Evaluation: Does Any of It Survive?

The finale: re-arm the deflated Sharpe and purged-embargoed cross-validation, see why near-stationary pretraining benchmarks don't transfer to adversarial markets, map exactly where pretraining genuinely helps (cross-asset transfer, cold-start, data-poor regimes) versus where it's pure hype, and run the end-to-end test that turns a benchmark win into actual money.

18 min Updated Jun 22, 2026

Five lessons in, you’ve taken the pretrain-and-adapt bet (lesson 1), met time-series foundation models and their zero-shot, few-shot, and scaling behavior (lessons 2–3), wielded LLMs as research tools and signal sources (lesson 4), and just spent a whole lesson learning how leakage can quietly fake every result you produce (lesson 5). Now comes the reckoning.

This is the lesson where we stop being impressed by leaderboards and ask the only question that pays rent: does any of it survive contact with a real, adversarial, non-stationary market — net of costs, deflated for luck, and free of leakage? Foundation models are genuinely useful in finance. They are also catnip for the over-eager. The difference between those two sentences is an honest evaluation, and that’s what we’re building here, brick by brick, as the synthesis of the whole course.

Let’s settle the account.

Re-arming the discipline

Before you read — take a guess

You ran a search over 500 foundation-model configurations and the best one posted an in-sample Sharpe of 2.8. Roughly what Sharpe should you demand before you believe there's any real edge?

The analogy. Imagine a casino where 500 gamblers each flip a fair coin 100 times, and you crown a “champion” as whoever got the most heads. The champion will look gifted — maybe 65 heads out of 100 — but they have no skill; they’re just the luckiest of 500. If you only ever interview the winner, you’ll conclude coin-flipping is a learnable art. Backtesting a foundation model across hundreds of architectures, context lengths, and fine-tuning recipes is exactly that casino, and the deflated Sharpe ratio is the bouncer who asks the champion to prove they’re better than the luckiest-of-500 baseline.

Tool 1 — the deflated Sharpe ratio. Carried from Machine Learning for Alpha. The core fact: if you try NN independent strategies that all have zero true edge, the expected maximum of their in-sample Sharpe ratios is not zero — it climbs with NN. A useful back-of-envelope for the hurdle (in annualized-Sharpe-ish units, when trial dispersion is near 1) is

hurdle(N)σSR2lnN,\text{hurdle}(N) \approx \sigma_{SR}\,\sqrt{2 \ln N},

where σSR\sigma_{SR} is the dispersion of Sharpe estimates across trials. Your deflated edge is the observed best Sharpe minus this hurdle. If it’s 0\le 0, your “winner” is statistically indistinguishable from the luckiest noise-trader in the room.

Worked example — deflating a 500-trial foundation-model search. You fine-tuned and back-tested N=500N = 500 configurations (architectures × context windows × adapter ranks) on the same price history, with trial dispersion σSR1\sigma_{SR} \approx 1. Compute the hurdle:

ln500=6.215,2ln500=12.43,12.43=3.52.\ln 500 = 6.215, \qquad 2 \ln 500 = 12.43, \qquad \sqrt{12.43} = 3.52.

So the luck hurdle is about 3.5. Your champion’s in-sample Sharpe was 2.82.8. Deflated edge =2.83.5=0.7= 2.8 - 3.5 = -0.7. Negative. That dazzling 2.8 is below what 500 worthless strategies would produce by chance — it’s not alpha, it’s the casino. To survive, your best configuration would have needed an in-sample Sharpe comfortably above 3.5, or you’d have needed to run far fewer trials.

Deflating a foundation-model architecture search
Luck hurdle: expected max Sharpe under the nullObserved best Sharpe (your champion config)
0.00.51.01.52.02.53.01101001000Foundation-model configurations tried (N)Sharpe ratio
N50Luck hurdle: expected max Sharpe under the null1.14Observed best Sharpe (your champion config)1.40Deflated edge+0.26

Drag the trials slider toward 500 and watch the accent luck-hurdle curve climb to roughly 3.5. Set the observed best Sharpe to 2.8 (a typical eye-catching backtest) and the deflated edge goes negative — your champion configuration is indistinguishable from the luckiest of 500 worthless models. The huge design space of a foundation model (architecture × context length × adapter × prompt) is what makes N explode, so the hurdle you must clear is brutally high. Only an observed Sharpe that clears the curve at your N is credible edge.

Tool 2 — purged and embargoed cross-validation. Carried from the same toolkit and reinforced by lesson 5. Standard k-fold cross-validation shuffles rows, which is a catastrophe for time series: a training row from tomorrow can sit next to a test row from today, leaking the future. The fix has two parts:

  • Purging — drop training observations whose label horizon overlaps the test set. If a label is built from a forward window (e.g. the next 5 days’ return), any training sample whose forward window reaches into the test period is contaminated and must be removed.
  • Embargo — after each test fold, skip a buffer of observations before resuming training, so serial correlation and slow-moving features don’t bleed test information into the next training block.

For foundation models the stakes are higher, because the model’s pretraining corpus may already contain your test window — a leak no amount of clever CV can fix if you don’t control the pretrain cutoff (lesson 5’s central warning). Purged-embargoed CV protects the fine-tuning and evaluation split; a clean pretrain cutoff protects everything underneath it.

Warning:

A foundation model multiplies your trial count without you noticing

Every knob is a trial. Architecture (4 of them), context length (5 settings), adapter rank (4), learning rate (5), prompt template (3) — innocently that’s 4×5×4×5×3 = 1,200 configurations, and the best of 1,200 has a luck hurdle of √(2 ln 1200) ≈ 3.76. People report the winner’s Sharpe and quietly forget the other 1,199. Pre-register your design space, log every variant you run, and deflate by the true N — not the one configuration you decided to write up.

When to use it

Apply both tools to every foundation-model evaluation, always — they’re not optional extras for the paranoid. Reach for the deflated Sharpe the moment you’ve compared more than one configuration (which is always), and for purged-embargoed CV whenever labels have a forward horizon or features are serially correlated (which is always, in markets). The only time you can relax the deflation is a single, pre-registered model with no search — and even then you should report how many ideas you discarded before committing.

Fill in the hurdle scaling.

Pick the right option for each blank, then check.

The expected maximum Sharpe of N zero-edge trials grows roughly with , so trying 500 configurations sets a luck hurdle near 3.5 that your observed best Sharpe must clear before it counts as edge.

Near-stationary domains vs adversarial, non-stationary markets

Before you read — take a guess

A time-series foundation model crushes the leaderboard on electricity-demand and weather forecasting. Why is that a weak guarantee it will forecast stock returns?

The analogy. A foundation model that masters weather and electricity demand is like a chess engine that’s superhuman against a fixed opponent who plays the same opening every time. Markets are a chess opponent who watches you, learns your strategy, and changes their play the instant you start winning. Worse, the board itself is being rebuilt mid-game — pieces change how they move (regime shifts). Stationary benchmarks reward memorizing a stable pattern; markets punish exactly that, because any stable pattern gets found and erased.

Three reasons benchmark wins don’t translate.

  1. Distribution shift (non-stationarity). The data-generating process moves. Volatility regimes, interest-rate regimes, liquidity regimes, and correlation structures all shift, sometimes abruptly. A model pretrained on one regime can be confidently wrong in the next. Weather has seasons, but it doesn’t suddenly decide to obey different physics in 2009.

  2. Reflexivity / alpha crowding. A genuine edge is self-destroying. The moment a profitable pattern is discovered and traded at scale, the trades move prices toward fair value and the edge shrinks toward zero. Your forecast changes the thing you’re forecasting. Tomorrow’s temperature does not care that you predicted it; tomorrow’s price does, and so does everyone else’s prediction.

  3. Signal-to-noise (SNR). Daily return predictability is tiny — an out-of-sample R2R^2 of even a few percent is exceptional, and most of the variance is irreducible noise. Electricity demand at 6pm is overwhelmingly driven by deterministic structure (time of day, temperature, day of week); the noise floor is low. With faint signal and a moving target, the very capacity that helps a foundation model nail demand becomes a liability that fits noise on returns.

PropertyLanguage / weather / demandFinancial returns
StationarityHigh — stable patterns persistLow — regimes shift, sometimes abruptly
AdversarialityNone — nature doesn’t fight backHigh — known edges get arbitraged away
Signal-to-noiseHigh — much of the variance is structureBrutally low — mostly irreducible noise
Feedback on the forecasterNone — your forecast doesn’t move the targetStrong — your trades move the price you predict
Effect on a pretrained modelBenchmark skill transfers cleanlyBenchmark skill may not transfer at all

Worked example — a benchmark that lies. Suppose a foundation model posts a MASE (mean absolute scaled error) of 0.620.62 on a weather benchmark, beating the seasonal-naive baseline by 38%. Translated naively, you might expect a comparable “38% improvement” on returns. But on daily equity returns the seasonal-naive baseline is essentially zero (returns have ~no exploitable autocorrelation), so beating it by 38% of nearly-nothing is still nearly-nothing. A model can have a beautiful MASE on a stationary series and an out-of-sample return R2R^2 of, say, 0.3%0.3\% — and after costs, that 0.3%0.3\% is often negative PnL. The benchmark and the bank account are measuring different universes.

Warning:

Stationarity is the hidden assumption behind every benchmark claim

When a vendor says “our foundation model is state-of-the-art on 40 forecasting benchmarks,” read the fine print: those benchmarks are overwhelmingly near-stationary, non-adversarial series (energy, traffic, retail demand, weather). Generalizing that dominance to markets smuggles in the assumption that returns are just another stationary series. They are not. A leaderboard win is a necessary-ish condition for a good model, never a sufficient one for a tradable edge.

When to use it

Trust benchmark dominance as evidence of model quality in domains that resemble the benchmark — near-stationary, high-SNR, non-adversarial series. Treat it as nearly irrelevant the moment your target is liquid, heavily-researched, low-SNR return forecasting. The closer your problem sits to the stationary, non-adversarial end of the table above, the more a foundation model’s pretraining is worth; the closer to the adversarial, non-stationary end, the more you must prove edge from scratch on your own clean, deflated, cost-aware test.

Pick a term, then click its definition.

Where pretraining genuinely helps

Before you read — take a guess

In which situation does a foundation model's pretrained prior add the MOST value over a well-tuned model trained only on the target series?

The analogy. A pretrained foundation model is a seasoned analyst who has read thousands of company histories. Drop them onto a brand-new IPO with three weeks of trading and they’re invaluable — they pattern-match from everything they’ve seen. Drop them onto a 30-year mega-cap that an army of quants has already dissected to the molecule, and their general wisdom adds almost nothing the local specialists don’t already know. Pretraining is a prior, and a prior matters most exactly when the data is too thin to overwhelm it.

Four places pretraining earns its keep.

  1. Cross-asset / cross-market transfer. Pretraining on thousands of series — equities, FX, commodities, rates, across geographies — lets the model learn shared structure: volatility clustering, mean-reversion at certain horizons, common reactions to shocks. That borrowed structure can sharpen forecasts on a target series that, alone, is too short to reveal it.

  2. Cold-start. A new listing, a freshly launched ETF, or a just-IPO’d stock has almost no history. A locally trained model has nothing to chew on; a pretrained model arrives with a sensible default and adapts from a few observations (the few-shot regime from lesson 3).

  3. Data-poor / illiquid regimes. New products (a novel derivative), small or frontier markets, or thinly-traded names simply don’t generate enough clean observations to fit a hungry local model. The pretrained prior is the difference between a usable forecast and noise.

  4. A strong zero-shot baseline / prior. Even when you will build a custom model, the foundation model’s zero-shot forecast is a high-quality baseline to beat and a sensible prior to shrink toward — better than a naive seasonal or random-walk default (lesson 3).

Worked example — data-rich target vs data-poor target. Two forecasting jobs, same foundation model:

Data-RICH targetData-POOR target
Asset30-yr liquid large-cap3-week-old IPO
Local observations~7,500 daily bars~15 daily bars
Tuned local model out-of-sample R2R^21.8%undefined (can’t fit)
Foundation zero-shot R2R^21.6%0.9%
Foundation fine-tuned R2R^21.9%1.1%
VerdictPrior adds ≈ 0.1% — basically nothingPrior adds everything — the only usable forecast

On the data-rich large-cap, the tuned local model already extracts 1.8%; the foundation model fine-tuned reaches 1.9% — a rounding-error gain that almost certainly evaporates after deflation and costs. On the 3-week IPO, the local model cannot even be fit (15 observations), while the foundation model’s borrowed prior delivers a real, if modest, 1.1%. Same model, opposite verdicts — and the deciding variable is local data abundance, not the model’s cleverness.

Warning:

Transfer assumes shared structure — verify it

Cross-asset transfer only helps if the source and target actually share dynamics. A model pretrained mostly on developed-market equities may carry the wrong prior into a frontier FX pair or a crypto perpetual whose microstructure is alien. Borrowed structure that doesn’t fit is worse than no prior — it injects confident, systematic error. Always check that the foundation model’s pretraining distribution plausibly covers your target before you lean on its prior.

When to use it

Lean on pretraining when local data is the binding constraint: cold-start assets, illiquid or new products, frontier markets, or any forecast where you have dozens of observations rather than thousands. Treat it as a strong default prior and zero-shot baseline even in data-rich settings — but expect the marginal gain over a well-tuned local model to shrink toward zero as your local sample grows. The rule of thumb: the value of a borrowed prior is inversely proportional to how much of your own clean data you already have.

Sort each forecasting situation by whether a borrowed pretrained prior is likely to add a lot or add almost nothing.

Place each item in the right group.

  • A heavily-researched index future with thousands of clean bars
  • Freshly IPO'd stock with three weeks of history
  • A 30-year liquid large-cap with abundant clean history
  • A frontier-market name with sparse, gappy data
  • A novel derivative in a small, new market

Where it’s pure hype

Before you read — take a guess

Which use of a time-series foundation model is most likely to be pure hype — impressive on paper, worthless as a strategy?

The analogy. Chasing leaderboard MASE on liquid return forecasting is like polishing your time in a footrace where the finish line is teleporting away from you faster than you can run. The metric improves; you get no closer to money. A lower MASE is not a higher PnL. MASE rewards accurate point forecasts of a series; trading profit depends on the sign and timing of moves net of costs, on a target whose edge has already been arbitraged by thousands of well-funded competitors.

The hype zone, precisely. Foundation models are most over-sold when all of these hold:

  • Liquid and heavily-researched — the asset is traded by everyone, so any persistent pattern has been found and erased (maximal reflexivity/crowding).
  • Low signal-to-noise — daily/weekly return predictability is faint, so the model’s spare capacity fits noise.
  • Metric ≠ money — the reported win is a forecasting-error metric (MASE, MAE, RMSE) presented as if it were strategy performance, with no cost, capacity, or deflation accounting.

In that zone, a foundation model’s enormous pretrained capacity is not an advantage — it’s an over-powered noise-fitter, and the leaderboard number is a vanity metric. The honest expectation is no tradable edge, and the burden of proof is entirely on anyone claiming otherwise.

Warning:

MASE/MAE on returns is not a backtest

A foundation model can post a better MASE than a random walk on returns and still lose money every single day after costs, because (a) the improvement may live entirely in the unprofitable middle of the distribution, (b) it ignores transaction costs and capacity, and (c) it’s usually undeflated for the trial count behind it. Never let a forecasting-error metric stand in for a cost-aware, deflated, leakage-free backtest. The leaderboard is not the ledger.

When to use it

Honestly? In the hype zone, don’t — at least not as your alpha engine. If you’re forecasting returns on a liquid, heavily-researched, low-SNR target, assume the foundation model has no tradable edge until a full end-to-end test proves otherwise, and never report a MASE/MAE improvement as if it were a strategy result. The legitimate role for a foundation model in that regime is supporting infrastructure (a baseline, a feature, a prior), not the headline signal.

Fill in the hype-zone tell.

Pick the right option for each blank, then check.

The clearest sign of foundation-model hype is reporting a low on liquid, heavily-researched returns and treating it as if it were tradable PnL, with no costs, capacity, or deflation accounted for.

The end-to-end test

Before you read — take a guess

Your foundation-model strategy clears the deflated Sharpe hurdle on a clean, purged-embargoed split. Is it ready to trade?

The analogy. A benchmark win is a great dress rehearsal; live trading is opening night with hecklers, a moving stage, and the lighting crew working against you. Plenty of strategies that nail the rehearsal collapse the moment real costs, real size, and real time take the stage. The end-to-end test is the full dress-and-tech run that catches the collapse before you wire up real capital.

Precise statement — the gauntlet. A theoretical or benchmark win is not money until it survives, in order, every one of these:

StageThe question it answersHow it kills strategies
Transaction costsDoes the edge survive spread, fees, and slippage?A gross Sharpe of 1.5 can go negative once you subtract realistic costs on a high-turnover signal
CapacityDoes the edge persist at the size you’d trade?A pattern that works on $1M can vanish (market impact) at $100M
DeflationIs the edge bigger than the best-of-N luck hurdle?The champion of 500 configs must clear ≈ 3.5, not just beat zero
Leakage-free post-cutoff OOSDoes it work on data after the pretraining cutoff?A foundation model may have “seen” pre-cutoff test data; only post-cutoff bars are truly out-of-sample (lesson 5)
Live-pipeline parityDoes the live code reproduce the research result exactly?Subtle differences (data vendor, timing, fill assumptions) routinely erase the edge

Miss any one and the “edge” is an artifact. Notice the order isn’t arbitrary: deflation and leakage checks are cheap and should gate the expensive live work — don’t spend three months on a production pipeline for a strategy that never cleared the luck hurdle.

Worked example — a strategy dies one stage at a time. A foundation-model signal looks spectacular:

  • Gross in-sample Sharpe: 2.8. Impressive.
  • Costs: turnover is high; realistic spread + fees + slippage knock roughly 1.01.0 off the Sharpe → 1.8 net. Still good.
  • Deflation: it was the best of N=500N = 500 configs, hurdle 3.5\approx 3.5. Deflated edge =1.83.5=1.7= 1.8 - 3.5 = -1.7. Dead here — but suppose for argument it had cleared, say a pre-registered single model with net Sharpe 1.8 and hurdle 0.5.
  • Post-cutoff OOS: re-run only on bars after the pretraining cutoff. The Sharpe drops to 0.6 — much of the apparent edge was pre-cutoff contamination (lesson 5).
  • Capacity: at target size, market impact shaves it to 0.3.
  • Live-pipeline parity: a 1-bar timing mismatch between research and production erases the rest → ≈ 0.

A 2.8 that became a 0. Every stage was honest; the strategy simply never had real, tradable, deflated, leakage-free edge. This is the normal outcome, and an evaluation that doesn’t run the full gauntlet would have shipped a money-loser with great-looking slides.

Success:

The whole course, in one test

This is where everything you’ve learned converges. The pretrain-and-adapt bet (lesson 1) only pays when the prior fits a data-poor target. Foundation models, zero-shot, and scaling laws (lessons 2–3) give you a powerful baseline — but a baseline, not a guarantee. LLMs as research tools (lesson 4) help you generate and reason about signals, which only multiplies your trial count. And the leakage minefield (lesson 5) is why “post-cutoff out-of-sample” is non-negotiable. The honest evaluation — deflate for luck, purge and embargo, net out costs and capacity, test only post-cutoff data, and demand live-pipeline parity — is the single discipline that turns all of that machinery into either real money or an honest “no.” Master it, and you can use foundation models without being used by them.

The decision: pretraining likely helps vs likely hype

Sort each concrete scenario by whether a foundation model's pretraining is likely to genuinely help or is likely hype.

Place each item in the right group.

  • A leaderboard MASE win reported as if it were a backtest PnL
  • Cross-asset prior sharpening forecasts on an illiquid frontier name
  • Daily-return signal on a liquid mega-cap, judged by MASE alone
  • Best-of-1,000-configs Sharpe on a heavily-researched index, undeflated
  • Cold-start volatility forecast for a 2-week-old listing
  • A strong zero-shot baseline for a brand-new derivative with no history

The synthesis — and the bridge to your final exam. Foundation models are neither a miracle nor a fraud; they are a prior, and a prior is exactly as valuable as the gap it fills. Where your own clean data is thin — cold-start, illiquid, frontier, new products — that borrowed structure is genuine leverage. Where your data is abundant and your target is liquid, low-SNR, and picked over by an army of competitors, the prior adds almost nothing and the leaderboard is a vanity metric. The instrument that tells the two apart is not enthusiasm — it’s the honest evaluation: deflate the best-of-N Sharpe, purge and embargo your folds, subtract real costs and capacity, test only on post-cutoff out-of-sample bars, and demand that your live pipeline reproduces the research result exactly. Carry that discipline into the final exam, where you’ll have to apply every piece of it — the bet, the models, the scaling, the LLM tooling, the leakage traps, and this gauntlet — to decide what survives and what’s a mirage. You now know how to use a foundation model in markets without letting it use you. Go prove it.

Recap

Big picture

The honest evaluation of foundation models in markets

  • The honest evaluation
    • Re-armed tools
      • Deflated Sharpe: hurdle ≈ √(2 ln N)
      • N=500 → hurdle ≈ 3.5
      • Purge: drop overlapping-label rows
      • Embargo: buffer after each test fold
    • Why benchmarks don't transfer
      • Distribution shift (regimes move)
      • Reflexivity / crowding (edge arbitraged)
      • Low SNR (capacity fits noise)
      • Stationary domains ≠ markets
    • Where pretraining helps
      • Cross-asset / cross-market transfer
      • Cold-start (new asset, little history)
      • Data-poor / illiquid regimes
      • Strong zero-shot baseline / prior
    • Where it's hype
      • Liquid, heavily-researched returns
      • Low SNR, edge already competed away
      • Chasing MASE as if it were PnL
    • End-to-end gauntlet
      • Transaction costs
      • Capacity at size
      • Deflation (best-of-N)
      • Post-cutoff out-of-sample
      • Live-pipeline parity
A benchmark win is not money. Deflate for luck, purge and embargo, net costs and capacity, test post-cutoff, demand live parity — and know that a borrowed prior helps most exactly where your own data is thin.

The honest evaluation — final synthesis check

Question 1 of 60 correct

You searched N = 1,000 foundation-model configurations and the best posted an in-sample Sharpe of 3.0 (trial dispersion ≈ 1). Roughly what is the luck hurdle, and does the champion clear it?

Check your answer to continue.

Mark lesson as complete