← The library

quants.md

Futures Donchian Contracts

Fragile

“Whole-contract ATR sizing on provider continuous futures”

As tested: Long on a close over the prior 55-session high, short on a close under the 55-session low, otherwise keep the position; sized to risk 0.5% per 20-day ATR, at most 25% of the account each, re-targeted daily.

Holding today: SPY -23% · GLD -21% · QQQ -16% · USO -14%

Futures through ETFs: S&P (SPY), Nasdaq (QQQ), 10-year Treasuries (IEF), oil (USO), gold (GLD), corn (CORN). The oil and corn funds carry roll costs a futures account also pays; contract multipliers and margin don't apply. Fractional sizes instead of whole contracts, and no margin cap.

Edge per month+0.25 pts/mopts per month vs T-bills
t-stat0.8995% range -0.30 to +0.80
Months124Sep 1, 2016 – Dec 3, 2026
CAGR5.0%SPY 14.5%
Max drawdown-18.4%SPY -33.8%
Last 12 months-11.49 pts12 months, summed

Their backtest vs the rerun

WindowCAGRSharpeMax DDWin rateProfit factor
quants.md2019–2026+4.7%0.30-16.7%48%1.34
Rerun2016–2026+5.0%0.27-18.4%——

Their dashboard · Source code · QuantJourney, Apache-2.0. Sharpe is after T-bills in the rerun, after a flat 2% in theirs.

Why fragile

Growth of $1

Futures Donchian ContractsT-bills
20172019202120232025

Log scale. Traded at the next open after each signal, daily rebalance, slippage on every trade.

Year by year

2016
-1.15 pts/mo4
2017
+1.30 pts/mo12
2018
+1.36 pts/mo12
2019
-0.66 pts/mo12
2020
+0.30 pts/mo12
2021
+0.97 pts/mo12
2022
-0.37 pts/mo12
2023
+0.50 pts/mo12
2024
-0.09 pts/mo12
2025
+0.62 pts/mo12
2026
-0.96 pts/mo12