How we evaluate a strategy
A guide to the checks every strategy goes through on QuantGenie, what each one tells you, and what none of them can. The examples are interactive: click through them to see how each test works.
On this page
In short
- A backtest shows how a set of rules would have behaved on past data. It’s a simulation, not a track record.
- Every strategy goes through three checks: a minimum number of trades, Monte Carlo, and in-sample vs. out-of-sample.
- The QuantGenie Score sums up 12 dimensions in four families: returns, risk, risk-adjusted return and trade quality.
- None of this predicts the future. The checks help you see how fragile or sturdy a result is.
What a backtest is, and what it isn’t
A backtest takes a strategy’s rules (when to buy, when to sell, when to stop) and runs them over historical prices, as if they had been live at the time. The result is a list of simulated trades and the statistics built from them.
Because it runs on the past, a backtest is written with hindsight and puts no real money at risk. That makes it a useful filter, and an easy thing to over-trust. The rest of this page is about telling the two apart.
Three ways a backtest can mislead
Minimum sample: enough trades to say anything
Statistics need enough data to mean something. QuantGenie doesn’t show a win rate, Sharpe ratio or any other statistic until a backtest has at least 20 closed trades. Try the example below to see why the number of trades matters as much as the number itself.
How many trades does it take to trust a win rate?
Range shown is a 95% confidence interval (Wilson method). Illustrative numbers.
Monte Carlo: was the result lucky timing?
A backtest is a single path: the trades happened in one particular order. Monte Carlo builds 1,000 alternative paths from the same trades to show the range of outcomes the strategy could have had. Step through it:
Illustrative simulation on hypothetical trades.
Reading the Monte Carlo table on a strategy page
A useful habit: plan around the 5th-percentile drawdown, not the backtest’s.
In-sample vs. out-of-sample: does it hold on unseen data?
The data is split in two. The rules are built and tuned on the first part (in-sample), then tested on a later part they never saw (out-of-sample). A strategy that only shines on the data it was tuned on is likely overfitted.
Does it hold on data it never saw?
Illustrative example on hypothetical data. Returns shown without drawdown are for this explanation only.
The QuantGenie Score
After the checks, each strategy gets a QuantGenie Score from 0 to 100: a weighted composite of 12 dimensions grouped into four families. It exists so that strategies can be compared on the same terms. Click a family to see what it measures and how to read it.
- What it measures
- Example metric
- How to read it
How to read the number
Its weights and dimensions may change as the methodology evolves. It describes past, backtested behavior. It is not a prediction or a recommendation.
What these checks can’t tell you
Stress tests lower the chance of being fooled by a backtest. They don’t remove risk. Some things stay true for every strategy, whatever its Score:
- 01Backtests are hypothetical. They are built with hindsight and with no real money at risk.
- 02Live results can differ. Fees, slippage, liquidity and execution all affect real trades.
- 03Markets change. A strategy that worked in one market regime can stop working in another.
- 04The Score isn’t advice. It helps you compare. The decision, and the risk, stay with you.
Glossary
The terms used on this page and on every strategy page. Click a term to open it.
Backtest
A simulation that runs a strategy’s rules over historical prices, as if they had been live at the time. It’s hypothetical and built with hindsight.
Drawdown
The fall from a previous peak to a later low, shown as a percentage. The max drawdown is the deepest of those falls over the whole period.
CAGR
Compound annual growth rate: the steady yearly rate that would take the account from its starting value to its final value. It smooths out the ups and downs along the way.
Sharpe ratio
Return earned per unit of volatility. Higher means a smoother ride for the same return. It doesn’t say how deep the worst fall was, so read it next to the drawdown.
Win rate
The share of closed trades that made money. It says nothing about how big the wins and losses were.
Percentile
The value below which a given share of results falls. The 5th percentile of a Monte Carlo test means only 5% of simulations did worse.
Overfitting
Tuning rules so closely to past data that they capture its noise instead of a pattern that repeats. Overfitted strategies look great in-sample and break on new data.
Out-of-sample
A stretch of data the rules never saw while they were being built and tuned. It’s used to test whether the strategy holds on something new.
Common questions
Does a high Score mean a strategy will make money?
No. The Score summarizes how a strategy behaved in its backtest, compared with others on the same terms. It describes the past. It doesn’t predict results or guarantee anything.
Why wait for 20 closed trades?
Below that, statistics swing too much with each new trade to mean anything. A win rate on five trades could be chance. The minimum sample example above shows how the plausible range narrows as trades add up.
How far back does the data go?
Historical data goes back to 2007. How much of it you can backtest on depends on your plan: 5 years on Lite, 10 years on Pro and the full history on Quant.
Where do I see these results?
On each strategy’s page in the Marketplace, and in the backtest report of every strategy you build: the Score, the Monte Carlo range and the robustness results.
All examples and figures on this page are illustrative and based on hypothetical data, not live trading. Backtested results have inherent limitations and are prepared with the benefit of hindsight. Past performance is not indicative of future results. Nothing on this page is investment advice.