WhitmanTrading

Quantitative Analysis: Measure, Then Decide

Quantitative analysis is deciding from measurements you have taken rather than from an argument that sounds convincing. The order matters more than the mathematics - ask a question with a checkable answer, decide how you would test it, then get the data right and run the test once.

How it works

Quantitative analysis means deciding from measurements rather than from opinions. A claim becomes a number somebody else could check, and the number decides. It is a discipline about evidence, not a category of strategy — technical analysis can be done this way or by eye.

It starts with a question that has a checkable answer. “Do indicators work” is not one. “On this instrument’s daily chart, does a close above the twenty-day high lead to a higher close ten days later” is.

Most of the work is cleaning data, not modeling it. Missing bars, adjusted against unadjusted prices, mismatched time zones and dead instruments each produce results that look real and are artifacts of the file.

And a simple model on good data beats the reverse. A complicated model on dirty data can always be made to look excellent, and when it fails nobody can say which part did.

How you fool yourself

Search long enough and chance will hand you a result. Run forty tests at a five percent threshold and two will look significant with no effect present at all. That is arithmetic, not bad luck.

So write down the test before you run it. The question, the threshold, and how many variants you intend to try — because a threshold chosen after seeing the result is not a threshold. That is the line between measurement and overfitting.

And keep data back that the model never touched. Look at the held-out block once. Adjusting between looks turns it into training data, which is why forward testing beats any split of the past.

In practice

A model without costs in it is a description, not a plan. Every round trip pays the spread and commission, so a short-horizon result turns as much on the cost assumption as on the logic.

Participation is a measurable input and mostly unused. Volume sits on nearly every series and price-only models dominate anyway, partly by convention and partly because the data is less consistent across venues.

A longer series is worth more than a cleverer method. Sample size sets what a measurement can resolve at all, so a slow strategy needs decades before its record means anything.

The rare event is under-represented in every sample. An opening gap is the clear case: what matters most is what the history holds least of, so the model is weakest where the damage is largest.

And the model says nothing about where the risk sits. It measures an average across many trades; the stop loss on the trade in front of you is a separate decision, and position sizing is not a modeling question.

Every round trip has a cost. Which makes trade frequency a design choice rather than an outcome, and one to measure before the method is built.

A procedure you can actually run

Write the question first, in one sentence, naming the instrument and the horizon. “Does a close above the twenty-day high lead to a higher close ten days later” is testable. “Do breakouts work” is not.

Then state the test and the threshold before touching the data. Which measurement decides, what result would count, and how many variants you are allowed. Count the alternatives honestly — every parameter swept and every instrument checked is an attempt.

Then run it once, with costs included, on a block you have not looked at. Report the number of attempts beside the result. A finding from one test and the same finding from the fortieth are different objects, and only the count tells them apart.

And backtesting is the same procedure applied to a whole set of rules rather than a single question. Only the number of moving parts changes.

Flow diagram of a quantitative test: a one-sentence question, the threshold set first, one run with costs on unseen data, and the attempt count reported.
A diagram of this page's procedure as steps.

What quantitative analysis is not

It is not a category of strategy. It is a way of checking one.

It is not mathematics for its own sake. The arithmetic is usually simple.

It is not systematic trading. That is rules, this is evidence.

And it is not protection from being wrong. It only makes wrong findable.

How this connects

Its measurements have names. Expectancy summarizes the average result per trade, risk of ruin estimates how often a sequence of results ends an account, and tail risk describes the outcomes a sample barely contains.

Performance against a benchmark has its own vocabulary. Alpha separates skill from market movement, beta measures the market exposure, and tracking error shows how far a result wanders from the index it is compared with.

An event study is the standard test of news. It compares returns around an announcement with what would have been expected anyway, which is the base-rate idea applied to a single date.

Factor investing grew out of this work. Repeatable tendencies such as value or short-term mean reversion were identified by testing across long histories and many securities.

Indicators are testable inputs. A moving average, RSI or ATR rule is a question with a checkable answer, and Pine Script on TradingView is one common way to code a strategy and measure it.

Execution is where tests meet reality. Slippage is the cost models most often understate, and paper trading followed by a trading journal checks whether live fills match the assumptions.

And automation is the same process running unattended. Algo trading and a trading bot execute rules that should have been tested first, while high-frequency trading applies measurement at speeds no individual can reach.

When it fails

In a flat period every measurement loses its power. Inside a trading range the difference you are trying to detect shrinks below the noise, and a method that measured something real in a trend measures nothing here.

The second failure is comparing against the wrong alternative. A result measured against zero rather than the base rate flatters itself, because the drift of the market is doing the work.

A third is the summary statistic that hides the shape. A mean is fine, standard deviation less so on a fat-tailed distribution, and a Sharpe ratio says nothing about the worst day.

A fourth is treating correlation as a mechanism. Two series moving together over a chosen window is a measurement, not an explanation, and the window is usually doing the work.

A fifth is the sample that quietly survived. A history holding only the instruments still listed is the least visible bias in this work, because the failures were deleted before you measured.

And a sixth is re-testing the data you held back. Once it has informed a change it is training data, and the honest response is to say so and find more.

The original data

The S&P 500 supplies a real base rate: of 19,290 ten-day windows from 1950 to 2026, 59% finished higher, and 53.1% of single trading days closed up. Any long signal on the index has to beat those numbers, not zero.

The question: Significant at five percent, after forty tests. Real?

That 59% is the whole method in miniature. A ten-day long signal on the index advertised as right 60% of the time is a claim about one percentage point over simply holding — and the round trip costs come out of that one point before anything is left. Measure the alternative before believing the claim.

The corpus figures say the same from the other side. Nine videos carry “quantitative” in the title at a median of 311 views, against 169 on “win rate” at a median of 15,735, per the site’s title scan. Measure the base rate for your instrument and horizon before believing any claim, then subtract the costs.

Systematic trading is what happens once the measurements become rules precise enough to run without you. Overfitting is the way this work goes wrong, and the reason the test gets written down first. And probability is the language the results are stated in, including why five percent means less than most people assume.

What I actually do

I do not accept a setting because somebody I respect says it works. I measure it on my own data first, and I ask what happens without the signal at all. Most claimed edges do not survive that question, and the habit of asking is worth more than any single method.

— Michael Whitman

This page is educational, not financial advice. Test every idea on your own charts before risking money.