strateva.

Articles

Making money is not beating the benchmark: two tests, two answers

In this article

"The strategy is statistically significant." It is a common phrase in backtest reports and it almost never says the most important thing: significant against what.

Two questions are often confused. Both are legitimate, both are answered with the same tool, and they can give opposite answers on the same returns.

This article uses the first five tests of the series. The balance of the tests gathers all those published and updates with each new one.

The two questions

  1. Did it return more than doing nothing? You test the strategy's return above the risk-free rate declared in the test, which may be zero. It is the question of whether it made money in a way that can be told apart from chance.
  2. Did it return more than its reference? You test the difference, period by period, between the strategy and a fund you could simply have bought. It is the question of whether the strategy adds anything.

The second is the one that justifies the work. If buying an index fund gives the same, the first answer is not much use.

What five real trials show

The technical reports of the five tests in this series include both. Each returns a t-statistic: how many times larger the measured difference is than its margin of error. As the usual criterion, above 1.96 in absolute value the difference is taken to be distinguishable from chance.

Two questions about the same returns, two answerst-statistic of two tests in each trial. The first asks whether the strategy returned more than the test's risk-free rate (0% in four, 2% in the one on SPY); the second, whether it returned more than its reference. Above 1.96 or below −1.96, the difference can be told apart from chance at the usual 5% level. In MSFT and SPY the first answer is yes and the second, no.
−3−2−10123MSFTNVDAAAPLSPYURTH2.580.47−1.80−2.271.480.752.280.161.36−0.37
  • Did it beat the risk-free rate?
  • Did it beat the reference?
  • 5% threshold: ±1.96

Source: technical reports of the five tests published in this series. Each label is the asset the strategy trades.

Strategy onAnnual return above the risk-free ratetAnnual difference from the referencet
Microsoft+16.51%2.58+2.96%0.47
SPY+12.12%2.28+1.49%0.16
Apple+10.45%1.48+6.21%0.75
URTH+5.06%1.36−1.93%−0.37
Nvidia−7.34%−1.80−21.68%−2.27

Three readings:

  1. In Microsoft and SPY, the answer changes. Both strategies made money significantly. Against their reference the difference is 2.96% and 1.49% a year, with statistics of 0.47 and 0.16. Almost all their return is what being in the market would have given.
  2. In Nvidia the opposite happens. The strategy's loss does not reach significance on its own. Against the reference it does: it ended 21.68% a year behind, with a statistic of −2.27. Comparing with the reference turns an "inconclusive" into a clear result.
  3. A large difference may not be significant. The strategy on Apple beat its reference by 6.21% a year, and still the statistic is 0.75. The difference between two portfolios that move differently has a very wide margin of error.

Why beating the reference is harder

When the market rises, almost any strategy that is invested makes money. The first test picks up that general rise, which is no credit to the strategy.

The second takes it out. What is left is only the part that departs from the reference, and that part is usually small compared with how much it swings. In the test on SPY the average difference was 1.49% a year with a tracking error of 20.85%: the strategy strays far from its reference day to day, but on average ends up almost in the same place.

Which reference to use

The second test is only worth as much as the reference chosen:

  • It must be something you could have bought with the same capital in the same market.
  • If the strategy trades a single stock, comparing it with an index measures two things at once: the strategy and the choice of that stock.
  • If the strategy spends part of the time out of the market, the fair reference has that same average exposure. We explain it in Real alpha or just less exposure? and in the right benchmark.

Honest limits

  • A statistic below 1.96 does not prove there is no edge. It says this data is not enough to tell it apart from chance. With periods of four to seven years, only very large edges are detected.
  • A statistic above 1.96 is no guarantee either. If many variants were tried it has to be corrected, as we explain in the article on multiple testing.
  • These tests use prices without dividends and references chosen in each replication. With another reference the second test would change.

What to ask if someone shows you a "significant" result

  • Significant against zero or against a reference?
  • Which reference, and why that one?
  • What is the annual difference from it, and its statistic?
  • Does the test account for the fact that returns on nearby days resemble each other?

Where it fits in a validation

Our validation reports both tests separately, with a margin of error that accounts for the dependence between nearby periods, and bases the conclusion on the second: the difference from the agreed reference.

These tests are part of the quantitative validation. At Strateva we validate strategies in stocks, ETFs, spot crypto and spot FX, always unleveraged and with no margin. We don't take engagements on CFDs, futures, perpetuals or options.

To ask whether yours fits, write to stan@strateva.ai with the market (stocks, ETFs, crypto or FX, spot), the frequency and what you compare your strategy with today. Don't send private code or passwords in the first email.


Educational and research content. Not investment advice. The figures come from the technical reports of the five tests published on this site. Both tests are annualised means of daily returns with autocorrelation-robust errors (HAC, Bartlett kernel); the first uses the excess over each test's risk-free rate (0% in four and 2% a year in the one on SPY) and the second the daily difference from the reference. References: SPY in the test on Microsoft and URTH in the other four. Prices exclude dividends.

All articles

CONTACT

Tell me about your strategy. I will say whether it fits within 48 business hours.

Tell me what you want checked, the asset, the frequency and what you have: rules, a report or code. I will tell you whether it fits and which plan it would be.

What to include in your email

  • Market, instruments and frequency (Spot only).
  • What you want checked, and the period.
  • Language and approximate code size, without pasting the code.
  • What data you have, and whether you need an NDA.

Do not send private code, keys or passwords.

stan@strateva.ai

Reply within 48 h (business days). No private material in the first message. No obligation to commission work.

Who replies

I am Filip Stanciu. I have an MSc in Quantitative Finance from the University of Alcalá, a degree in Finance from the Complutense University of Madrid, and a MiFID II certificate. I have worked in quantitative research for an asset manager, validating stock and ETF strategies. I read and reply to every email myself.

I am not a certification body and I am not a large team. I am one person, and I say so.

Nicolae Filip Stanciu