{
  "id": 916,
  "rank": 2922,
  "name": "Gold Market Timing",
  "aka": [],
  "family": null,
  "subtype": null,
  "one_liner": "Buys gold when the S&P 500 earnings yield is higher than the 10-year bond yield by at least a factor of 2.",
  "market_regime": "any",
  "timeframes": [
    "D1"
  ],
  "symbols": [
    "XAUUSD"
  ],
  "sessions": [
    "null"
  ],
  "indicators": [],
  "entry_long": [
    "self.securities[self.earnings_yield].price > self.securities[self.bond_yield].price * Decimal(2)"
  ],
  "entry_short": [],
  "exit_rules": [
    "self.liquidate()"
  ],
  "filters": [
    "null"
  ],
  "stop_loss": "null",
  "take_profit": "null",
  "position_size": "set to 0.9 when entering long",
  "evidence_type": "source_code",
  "completeness": 80.0,
  "signal_warnings": null,
  "claim_warnings": null,
  "opacity_warnings": null,
  "build_warnings": [
    "DAILY_LOW_COUNT: daily-or-slower timeframe on a single instrument. Expect well under 100 trades in five years, so a backtest will rarely reach statistical significance on its own."
  ],
  "canonical": "https://prismaticalgos.com/compendium/algo/916-gold-market-timing",
  "snapshot": "2026-10-31 15:46 UTC",
  "source_url": "https://www.quantconnect.com/tutorials/strategy-library/gold-market-timing",
  "limitations": "These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms."
}
