Project, Fall 2026
Does a plain twelve-month trend signal make money on commodity futures after costs, and how sure can we be that it isn't luck?
A rules-based long/short trend-following strategy on a basket of liquid commodity futures, backtested the way a systematic desk would review it: lookahead-free, gross and net of costs, volatility-targeted, benchmarked, with parameter sensitivity and an explicit overfitting discussion.
In short: each month, go long the commodities that rose over the past year and short the ones that fell, with each position sized to carry the same risk.
For each of 13 commodity futures, compare today's price with its price 12 months (252 trading days) ago: higher means long, lower means short. Positions are reset on the last trading day of each month. This is plain time-series momentum as documented by Moskowitz, Ooi and Pedersen (2012), and no parameter was chosen by looking at this data.
Three textbook mechanisms make trend more than a coin flip:
None of these is a guarantee. The aim is to test an off-the-shelf version honestly, not to find the best-performing variant.
Every parameter was fixed in a configuration file before the first backtest ran.
In short: 25 years of free daily futures prices, cleaned by fixed rules and frozen in a snapshot, so every number on this page can be reproduced.
In short: a small positive return after costs, but too weak to rule out luck.
From April 2001 to September 2026 the strategy made 3.14% a year net of costs at 10.82% volatility: a net Sharpe ratio of 0.34 (0.37 before costs), with a worst drawdown of −40.42%. It survived its own costs and held up out of sample.
It is not a strong result. The Sharpe's 95% bootstrap interval runs from −0.04 to 0.72, and once the 192 configurations tested are accounted for, the Deflated Sharpe Ratio is 0.324: the result cannot be told apart from the best of 192 lucky draws.
The equal-weight long-only basket of the same futures did better (Sharpe 0.71), largely because the free price series never pay the cost of rolling contracts, which flatters any long position. The Bloomberg Commodity Index, which does roll, made 0.88% a year (Sharpe 0.14) over the same window.
| Metric | Strategy (gross) | Strategy (net) | EW long-only (net) | EW vol-targeted (net) | ^BCOM |
|---|---|---|---|---|---|
| Annualised return | 3.43% | 3.14% | 10.48% | 6.85% | 0.88% |
| Annualised volatility | 10.82% | 10.82% | 15.70% | 10.66% | 16.21% |
| Sharpe ratio | 0.37 | 0.34 | 0.71 | 0.67 | 0.14 |
| Sortino ratio | 0.52 | 0.48 | 1.02 | 0.96 | 0.19 |
| Max drawdown | -39.46% | -40.42% | -48.19% | -41.32% | -75.00% |
| Max drawdown duration (days) | 1562 | 2442 | 2445 | 2700 | 4534 |
| Calmar ratio | 0.09 | 0.08 | 0.22 | 0.17 | 0.01 |
| Hit rate (daily) | 51.58% | 51.51% | 53.01% | 53.01% | 51.54% |
| Hit rate (monthly) | 53.27% | 52.29% | 59.48% | 59.80% | 52.63% |
| Skew | -0.11 | -0.11 | -0.15 | -0.22 | -0.27 |
| Excess kurtosis | 2.25 | 2.25 | 2.88 | 2.12 | 2.68 |
| Best month | 11.42% | 11.39% | 14.16% | 9.16% | 12.99% |
| Worst month | -11.76% | -11.77% | -18.24% | -11.54% | -21.34% |
| Turnover (x per year) | 5.59 | 5.59 | 0.02 | 0.91 | n/a |
| Average gross leverage | 1.10 | 1.10 | 1.00 | 0.74 | n/a |
| Leverage cap binds (share of days) | 0.00% | 0.00% | n/a | 0.00% | n/a |
| Average instruments live | 12.80 | 12.80 | 13.00 | 13.00 | n/a |
| Sharpe t-statistic | 1.85 | 1.71 | 3.60 | 3.40 | 0.68 |
| Sharpe CI low (bootstrap) | -0.01 | -0.04 | 0.31 | 0.25 | -0.27 |
| Sharpe CI high (bootstrap) | 0.74 | 0.72 | 1.13 | 1.11 | 0.55 |
| Probabilistic Sharpe (vs 0) | 0.967 | 0.957 | 1.000 | 1.000 | 0.751 |
| Trials counted | 192 | 192 | 1 | 1 | 1 |
| Sharpe hurdle (DSR) | 0.43 | 0.43 | 0.00 | 0.00 | 0.00 |
| Deflated Sharpe | 0.372 | 0.324 | 1.000 | 1.000 | 0.751 |
| Days | 6410 | 6410 | 6410 | 6410 | 6356 |
| First day | 2001-04-02 | 2001-04-02 | 2001-04-02 | 2001-04-02 | 2001-04-02 |
| Last day | 2026-09-07 | 2026-09-07 | 2026-09-07 | 2026-09-07 | 2026-07-17 |
Three things to read off the figures:
Log scale. Weekly closes, April 2001 to September 2026; the index ends in July 2026.
| Year end | Strategy (gross) | Strategy (net) | EW long-only (net) | EW vol-targeted (net) | Bloomberg Commodity Index |
|---|---|---|---|---|---|
| 2001 | 1.02 | 1.02 | 0.91 | 0.91 | 0.85 |
| 2002 | 1.07 | 1.07 | 1.22 | 1.18 | 1.07 |
| 2003 | 1.08 | 1.07 | 1.46 | 1.39 | 1.28 |
| 2004 | 1.14 | 1.13 | 1.65 | 1.52 | 1.38 |
| 2005 | 1.23 | 1.21 | 2.16 | 1.85 | 1.62 |
| 2006 | 1.38 | 1.36 | 2.49 | 2.01 | 1.58 |
| 2007 | 1.40 | 1.37 | 3.26 | 2.43 | 1.75 |
| 2008 | 1.42 | 1.39 | 2.45 | 2.28 | 1.07 |
| 2009 | 1.37 | 1.35 | 3.67 | 2.71 | 1.32 |
| 2010 | 1.58 | 1.54 | 5.17 | 3.44 | 1.54 |
| 2011 | 1.50 | 1.46 | 4.81 | 3.27 | 1.34 |
| 2012 | 1.39 | 1.35 | 4.93 | 3.24 | 1.32 |
| 2013 | 1.57 | 1.52 | 4.53 | 3.00 | 1.21 |
| 2014 | 1.83 | 1.77 | 4.00 | 2.68 | 1.01 |
| 2015 | 1.97 | 1.90 | 3.36 | 2.35 | 0.75 |
| 2016 | 1.55 | 1.49 | 4.06 | 2.70 | 0.83 |
| 2017 | 1.48 | 1.41 | 4.27 | 2.82 | 0.84 |
| 2018 | 1.45 | 1.39 | 4.05 | 2.69 | 0.74 |
| 2019 | 1.34 | 1.27 | 4.48 | 2.92 | 0.77 |
| 2020 | 1.49 | 1.41 | 5.58 | 2.88 | 0.74 |
| 2021 | 1.78 | 1.68 | 7.36 | 3.54 | 0.94 |
| 2022 | 1.88 | 1.77 | 8.19 | 3.89 | 1.07 |
| 2023 | 1.82 | 1.71 | 7.73 | 3.73 | 0.94 |
| 2024 | 1.82 | 1.71 | 8.51 | 4.08 | 0.93 |
| 2025 | 2.30 | 2.14 | 10.16 | 4.74 | 1.07 |
| 2026 | 2.36 | 2.20 | 12.61 | 5.39 | n/a |
| Series | Worst weekly-close drawdown |
|---|---|
| Strategy (net) | -40.42% |
| EW long-only (net) | -48.19% |
In short: across 192 variations of the rules, the pre-set default ranks near the top, twelve-month trend is the strongest setting, and most variants earn little after costs.
192 configurations. Lookback (63, 126, 189 or 252 days) × volatility window (20, 60 or 120 days) × estimator (rolling or EWMA) × rebalancing (monthly or daily) × skip (0 or 21 days) × lag (1 or 2 days), each at costs of 0, 5, 10 and 20 bps. Every configuration counts as a trial for the Deflated Sharpe Ratio, whether or not it was ever looked at.
At 5 bps the net Sharpe ratios range from −0.29 to 0.47, with a median of 0.12, and 74.5% are positive. The pre-set default, 0.34, ranks 12th of 192. The best (0.47) is the default with a 120-day volatility window and daily rebalancing; the worst (−0.29) is a 63-day lookback with a 20-day window and a two-day lag.
Other parameters at their a-priori defaults; the default cell is outlined.
Lookback and volatility window. With the other settings at their defaults, the 252-day row reads 0.27, 0.34 and 0.41 across windows of 20, 60 and 120 days: the longest lookback is the best row, and a longer window helps. The 63-day row is negative everywhere. The result belongs to twelve-month trend, not to one tuned cell.
Costs. The default's Sharpe falls from 0.37 with no costs to 0.34 at 5 bps, 0.31 at 10 bps and 0.26 at 20 bps. The grid median crosses zero between 10 and 20 bps, and the share of positive trials falls from 96% to 36%. A monthly twelve-month signal is cheap to trade; most of the grid is not.
| One-way cost | Default Sharpe | Grid median | Grid 25th pct | Grid 75th pct |
|---|---|---|---|---|
| 0 bps | 0.37 | 0.20 | 0.11 | 0.31 |
| 5 bps | 0.34 | 0.12 | -0.01 | 0.23 |
| 10 bps | 0.31 | 0.02 | -0.13 | 0.17 |
| 20 bps | 0.26 | -0.11 | -0.40 | 0.08 |
Execution lag. Trading two days after the signal instead of one takes the net Sharpe from 0.34 to 0.28 (gross 0.37 to 0.31).
In short: choosing the lookback on data up to 2012 would have picked the same twelve months, and it held up from 2013 on.
The test. Only the lookback is chosen, on net Sharpe up to 31 December 2012, and then measured from 1 January 2013. The selection picks 252 days, the pre-set value, so here tuning cost nothing: the out-of-sample Sharpe of the selected lookback is 0.38, the same as the default's.
| Lookback | In sample | Out of sample | Change | Selected | A priori |
|---|---|---|---|---|---|
| 63 days | 0.18 | -0.21 | -0.39 | ||
| 126 days | 0.27 | 0.07 | -0.19 | ||
| 189 days | -0.01 | 0.19 | 0.20 | ||
| 252 days | 0.29 | 0.38 | 0.08 | yes | yes |
Why selection is still risky. The 63-day lookback, 0.18 in sample, is −0.21 out of sample, and the 126-day one falls from 0.27 to 0.07. The in-sample numbers are computed blind to the later returns, and a test proves it.
In short: the return was uneven: strong before 2008 and after 2020, negative from 2014 to 2019, and it lost money in stressed markets.
By period. The net Sharpe by calendar block is 0.52 (2001–2007), 0.21 (2008–2013), −0.23 (2014–2019) and 0.80 (2020 on); the long-only basket's are 1.32, 0.36, 0.06 and 1.04. 16 of 26 calendar years were positive net. The best was 2025 at +24.60% and the worst 2016 at −21.62%, the year the 2014–2016 commodity bear market reversed.
| Year | Strategy (net) | EW long-only (net) |
|---|---|---|
| 2001 | 2.92% | -9.73% |
| 2002 | 2.61% | 33.92% |
| 2003 | 1.15% | 20.74% |
| 2004 | 5.90% | 12.90% |
| 2005 | 7.32% | 31.10% |
| 2006 | 11.74% | 15.25% |
| 2007 | 1.70% | 31.49% |
| 2008 | -0.06% | -21.61% |
| 2009 | -2.32% | 43.12% |
| 2010 | 14.65% | 40.76% |
| 2011 | -5.33% | -6.89% |
| 2012 | -7.51% | 2.60% |
| 2013 | 13.24% | -9.68% |
| 2014 | 17.06% | -12.24% |
| 2015 | 5.85% | -14.08% |
| 2016 | -21.62% | 20.65% |
| 2017 | -4.98% | 5.17% |
| 2018 | -2.26% | -6.14% |
| 2019 | -8.03% | 11.62% |
| 2020 | 10.83% | 24.73% |
| 2021 | 19.51% | 31.99% |
| 2022 | 5.05% | 11.29% |
| 2023 | -3.13% | -5.61% |
| 2024 | -1.24% | 10.62% |
| 2025 | 24.60% | 15.65% |
| 2026 | 4.26% | 27.51% |
Over time. The rolling three-year net Sharpe is positive in 78.7% of windows, from −1.10 in the window ending January 2019 to 1.27 in the window ending March 2022.
| Year end | Strategy (net) | EW long-only (net) |
|---|---|---|
| 2004 | 0.41 | 1.50 |
| 2005 | 0.43 | 1.39 |
| 2006 | 0.73 | 1.15 |
| 2007 | 0.68 | 1.65 |
| 2008 | 0.43 | 0.28 |
| 2009 | 0.04 | 0.67 |
| 2010 | 0.35 | 0.73 |
| 2011 | 0.23 | 1.15 |
| 2012 | 0.04 | 0.66 |
| 2013 | 0.03 | -0.18 |
| 2014 | 0.59 | -0.44 |
| 2015 | 1.07 | -1.01 |
| 2016 | -0.01 | -0.22 |
| 2017 | -0.64 | 0.23 |
| 2018 | -0.93 | 0.65 |
| 2019 | -0.39 | 0.44 |
| 2020 | 0.05 | 0.69 |
| 2021 | 0.64 | 1.37 |
| 2022 | 1.01 | 1.18 |
| 2023 | 0.70 | 0.77 |
| 2024 | 0.07 | 0.36 |
| 2025 | 0.64 | 0.60 |
| 2026 | 0.75 | 1.19 |
Calm versus stress, with hindsight. Call a day "stressed" when the basket's 60-day volatility is above its full-sample 75th percentile, a threshold known only after the fact, so this describes the past rather than giving a tradable rule. The strategy made 6.06% a year (Sharpe 0.60) on the 76% of calm days and lost 5.54% a year (Sharpe −0.48) on the 24% of stressed days, while the basket made 12.58% and 4.10%. It did not earn its keep in commodity crises, the opposite of the "crisis alpha" trend-following is often sold on: with monthly rebalancing and a twelve-month lookback it is slow to turn, and 2020 and 2022 both reversed inside a month.
The strategy earns when a shock extends a trend the twelve-month signal has had time to follow (oil collapse, COVID in March and April, tariffs 2025). It loses when a shock reverses that trend (2016, Hormuz). It survives fast crashes through smaller size, not direction (2008, January 2026).
| Episode | Window | Net exposure going in | Strategy, net | Vol-targeted basket | BCOM |
|---|---|---|---|---|---|
| 2008 crisis | 1 Jul 2008 – 27 Feb 2009 | +0.62× | −7.9% | −17.9% | −54.5% |
| Oil collapse | 20 Jun 2014 – 20 Jan 2016 | +0.13×, −0.85× by Sep 2014 | +26.9% | −32.9% | −46.5% |
| 2016 reversal | 21 Jan – 30 Dec 2016 | −0.77× | −24.3% | +21.3% | +20.1% |
| COVID | 2 Jan – 30 Apr 2020 | +1.27× | +5.8% | −21.3% | −24.7% |
| Ukraine | 1 Feb – 30 Jun 2022 | +0.55× | +7.6% | +6.4% | +8.5% |
| Tariffs 2025 | 2 Jan – 5 Aug 2025 | −0.05× | +11.5% | +1.9% | +1.6% |
| Metals blow-off | 2 Jan – 6 Feb 2026 | −0.14× | +2.7% | +4.9% | +7.5% |
| Hormuz | 2 – 31 Mar 2026 | +0.06× | −5.3% | +3.3% | +11.2% |
Returns are compounded over each window; net exposure is the book's net leverage on the first day of the window.
Read moreIn short: the book was net long about as often as net short, and it never came close to its leverage cap.
Gross leverage averaged 1.10× and peaked at 2.23×, so the 3× cap never bound on a single day. Net leverage swings between about -1.4× and +1.3× and crosses zero often: the book is net long about as often as net short, which is why the roll-yield flattery of the long-only basket reaches it only in part.
Month-end values, the state of the book after each monthly rebalance.
| Year end | Gross | Net | Long | Short |
|---|---|---|---|---|
| 2001 | 0.88× | -0.49× | 2 | 10 |
| 2002 | 1.13× | 1.02× | 12 | 1 |
| 2003 | 0.82× | 0.58× | 11 | 2 |
| 2004 | 1.11× | 0.07× | 8 | 5 |
| 2005 | 1.09× | 0.77× | 11 | 2 |
| 2006 | 1.17× | 0.68× | 10 | 3 |
| 2007 | 0.75× | 0.43× | 9 | 3 |
| 2008 | 0.37× | -0.25× | 2 | 11 |
| 2009 | 0.93× | 0.65× | 11 | 2 |
| 2010 | 0.52× | 0.48× | 12 | 1 |
| 2011 | 0.80× | 0.14× | 7 | 6 |
| 2012 | 1.17× | 0.26× | 7 | 6 |
| 2013 | 1.91× | -0.12× | 5 | 8 |
| 2014 | 0.91× | -0.49× | 3 | 10 |
| 2015 | 1.13× | -0.90× | 1 | 12 |
| 2016 | 1.23× | 0.66× | 10 | 3 |
| 2017 | 1.86× | 0.60× | 8 | 5 |
| 2018 | 1.12× | -0.56× | 4 | 9 |
| 2019 | 1.46× | 0.45× | 9 | 4 |
| 2020 | 1.08× | 0.69× | 11 | 2 |
| 2021 | 0.81× | 0.60× | 12 | 1 |
| 2022 | 1.23× | 0.24× | 7 | 6 |
| 2023 | 1.59× | 0.17× | 6 | 7 |
| 2024 | 1.22× | -0.10× | 6 | 7 |
| 2025 | 1.22× | 0.30× | 9 | 4 |
| 2026 | 0.97× | 0.53× | 10 | 3 |
In short: taken alone, the result looks real; counted against all 192 configurations tried, it cannot be told apart from luck.
On its own. Net of costs, the Sharpe ratio of 0.34 has a t-statistic of 1.71 over 6,410 days, a 95% block-bootstrap interval of −0.04 to 0.72, and a Probabilistic Sharpe Ratio of 0.957: a 95.7% chance the true Sharpe is above zero, if this were the only strategy tested.
Counting every trial. It was not: 192 configurations were evaluated. Under the Bailey and López de Prado correction, the best of 192 zero-skill variants with the spread seen in the grid (a standard deviation of 0.156) would be expected to reach a Sharpe of 0.43. That is the hurdle. The default's 0.34 is below it, and the Deflated Sharpe Ratio is 0.324 net (0.372 gross): a 32% chance the result beats the luckiest of 192 null strategies, even though the default was fixed before the grid was run.
What tuning would have cost. Nothing here, by coincidence: the in-sample winner is the pre-set lookback. Had the test picked the runner-up, 126 days, the out-of-sample Sharpe would have been 0.07 instead of 0.38.
The honest summary. Twelve-month commodity trend delivered a small positive Sharpe after costs over 25 years. That is consistent with the published literature rather than a discovery in this dataset, and the evidence from one basket is too weak to rule out luck.
In short: free data and simple trading assumptions. Each one is stated here, and most can be swapped out.
First-time setup is in SETUP.md. Day to day:
make setup # create the environment with uv
make lint test # ruff + pytest
make all # panel -> backtest -> benchmarks -> metrics -> robustness -> figures -> report
make notebook # execute notebooks/strategy.ipynb headless
make all reads the committed snapshot in data/, rewrites results/ and figures/, and injects the metrics table into the README; two runs produce byte-identical files. Only make data touches the network. The robustness grid is cached in results/grid.parquet, keyed by a fingerprint of the configuration and the data, so a changed parameter re-runs only the trials it affects; delete the cache after a code change.