Synchronizing Global Macro Data...

Gold Macro Signal

Macroeconomic environment monitor for gold

GitHub
--
--
--
Condition 1
Real Interest Rate
10-Year TIPS Yield
Score --
Condition 2
Credit Stress
High-Yield Spread
Score --
Condition 3
CB Gold Buying
Structural Support
Score --

10-Year TIPS Real Yield Trend (%)

Real interest rate reflects the opportunity cost of holding non-yielding gold.

High-Yield Credit Spread Trend (bps)

Spikes in credit spreads often signal systemic stress where gold acts as a safe haven.

About This Model · 关于这个模型

What This Model Does

This is a macroeconomic environment detector, not a price predictor. It answers one question: Is the current macro environment suitable for holding gold? The model monitors three structural conditions and outputs a signal — not a buy/sell recommendation, but an assessment of whether macro tailwinds or headwinds currently dominate.

Condition 1 · Real Interest Rates The most critical factor

Real interest rate = Nominal rate − Inflation expectations. When this number is negative or falling rapidly, the opportunity cost of holding gold disappears — cash and bonds lose real value, making gold relatively more attractive.

The direction of change matters more than the absolute level. A real rate falling from +2% toward 0% is often more powerful for gold than a rate already at -1% but stable.

Signal range:
· Below 0%: Score 85–100 (strongly favorable)
· 0% to +1%: Score 60–80 (neutral to positive)
· +1% to +2%: Score 25–50 (headwind)
· Above +2%: Score 0–20 (strong headwind)
Watch: 10-Year TIPS Yield (FRED: DFII10)
Condition 2 · Systemic Credit Stress Monetary order under pressure

This condition looks for stress at the level of the monetary system itself — not short-term volatility, but structural threats: banking crises, sovereign debt risks, central bank pivots to massive easing, or credibility loss in reserve currencies.

Geopolitical conflicts, individual defaults, or election uncertainty are NOT sufficient triggers. The condition requires systemic-level stress — when the monetary order itself is threatened.

Key indicators:
· High-yield credit spread (BAMLH0A0HYM2): stress above 600bps
· Fed balance sheet expansion (QE signal): WALCL rapid growth
· Dollar index direction: weakness signals reserve currency stress
Condition 3 · CB Gold Buying The structural floor — added after 2022

This condition was added to the original framework after the 2022 mechanism breakdown, when gold rose despite rising real rates — contradicting decades of historical correlation.

The cause: Following the freezing of Russia's foreign exchange reserves in 2022, central banks worldwide — especially in emerging markets — began structurally diversifying away from dollar assets into gold. Annual central bank gold purchases exceeded 1,000 tonnes for three consecutive years (2022–2024).

These buyers are price-insensitive. They buy for strategic reserve diversification, not yield. This creates a persistent price floor that operates independently of real interest rates.

When this condition is active, Condition 1 headwinds are partially offset — gold may not rally, but it won't collapse either.

Historical Validation · 历史验证

⚠ Model Limitations · 重要局限