Commodity Futures Trend and AI Research Agent — Backtest
Strategy 1104 · six commodity futures, long and short, 20% volatility target · price rules only (trend and carry) · Oct 3, 1974 – Mar 29, 2024 · experimental
Experimental, and only half of the strategy is tested here. This backtest covers the price rules (trend and carry). The research score from Claude, which is 40% of the traded forecast, has no backtest and cannot have one: an AI model has read about past markets, so scoring a past date would let it use what happened next. The price rules themselves have been weak since 2012. The strategy is in paper testing to find out whether the research score helps, and has not traded live.
6.6%
Return per year, 1974–2024
0.42
Sharpe ratio, full period
0.4%
Return per year, 2012–Mar 2024
0.12
Sharpe ratio, 2012–Mar 2024
0.4
t-statistic since 2012 (2 = significant)
Growth of $10,000 (log scale)
Price rules: trend + carrySame six markets held long
Both lines start at $10,000 and target 20% annual volatility, after trading costs and above the return on cash. The vertical scale is logarithmic, so equal distances are equal percentage changes. The research score is not included.
What was tested
- Markets: the full-size contracts of the six markets the strategy trades as micros: WTI crude oil, gold, copper, corn, soybeans and Chicago wheat. A market joins a year after its price history begins: corn and wheat from the start, gold in 1977, soybeans in 1987, crude oil in 1992 and copper in 1997.
- Trend: a fast moving average of the price minus a slow one, divided by the market's daily price volatility; five speeds averaged (4/16, 8/32, 16/64, 32/128 and 64/256 days).
- Carry: the price gap between the contract held and its neighbour, divided by the time between them and by annual price volatility, smoothed over 5 to 120 days.
- Forecast: 60% trend + 40% carry. This is the strategy's baseline; live, it is 60% of the traded forecast and the research score is the other 40%.
- Size: each market is sized by its volatility so that all six carry similar risk, with the whole portfolio held at 20% annual volatility. A position changes only when it is more than 10% of an average position from target.
- Timing: positions change one trading day after the signal.
- Source: the rules follow Robert Carver, “Advanced Futures Trading Strategies” (2023).
Price rules on the six markets, Oct 3, 1974 – Mar 29, 2024
Each market on its own
Each market is shown as if it were traded alone at 20% volatility. A single market is far rougher than the six together.
Results by decade
Checks
Assumptions
- Costs are 0.05% of the value traded each way for commodities, plus four contract rolls a year at the same rate.
- Prices are daily roll-adjusted futures prices from the public pysystemtrade data set. A market's daily return is the change in its adjusted price over the previous day's actual contract price, so a roll never looks like a gain or a loss.
- Returns are above the return on cash: futures need only a margin deposit, so the capital also earns interest, which is not counted here.
- The portfolio is scaled each day to 20% annual volatility using its own volatility over the past year, as known at the time. The first year of each series is used for that and is not reported.
- Positions are fractional in the backtest. Live, they are whole micro contracts, and the micro grain contracts are capped at 10 each because they trade thinly.
- The scale of the forecasts was set from the whole history, which changes the results only slightly.
- The data ends in March 2024.
Risks
- The research score is untested. Nothing here says whether it helps or hurts. That is what the paper run is for.
- The price rules have faded. Since 2012 the six markets returned 0.4% a year with a Sharpe ratio of 0.12 and a t-statistic of 0.4: not distinguishable from zero.
- Deep drawdowns. At 20% volatility the largest drawdown was 59.3%.
- Few markets. Six commodities are far less diversified than the portfolios trend following is usually run on.
- Leverage and gaps. Futures are leveraged and commodities can gap on reports. Positions are reviewed once a day.
- Different contracts. The backtest uses full-size contracts; the strategy trades micros, which are thinner.
Generated Nov 22, 2026 by ibk/backtests/trend_carry_backtest_report.py. Backtests use past prices and simple cost assumptions; past results don't guarantee future returns.