RealTest strategies / RealTest ETF Rotate Monthly Rebalance Investing Strategy

RealTest ETF Rotate Monthly Rebalance Investing Strategy

A RealTest rotation strategy that each month ranks a basket of ETFs across equities, bonds, commodities, and crypto, then holds the few with the strongest momentum. It follows what is already trending rather than predicting, and it rebalances only once a month. Tested on data back to 2000 with commissions and slippage modeled, and trading live since January 2024.

Live traded since Jan 2024Trading costs included Survivorship-bias-free data
$100k$300k$1.0M'02'04'06'08'10'12'14'16'18'20'22'24'26 Live $1.5M $589k
Strategy SPY buy & hold
Sharpe ratio?
0.88
+83%vs SPY 0.48
Best year?
+37.1%
1.4×SPY best: 27.0% in 2003
Max drawdown?
-18.7%
63% smallervs SPY -49.9%

Validated four ways

See how each test is run →

Live market performance
Performs in real market conditions since 2024-01-08
Verified
Statistical validation
Validated across in-sample & out-of-sample data
Passed
Walk forward analysis
Tests robustness across unseen data
Passed
Monte Carlo stress test
Resilient against 1,000+ sequence risk simulations
Passed

What happened in every crash

CrisisDatesStrategySPYSame $100k in
Dotcom crash Mar 2000 – Oct 2002 3.9% -41.8%
2008 financial crisis Oct 2007 – Mar 2009 4.2% -49.9%
COVID-19 crash Feb 2020 – Mar 2020 -8.2% -28.7%
2022 bear market Jan 2022 – Oct 2022 1.8% -21.3%

Strategy monthly returns

JanFebMarAprMayJunJulAugSepOctNovDecYear
2000-1.2-0.31.9-1.22.00.2-1.93.20.1-0.00.00.02.7%
20010.00.00.00.00.00.00.00.00.00.00.00.00.0%
20020.00.00.00.00.00.00.00.00.00.00.00.00.0%
20030.00.00.00.01.70.6-0.31.3-0.62.20.95.011.3%
20041.52.7-1.10.50.11.6-2.1-0.40.00.01.50.54.8%
20050.33.4-1.2-0.30.11.12.11.30.6-3.91.91.16.5%
20066.9-1.52.93.1-2.00.92.40.6-0.72.42.50.118.7%
20073.5-1.20.13.10.8-3.5-1.71.48.36.5-4.83.816.7%
20080.60.00.00.00.00.00.00.00.00.00.00.00.6%
20090.00.00.00.00.00.06.31.14.7-4.29.42.921.4%
2010-5.13.97.22.4-7.4-0.70.00.00.05.3-0.66.811.3%
20111.44.10.65.9-1.1-3.22.1-5.2-0.10.00.00.04.1%
20120.01.32.70.2-5.86.21.52.52.3-5.00.8-1.15.2%
20134.50.13.92.81.6-2.89.4-2.35.33.04.82.337.1%
20140.77.0-3.5-1.12.23.1-1.14.3-2.84.84.60.219.3%
20152.34.80.2-2.04.8-0.63.3-8.5-2.80.00.5-0.50.8%
2016-1.70.00.00.5-0.25.72.2-1.7-0.8-3.10.42.13.3%
20171.12.5-0.31.11.32.83.02.71.51.92.01.122.8%
20189.1-4.0-3.40.74.60.41.63.50.3-11.70.40.0-0.1%
20190.00.01.10.3-4.40.10.94.0-0.22.10.92.27.0%
20203.5-4.10.70.00.04.76.64.4-3.5-2.510.85.828.3%
20212.0-0.10.65.0-0.43.92.12.7-3.78.7-2.94.824.2%
2022-0.92.50.91.0-0.70.00.00.00.00.00.0-1.90.9%
20230.1-5.74.21.7-1.65.12.0-5.0-4.5-2.70.34.7-2.2%
20240.514.54.4-7.87.41.53.02.71.6-1.03.3-3.727.6%
20253.6-2.1-3.0-0.10.03.62.51.05.55.82.20.420.9%
20264.72.1-6.40.83.0-2.40.36.90.1-0.78.0%

Strategy overview

Why it follows momentum

Trends in whole asset classes tend to persist for months at a time, longer than most people expect. This strategy ranks a basket of ETFs by recent momentum and holds the strongest, then re-ranks once a month. Instead of predicting which asset class will lead, it stays with the ones that already are, and steps out of them when their momentum fades. Cross-sectional momentum across asset classes is one of the most studied effects in the research, and the strategy applies it with a plain ranking rule.

How it was tested

The backtest covers every month back to 2000 and includes Interactive Brokers commissions and per-side slippage, so the equity curve is after real costs. Because it rebalances monthly, turnover is low and costs stay small. The ranking rule is simple and uses few parameters, and it was checked with walk-forward analysis. Results are shown on this page.

How it fits your trading

A rotation that can move between equities, bonds, and commodities behaves like a core holding rather than a single bet. When equities are trending it holds them, and when they weaken it can rotate into whatever is strong instead, which softens the ride through a stock-market decline. It takes a few minutes once a month to run, so it sits well next to more active strategies without adding daily work.

Specification

StyleMomentumUniverseUS ETFsTimeframeMonthlySideLongAverage hold108 trading daysTrade frequency2.8 per monthEntry executionMarket on openExit executionMarket on openDataNorgate Data (US Stocks Platinum) SoftwareRealTest or PythonCommission$10 per sideSlippage0.05% per sideSPY benchmarkNo fees applied (favors SPY)

What you get

RealTest by MHP Trading logo
RealTest strategy code (.rts)
Complete RealTest (.rts) strategy code. Import, backtest, and modify.
Trading strategy rules plain text document
Plain text rules
Trade it on any platform without reading the code.
Python programming logo for quantitative trading backtest
Python backtest code (.py)
Full Python script. Implements the exact same strategy rules for independent backtesting.

Quick start & live trading

RealTest trading software logo
Quick start guide
From download to first backtest in 1 minute
1
You download the .rts file
Click download
2
You open it in RealTest
File → Open → Select file
3
You import symbols
Click import
4
You run the backtest
Click test
OrderClerk automated trading execution interface
Daily live trading
For RealTest automated execution
1
Open OrderClerk
Click 'Connect to IB'
2
Import signals
Click 'Import' in RealTest
3
Generate orders
Click 'Orders' in RealTest
4
Execute trades
Click 'Place Orders'

What traders say

❝

Buying a SetupAlpha strategy didn't save me money, it saved me research time. I estimate it replaced 70–90 hours of development, debugging, and validation. Even if I never trade the strategy exactly as delivered, the research process was worth the investment.

Roman Blackwood
Roman Blackwood
Founder of AI in Trading (+13K subscribers)
❝

I've been using a strategy from SetupAlpha and I'm really impressed with its elegance and stability. The unique approach gives me a fresh perspective and ideas I can apply to other strategies I'm developing. I'm currently working on integrating it into my suite of trading strategies.

TradeQuantiX
TradeQuantiX
Multi-country systematic trader (+4.7K subscribers)
❝

I traded discretionary for over a decade and kept putting off going systematic because I did not know where to start. Having a finished, tested system to take apart was what finally got me moving.

Daniel
Daniel
Crypto trader
❝

I have run it live since 2024 and it is still in my portfolio. It also changed how I test the systems I build myself.

Systematic Traders
Systematic Traders
Algo trader & Substack writer (+6.4K subscribers)

FAQ

What is RealTest ETF Rotate Monthly Rebalance Investing Strategy?
A RealTest rotation strategy that each month ranks a basket of ETFs across equities, bonds, commodities, and crypto, then holds the few with the strongest momentum. It follows what is already trending rather than predicting, and it rebalances only once a month. Tested on data back to 2000 with commissions and slippage modeled, and trading live since January 2024.
Why should this edge keep working?
Trends in whole asset classes tend to persist for months, longer than most people expect. This strategy ranks a basket of ETFs by recent momentum and holds the strongest, re-ranking once a month. It stays with what is already working and rotates out when momentum fades, so it does not need to predict which asset class will lead. Cross-sectional momentum is one of the most studied and durable effects in the research.
Do I need RealTest to run this strategy, or can I use Python?
No, you do not need RealTest if you use Python. This strategy includes a complete, standalone Python implementation (.py) alongside the RealTest (.rts) script and plain-text rules. You can run, backtest, and modify the strategy directly in Python (using libraries like pandas, NumPy, vectorbt, etc.) with your own data source. If you prefer a turnkey trading platform, RealTest is fully supported for one-click backtests and automated live execution via OrderClerk and Interactive Brokers.
How was this backtested?
Survivorship-free Norgate data from January 2000 to the present, with out-of-sample walk-forward analysis and over 1000 Monte Carlo simulations to test stability.
Are transaction costs included?
Yes. The results include Interactive Brokers commissions, slippage of 0.05% per side, so the equity curve is after costs.
When did live trading start?
Live trading started in January 2024. The equity curve shows the backtest from 2000 and real performance from that point on.
What's included in the download?
Complete RealTest .rts source code. Full Python implementation (.py script for independent backtesting). Plain-text trading rules document. Full documentation with parameter explanations.
How does it compare to SPY?
The chart at the top plots this strategy against SPY, the S&P 500 ETF, from 2000 with both starting at $100,000. A metrics table lists the exact numbers side by side: Sharpe, Sortino, net profit and worst year, for the strategy and for SPY over the same period.
Can I modify the code?
Yes. You get the complete source code (both RealTest and Python) with a perpetual single-user license. You can freely adjust parameters, rewrite position sizing, combine rules with other strategies, or embed the logic into your own custom quant pipeline.
What market data do I need?
For RealTest, Norgate Data (US Stocks Platinum) is recommended for survivorship-free testing. For Python, you can use your own historical data (CSV/Parquet), Norgate, or free sources like Yahoo Finance for exploratory testing. The benchmark backtest metrics shown here use survivorship-free Norgate Platinum data.
Can I automate execution?
Yes. For RealTest users: daily signals are generated in RealTest and automated via OrderClerk directly to Interactive Brokers (automation course available). For Python users: you can generate signals directly in your Python workflow and route orders to Interactive Brokers (via the IBKR API / ib_insync) or any broker that supports an API.
Can I ask questions about the code or the strategy?
Yes. Email info@setupalpha.com and you will get an answer, before or after you buy.

Changelog

2024-01-08Rules finalised. Live tracking starts.

No rule changes since.

Portfolio growth since 2000
1,439.7%
SPY same period: 489.0%
$999one-time
Instant download
MetricStrategySPY
Sharpe0.880.48
ROR10.76%–
Sortino0.70.45
MAR0.58–
Net profit$1.4M$489k
Expectancy9.03%–
Max exposure100.8%100%
Worst year-2.2%-33.2%

Download the complete strategy now

Active Script - C:\REALTEST\Strategies\etf_rotation_monthly_rebalance.rts
RealTest ETF Rotate Monthly Rebalance Investing Strategy full RealTest script
Python programming logo for quantitative trading backtest
Python backtest code (.py)
Full Python script. Implements the exact same strategy rules for independent backtesting.
RealTest ETF Rotate Monthly Rebalance Investing Strategy
$999one-time
Instant download