strateva.

Articles

How much QQQ did a regime strategy actually hold?

The notebook reads SPY's trend and volatility to choose an allocation. In some regimes it puts around 80% into QQQ. In others it uses a basket of funds or takes a small position in an inverse fund and holds the rest in cash. It simulates orders at the following open. Original notebook

Three ways to allocate the portfolio

The Docker replay recorded 48 rebalances. Cash is measured at the close of the day each rebalance was executed.

AllocationRebalancesAverage closing cash
QQQ2119.92%
Diversified basket1524.93%
Defensive position in SH1292.51%

February 4, 2020 is an example. The portfolio sold QQQ and closed with 92.52% in cash and 7.48% in SH.

The full historical result

From January 2019 to December 2024, the strategy gained 26.48% net and its largest decline from a peak was 20.03%. URTH, the global equity fund used as the notebook's benchmark, gained 118.85% and fell as much as 34.01% from its peak. The report measures both series from close to close and keeps the notebook's trading costs and interest on cash.

What the engine measured

The difference from the reference cannot be told apart from zeroWhat the Strateva engine measured on 1,509 daily returns. The bars are what was observed; the vertical stroke on the strategy is the range the central 90% fell in when those same returns were resampled in blocks of 11 sessions (1,000 times). The information ratio measures the lead over URTH per unit of risk: its 95% interval runs from −1.46 to 0.17.

Cumulative return

−50%0%50%100%150%200%StrategyURTH26.5%118.9%

Worst drawdown from a peak

0%−10%−20%−30%−40%StrategyURTH−20.0%−34.0%

Ratios, with their 95% interval

−2−101SharpeInformation ratio0.24−0.56
  • Strategy
  • Reference: URTH
  • Resampling range or 95% interval

Source: technical report of the test, linked below. Prices exclude dividends; the resampling uses the same historical series.

The technical report adds the margin of error to these figures. The Sharpe of the strategy was 0.24, with a 95% interval of −0.47 to 0.96. Against URTH, the average annual difference was −10.49%, with a t-statistic of −1.46: it cannot be told apart from zero.

When the same returns were resampled in blocks, the cumulative return fell between −13.74% and 82.56% in the central 90%, and the worst drawdown between 10.39% and 31.05%. What that resampling measures is explained in Block bootstrap and permutation Monte Carlo.

Test reports

The first page of the executive summary
First page of the executive summary of the test. Header "Draft · unsigned evidence". Conclusion: the difference from the reference cannot be told apart from zero with this data; 95% information ratio interval, −1.46 to 0.17. Cumulative return of 26.48% against 118.86% for URTH. Sharpe of 0.24 and worst drawdown of −20.03%.

How to read this document is explained in the guide to the technical report.

How to read both documents is in the guide to the technical report.

See Strateva's services if you want to check how your portfolio was allocated in each phase.

All articlesAll the engine reports

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