Playbooks

Risk-Adjusted Momentum Long/Short: +451% in 18 Months, Sharpe 4.0

Published

Buy the assets that are rising steadily. Short the ones that are falling steadily. Keep both sides the same size so the market's direction mostly cancels out. One AlphaPilot user built this idea in about fifteen lines of code. They tested it on daily bars from April 2025 to September 2026. Over that period it turned $10,000 into about $55,000, while the benchmark lost 36.8%.

+450.96%

Annual return

+211.62%

3.99

Max drawdown

12.36%

How it works

The strategy trades the "head" universe, a group of the most liquid markets. Once a day it gives every asset one score: the asset's 14-day return divided by how much its price swung each day over those same 14 days.

scoret=Pt/Pt−14−1std⁡(rt−13,…,rt),rt=PtPt−1−1\text{score}_t = \frac{P_t / P_{t-14} - 1}{\operatorname{std}\left(r_{t-13}, \dots, r_t\right)}, \qquad r_t = \frac{P_t}{P_{t-1}} - 1

A high score means the asset gained a lot without large daily swings. A very negative score means it fell steadily. Next, the strategy ranks all assets by score and builds the portfolio:

  • Long the top 20% of the ranking.
  • Short the bottom 20%.
  • Skip everything in between.
  • Each side gets 50% of capital, split equally across its positions. Each side always holds at least 2 assets.
  • If fewer than 10 assets have a valid score, it skips the day and keeps its current positions.
w=0.5k,k=max⁡(2,⌊0.2 n⌋)w = \frac{0.5}{k}, \qquad k = \max\left(2, \lfloor 0.2\, n \rfloor\right)
One day's ranking (example with 10 assets) Asset A LONG 25% Asset B LONG 25% Asset C no position Asset D no position Asset E no position Asset F no position Asset G no position Asset H no position Asset I SHORT 25% Asset J SHORT 25% Bar length = score (14-day return ÷ 14-day volatility)
With 10 assets, k = 2. The two best scores go long at 25% of capital each, and the two worst go short at 25% each. The ranking is rebuilt every day.

The results

Over 18 months the strategy returned +451%, or 211.6% a year. The Sharpe ratio was 3.99, and the worst peak-to-trough drop was 12.4%. Over the same period the benchmark lost 36.8%. The gains were also consistent: 16 of 18 months were positive, and the two losing months lost only 1.1% and 0.9%.

30% 20% 10% 0% +29.8% AMJ JAS OND JFM AMJ JAS 2025 2026
Monthly returns. The strategy made money in a falling market because it does not depend on the market's direction.

These results are after costs, and the costs were large. The backtest made 5,629 trades, roughly ten a day, with a friction of 0.03% per trade. Trading fees reduced the return by 22.3 percentage points, and funding payments took another 15.5. The strategy stayed profitable after both, but this shows where it can most easily be improved.

Why it works

1. Trends tend to continue

Prices often keep moving in the same direction for days or weeks. News spreads slowly, buyers and sellers react late, and a move tends to attract more traders. A 14-day window is long enough to show a trend and short enough to change with the market.

2. A steady trend is more reliable than a spike

Ranking by raw return alone would fill the portfolio with the most volatile assets. Their large moves are often noise or one-off spikes that soon reverse. Dividing the return by volatility works like a 14-day Sharpe ratio. Smooth trends rank high and erratic moves rank low.

Steady climb Choppy climb +20% in 14 days +20% in 14 days High score → long Low score → skipped
Both assets gained the same amount. The volatility adjustment chooses the one whose trend is clearer.

3. The market's direction cancels out

On average the long side used 49.8% of capital and the short side 49.6%. When the whole market falls, the longs lose and the shorts gain, and the two roughly offset each other. The strategy profits from the gap between leaders and laggards, not from the market going up. While the benchmark fell 37%, the weakest assets kept falling and the short side earned money.

Short book Long book −49.6% of capital +49.8% of capital Net ≈ +0.2%: market moves mostly cancel
Average exposure over the backtest. The two sides were almost exactly the same size.

Keep in mind

A Sharpe ratio near 4 is rare. This test covers 18 months of one market environment, and the costs show how sensitive the strategy is to trading frequency. Before you trust the edge, test it on other periods and with higher fees.

Ideas to try next

Cut turnover with a holding buffer

Fees cost 22 percentage points, mostly because assets near the 20% cut-off move in and out of the portfolio every day. A buffer fixes this. An asset enters at the top 20% but stays until it drops out of the top 40%, and the short side works the same way. The strategy keeps most of its trend exposure and makes far fewer trades.

Blend several trend lengths

A single 14-day window can miss trends that are faster or slower. Score each asset with the same volatility-adjusted formula over 7, 14 and 30 days, then average its ranks. An asset that leads on all three windows has a more robust trend than one that leads on only one.

This whole strategy is one formula and one ranking rule. What is your idea? Describe it to AlphaPilot and see how it performs.

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