Research note

Strategy concepts

Four strategies built on the composite score, plus the five stats that describe them: CAGR, Sharpe, max drawdown, time in market, and hit rate.

1 min read

The /strategy page converts the composite score into actual P&L. Four strategies, all rebalanced on the backtest cadence (default weekly), with configurable transaction cost, no look-ahead:

  • Directional — long SPY when composite ≥ +20, cash otherwise.
  • Contrarian — long SPY when composite ≤ −20, cash otherwise.
  • Plumbing-defensive — long SPY always except when the kill switch trips.
  • Buy-and-hold — the benchmark.

Stats explained

  • CAGR — compound annual growth rate. The single number for "how fast did it grow."
  • Sharpe ratio — risk-adjusted return. mean(daily_return) / std(daily_return) × √252. Higher is better; 0.5 is mediocre, 1.0 is good, 2.0 is exceptional.
  • Max drawdown — biggest peak-to-trough loss along the equity curve. A higher CAGR with a worse drawdown isn't obviously better; allocators care about both.
  • Time in market — fraction of days with non-zero position. A 100% in-market strategy has no opportunity cost from cash; a 30% in-market strategy is mostly sitting out.
  • Hit rate — fraction of closed entry-to-exit trade pairs that finished profitable. Watch out for small samples (a 100% hit rate over 2 trades is not the same signal as 60% over 50).

This article is also a chapter of the Education page.

Not financial advice

Built for education. Backtests are historical; they do not predict future returns and are not a recommendation to buy or sell any security.

connecting…