THE MODEL — Backtesting & Validation OS Brain

$49.00
◆ backtest.py · out of sample, or nothing

THE MODEL — Backtesting & Validation OS Brain

For finding out whether a strategy works or whether you fitted it. One orchestrator plus ten specialists that split the data properly, measure degradation out of sample, and count how many variations you tried before you liked one.

What makes it different

Every backtest works. That is the problem. The validation script does the part people skip: it splits the series into in-sample and out-of-sample, reports the performance gap between them, and asks how many parameter combinations you searched. If you tried forty variations and kept the best, the best one looks good for reasons that have nothing to do with the market. It reports an expectation adjusted for that search, and the adjusted number is usually far worse. People do not enjoy running it, which is exactly why it is worth shipping.

It ships working code, not just prompts backtest.py

Splits a return series into in-sample and out-of-sample windows, reports the degradation between them, and adjusts the result for how many parameter combinations were searched. Flags any strategy whose out-of-sample performance collapses. Every OS Brain in this drop carries its own executable component, so the judgement calls stay with you and the arithmetic stops being a matter of opinion. Runs anywhere Python runs, and the specialists still work on their own if you never open it.

Say it in plain words — it works out the rest

"My backtest looks great"→ 02 · so does everyone's
"How much data do I need?"→ 03 · more than you have, probably
"I optimised the parameters"→ 05 · that is the problem
"It worked, then stopped"→ 04 · it never worked
"Is this enough trades?"→ 06 · sample size, honestly

Inside · orchestrator + 10 specialists

01The HypothesisWhat you think is true, and why
02Data QualitySurvivorship, gaps, adjustments
03The SplitIn sample, out of sample, held back
04DegradationThe gap that tells you everything
05Search CostHow many things you tried
06Sample SizeHow many trades mean anything
07Costs and SlippageModelled honestly
08Regime SensitivityWhere it stops working
09Paper to LiveThe gap nobody models
10Model LedgerEvery version, every result

Where it refuses to skip ahead

  • No result without an out-of-sample window — an in-sample backtest describes the past, it does not test anything.
  • No claim without the search count — the best of forty attempts is not the same finding as the first of one.
  • Costs and slippage go in before the result — strategies that only work gross of costs do not work.
  • A held-back set is used once — reusing it turns it into another in-sample window and it stops being evidence.
Works in all 7 channels
1Any chatupload the zip
2Claude Projectsadd as knowledge
3ChatGPT / GPTsknowledge files
4Gemini Gemsknowledge files
5Claude Codeskills folder
6Agent frameworkssystem instruction
7Paste-onlydegrades gracefully
The habit it is really selling: log every version you tested including the failures, because the count of what you tried is what makes the survivor mean anything. Single-seat license. This is a validation and statistics tool and not investment advice, not a strategy and no indication of returns — most backtested strategies do not survive contact with live markets, and a good validation process mainly tells you which ideas to discard.
Bargain amount
You've got 3 shots to bargain, so use them wisely!