clause

Start from this strategy

Sign up to remix

Once you have an account, this opens in your Terminal as a draft of your own.

CLAUSE · BACKTEST REPORT · HYPOTHETICAL PERFORMANCE

Semis basket, trend-gated

“make me an equal-weight basket of the big chip names, rebalanced monthly, and hold it only while the basket trades above its own 100-day average, otherwise park in BIL”

Tested over May 2007 to October 2026. On data sealed Oct 15, 2026. Published 15 October 2026.

The contract

  1. 1. Universe. Trade only the semis basket, BIL.
  2. 2. Basket. The semis basket holds NVDA, AMD, AVGO, TSM, MU, QCOM, AMAT, LRCX equal weight, rebalanced monthly; a member joins at the first rebalance after it lists and drops if it stops trading.
  3. 3. Signal. Each trading day at 09:35 ET, read the semis basket’s close price.
  4. 4. Signal. Also read the semis basket’s 100-day simple moving average.
  5. 5. Entry. If the semis basket’s close price exceeds the semis basket’s 100-day average, set the target allocation of the semis basket to 100% and set the target allocation of BIL to 0%.
  6. 6. Entry. Otherwise, set the target allocation of the semis basket to 0% and set the target allocation of BIL to 100%.

Equity vs SPY, dividends reinvested

STRATEGYSEMIS BASKET BUY-AND-HOLDHOLDINGSSPY, DIVIDENDS REINVESTEDlog scale
−50%+0%+400%+1,900%+4,900%+9,900%20072011201520192023100%0%
HOLDINGS8 names at a time, 9 over the run

Tear sheet

TOTAL

+5,955%

CAGR

+23.6%

VOL

24.5%

SHARPE

0.94

SPY SHARPE

0.57

BUY-AND-HOLD SHARPE

0.83

SORTINO

1.35

MAX DD

−48.3%

LONGEST DD

812 days

BETA

0.56

GROSS

99.8%

GROSS MAX

100%

NET

+99.8%

LONG

100%

SHORT

0.0%

TRADES

2981

TURNOVER

1,047%

COST DRAG

1.1%

CAPACITY

$98,483 (BIL)

FINAL VALUE

$6,055,307 from $100,000

MARGIN NOTES

most of the return came from 2022-08-01 to 2026-06-22: one stretch carries the result

Per-clause attribution

What each clause earned while its decision governed the portfolio, holds included; these add up to the total return. The second figure re-runs the backtest with that clause removed and shows how the result would change.

EARNEDWITHOUT
Clause 5
+5,962%−5,925%
Clause 6
−7.0%+7,332%

About these numbers

Window

Tested from May 30, 2007 to Oct 14, 2026. On a copy of the market sealed Oct 15, 2026.

Fills

Orders fill at the next open, 5 basis points each way.

Borrow

Every short pays 0.3% a year on the value of the position for each calendar day it is held. Where our data carries short interest, the rate steps up with short interest as a percent of shares outstanding, using the figure that was public before each session.

An assumption, not a record: we hold no historical borrow rates.

Short interestBorrow
20% of shares outstanding or more12% a year
10% of shares outstanding or more4% a year
5% of shares outstanding or more1.5% a year
under 5%, or none on file0.3% a year

Dividends

Cash dividends are credited on the ex-date to whoever held the shares at the close before it: a long receives them, a short pays them, and the cash is reinvested at the next open. Capital gain distributions and dividends paid in stock are not modelled..

Margin

No margin interest, no maintenance calls modelled.

Delistings

A holding that stops trading exits at the last print held.

Halts

Treated like a delisting.

Attribution

Each clause's share of the result is measured by re-running the backtest without it.

Hypothetical performance on historical data. The same contract on the same data and cost model reproduces this number exactly. Backtests are not indicative of future results.

Share this strategy

A strategy that reads a whole index can take a few minutes the first time.

Semis basket, trend-gated · Clause