Strategies
Spot Gold Macro-Driver Trend: Long/Short XAUUSD.SPOTMETAL on Lagged 10y TIPS Real-Yield and EUR/USD Dollar Trends (FRED, daily, signal exit)
Outcome: Verifying
XauMacroDriverTrend
Spot Gold Macro-Driver Trend: Long/Short XAUUSD.SPOTMETAL on Lagged 10y TIPS Real-Yield and EUR/USD Dollar Trends (FRED, daily, signal exit)
Hypothesis
Quota and diversity: SPOTMETAL has 9 of 4580 experiments (0.2%), while the corpus is 53% Binance USD-M and 78% long-only. This is a long/short trade on a non-crypto, non-Binance instrument with decades of daily history. Its mechanism (outside macro drivers via FRED) is used by no stored hypothesis. L209/L192 favour daily-or-slower rules that target multi-percent moves. L189 favours fewer feeds, and this uses only two long-history macro series already collected, with no new data. L210 (do not use Binance or OKX without a reason) is satisfied. It differs from the failed GLD confluence (gold's own 20/120 momentum + ATR trailing stop) in its signal source (the drivers, not gold's price) and its exit (signal exit, no stop).
Implementation
Implements the hypothesis exactly with the plan's parameter names: tunables entry_z, exit_z, signal_mode, lookback_obs; fixed leverage=1, stale_days=7, vol_window=252, missing_bars_exit=3, notional_fraction=1.0. Two non-plan constants are held fixed: min_vol_obs=60 (the z-score is computed from up to vol_window changes but needs at least 60, so it is defined early in the history and in short synthetic windows; with FRED history from 2003 the full 252-obs window is used for every real backtest bar after warmup) and sizing_buffer=0.97 (keeps the next-open fill inside the 1x initial-margin cap when gold gaps, avoiding margin capping/peak-utilisation failures). Risk control is route (b): signal exit plus a position at most 100% of equity. In 'both' mode both components must be valid; a stale or missing driver blocks entries rather than falling back to one driver, so the modes stay true controls. Overnight financing is charged by the engine; no stop is added because the hypothesis specifies a signal exit only.
Backtest and paper results are hypothetical. Trading involves risk of loss.