Playbooks

Semiconductor Model Rotation: Weekly Top-5 Chip Picks, +149%

Published

The idea: pick a group of related stocks and let a trained model score each one. Every Monday, buy the five highest scores in equal amounts and hold them for one week. An AlphaPilot user tested this on 11 semiconductor perpetual futures from June 2025 to October 2026. Starting from $10,000, the account grew to about $24,900.

How it works

The strategy trades 11 chip-stock perps: AMAT, AMD, ASML, AVGO, INTC, MRVL, MU, NVDA, QCOM, TSM and ARM. It uses daily bars but trades only on Mondays.

  1. Score. A machine-learning model, predict('m_6ad6df8da7a22667c4005df3'), gives each stock one number. A higher score means the model expects that stock to do better.
  2. Filter. Stocks with no score that day are dropped.
  3. Rank. The remaining stocks are sorted from highest score to lowest, and the top 5 are kept.
  4. Rebalance. The account is split evenly across those 5 stocks, 20% each. Stocks that fall out of the top 5 are sold.
11 semiconductor perps NVDA, AMD, TSM, AVGO, ASML + 6 more Model scores every stock One number per stock; missing scores dropped Monday: rank, keep the top 5 The other 6 are not held this week Rebalance to 20% each Hold for one week, long only, no leverage every Monday
One weekly cycle. Nothing happens Tuesday through Sunday.

Each week, every stock gets this weight:

wi={15if i∈Top5(score)0otherwisew_i = \begin{cases} \dfrac{1}{5} & \text{if } i \in \text{Top}_5(\text{score}) \\[4pt] 0 & \text{otherwise} \end{cases}

The core of the code is just a few lines:

if bar.weekday() != 0: return          # Mondays only
top = sorted(scores, key=scores.get, reverse=True)[:5]
self.rebalance({s: 1/len(top) for s in top})

Backtest results

Test period: 26 June 2025 to 19 October 2026, daily bars, $10,000 starting capital, 1× leverage, 0.03% cost per trade.

+149.24%

Annual return

+99.97%

1.80

Max drawdown

30.48%

  • Total return: +149.2%, about 100% a year.
  • Sharpe ratio: 1.80.
  • Maximum drawdown: 30.5%.
  • Benchmark: +151.8% over the same period.
  • Trades: 398. Fees cost about 3.3 percentage points of return.
  • Exposure: on average, 99% of the account was invested, all of it long.
40% 20% 0% −20% +46% +41% −23% JJASOND JFMAMJJASO 2025 2026
Monthly returns. June 2025 and October 2026 are partial months.

Two things stand out in the monthly chart:

  • The gains were concentrated. April and May 2026 together roughly doubled the account (×2.06). The other 15 months together returned only about +21%.
  • The pullback was sharp. July 2026 lost 23% and October 2026 lost 12%. From the end of June 2026 to the end of the test, the month-end balance fell about 26%.

Why it works

1. It rides a strong sector. The strategy is almost always fully invested in chip stocks. In this period, the sector itself rose about 152%. Most of the strategy's return comes from simply owning semiconductors during that run.

Benchmark +151.8% Strategy +149.2% Fees paid −3.3 pts
Before fees, the strategy made about +152.5%, roughly the same as the benchmark.

2. Five stocks spread the risk. Holding 5 stocks at 20% each means one bad earnings report hurts only a fifth of the account. Each week, the portfolio still differs from the full group of 11 stocks.

3. Weekly trading keeps costs low. A rebalance once a week led to 398 trades in 16 months. Fees took about 3.3 points of return. A daily version would trade much more and pay more.

4. The model is the part still to prove. The strategy matched the benchmark but did not beat it. So in this test, the model's stock picks added little edge beyond owning the sector. That is a useful result. The return is real, but the backtest gives no evidence that this model can pick winners. The second improvement below tests the model directly.

Note: these are perpetual futures, and the backtest recorded no funding cost. In live trading, funding payments on long positions can reduce returns.

Ideas to try next

1. Add a trend filter to soften drawdowns

The 30% drawdown came while the strategy stayed fully invested through falling markets. A simple rule: buy a stock only if its price is above its own 50-day moving average. Otherwise, keep its 20% slot in cash. This could cut losses in months like July 2026, though it may also miss some of the rebound.

2. Go market-neutral to test the model itself

Buy the 3 highest-scoring stocks and short the 3 lowest-scoring stocks in equal amounts. The longs and shorts offset each other, so the sector's overall move mostly cancels out. If this version makes money, the model really can tell stronger chip stocks from weaker ones. If it does not, the original result came from the sector.

You can use the same recipe on any group of related stocks: score them, rank them each week, and hold the leaders. Try it on a sector you know well.

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