Playbooks

Chip Momentum Rotation: +428% Backtest on 10 Semiconductor Perps

Published

Ten chip stocks, one question every Monday: which ones are still climbing? This strategy holds up to four semiconductor perpetuals with the strongest six-month trend and puts the rest of the money in cash. From 2022 to October 2026, $10,000 grew to about $52,800 in the backtest. The strategy needs only one factor and about fifteen lines of code.

  • Universe: NVDA, AMD, TSM, MU, INTC, AVGO, AMAT, ASML, MRVL and QCOM, traded as USDC-margined perpetuals
  • Data: daily bars, 2022-01-01 to 2026-10-28
  • Rebalance: every Monday, long only, 1x leverage

How it works

  1. Measure the trend. For each chip, compute the price change from 125 trading days ago to 5 trading days ago. This is roughly a six-month return that leaves out the most recent week.
  2. Drop the losers. Any chip with a zero or negative score is out. The strategy does not buy a stock that is falling.
  3. Pick the leaders. Rank the remaining chips and keep the top four.
  4. Fill four equal slots. Each pick gets 25% of the account. If fewer than four chips qualify, the empty slots stay in cash.
  5. Repeat next Monday. The strategy does not trade between rebalances.
Measured window (120 days) Skipped: last 5 days momentum 125 days ago today (Monday)
The score compares the price 5 days ago with the price 125 days ago. The strategy ignores the latest week.
momi=Pi, t−5Pi, t−125−1\text{mom}_i = \frac{P_{i,\,t-5}}{P_{i,\,t-125}} - 1
wi={14if momi>0 and i is in the top 40otherwisew_i = \begin{cases} \tfrac{1}{4} & \text{if } \text{mom}_i > 0 \text{ and } i \text{ is in the top 4} \\ 0 & \text{otherwise} \end{cases}

The rule "only positive scores" also controls risk. When most chips are rising, the strategy is fully invested. When most are falling, it holds mostly cash.

Strong market Weak market top 4 only 1 positive 25% 25% 25% 25% 25% cash cash cash 100% invested 25% invested, 75% cash
Illustrative scores for the 10 chips, sorted from highest to lowest. Green bars are bought, grey bars are positive but below the top four, and red bars are excluded.

Backtest results

+428.48%

Annual return

+41.18%

1.02

Max drawdown

45.41%

  • Total return: +428% against +325% for the backtest's benchmark over the same period
  • Annual return: 41.2%, with a Sharpe ratio of 1.02
  • Maximum drawdown: 45.4%, mostly in the 2022 chip bear market
  • Costs: 438 trades cost 2.2% of capital in total, at 0.03% friction per trade. The backtest reports no funding cost.
  • Exposure: 84.7% of capital invested on average. The account was fully in cash from July to October 2022.
  • Hit rate: 32 of 58 months were positive. The best month was April 2026 at +43.6%, and the worst was July 2026 at −29.9%.
−43.7% +95.3% +60.8% +19.6% +149.9% 2022 2023 2024 2025 2026*
Return by calendar year, compounded from the monthly results. *2026 covers January to October only.
J F M A M J J A S O N D 2022 2023 2024 2025 2026 loss all cash gain darker = bigger move
Monthly returns from January 2022 to October 2026. The four dashed cells are July to October 2022, when no chip had a positive score.

The results are uneven. By the end of 2025 the account was up about 112%. Most of the remaining gain came in 2026, when four months returned between 25% and 44%. A momentum strategy usually earns its money this way: long periods of modest results, then a few strong trends that pay for everything else.

Why it works

1. Trends in stocks tend to continue

Stocks that rose over the past three to twelve months have tended to keep outperforming for a while. Academic research has documented this momentum effect since the early 1990s. Investors react slowly to news, and capital flows into winners in stages. Chip stocks are a good fit for this. Their business moves in long cycles of demand, capital spending and inventory, so a rally or a slump in the group often lasts for many months.

2. Ten similar stocks still diverge widely

All ten companies make or enable semiconductors, but their results differ a lot. Over any six-month window, some lead strongly while others fall behind. Momentum earns more when this gap between leaders and laggards is wide. Holding only the top four lets the strategy follow the leaders and avoid the laggards, without needing to know why they lead.

3. Skipping the last week avoids buying spikes

Stocks that jumped in the past few days often give some of the gain back. This is called short-term reversal. Ending the window five days ago means the score reflects the medium-term trend rather than last week's spike. Classic momentum research uses the same idea when it skips the most recent month.

4. The cash rule limits damage in bear markets

Ranking alone would always hold four chips, even in a crash. The positive-score filter adds an absolute check: a chip is bought only if its own trend is up. 2022 shows both how well this works and where it fails.

Invested: −40% by April 100% cash J F M A M J J A S O N D
Strategy returns by month in 2022. January lost 19.7% and April lost 17.1%. From July to October every chip had a negative six-month score, so the strategy held only cash.

The six-month window responds slowly. At the start of 2022, chips still had positive trends from the 2021 rally, so the strategy stayed invested as the group turned down. That cost about 40% by April and accounts for most of the 45% maximum drawdown. Once the trends turned negative, the filter moved the account to cash and kept it out of the rest of the bear market. Then it bought back in as the 2023 recovery started. The same delay explains the losses in early 2025 (about −29% from February to April) and in July 2026 (−29.9%).

Keep the risks in mind. The strategy holds one sector with four concentrated positions, and a large share of the gain came from one exceptional year. A 45% drawdown is a real possibility with this design.

Ideas to improve it

Idea 1: Size positions by volatility

Every pick gets 25%, whether it is a calm stock or one that swings 5% a day. The large monthly losses suggest that the most volatile picks drive the drawdowns. One fix is to scale down each position when its recent volatility is high. Calm names keep the full slot, wild names get a smaller one, and the rest stays in cash. The goal is a smaller drawdown with most of the trend still captured.

Idea 2: Blend fast and slow momentum

The single 125-day window reacted late in early 2022 and again in early 2025. Averaging three windows of about 1, 3 and 6 months, all skipping the last week, should let the score turn negative sooner when a trend breaks. It still uses the six-month window, so most long trends stay in the portfolio. The cost is likely more trades and some whipsaws. The backtest will show whether faster exits are worth that cost.

The base strategy is one factor, one filter and one ranking. You can apply the same template to banks, energy stocks, crypto majors or any group of assets you know well. Pick a universe, choose a lookback and run your own backtest.

Built by an AlphaPilot user. Historical backtest results do not predict future returns. Not investment advice.