How To Use Gold As A Hedge Against Inflation


Erez Katz, CEO and Co-founder of Lucena Research

The price of gold has been traditionally perceived as inversely correlated to the price of the US dollar and therefore has been used as a hedge against inflation. That correlation has held well over longer time frames but has been proven less predictive over shorter periods.

Over time, gold has been transitioned from a US dollar currency alternative into a hedge against the major indexes such as the S&P or the Dow.


USD stock vs GLD stock

A one-year chart comparing GLD, SPDR Gold Trust (ETF) to UUP PowerShares DB US Dollar Index Bullish. See how inversely correlated the price charts are. From Google Finance. Past performance is not indicative of future returns.


By applying machine learning and utilizing Quantitative research, a successful hedge against inflation can be achieved. For this example I will be using our AI investment research platform QuantDesk® to effectively construct a hedge against the S&P 500 that is based on gold, or more specifically GLD, the SPDR Gold Trust ETF.


Believe it or not, you can have long hedge positions.

Studies conducted by our research team indicate selecting certain constituents that traditionally are highly correlated to gold and using them as a dynamic hedge against SPY actually produces superior results to simply buying and holding SPY.

While many attribute hedges to shorting a position or buying protective puts that reduce returns in favor of lower volatility, our approach is different. We advocate identifying a set of securities that will both reduce volatility and advance returns.


Steps to Build and Hedge Using Gold Against Inflation:

  • Utilize QuantDesk’s portfolio replication technology to construct a replica of GLD from the Russell 1K.
  • Use the constituents identified as a whitelist from which to construct a hedge for SPY.
  • Backtest this method over different market regimes in order to evaluate if it is effective over time.
  • If effective, construct a model portfolio using the same rules on which the backtest was predicated.
  • If it continues to perform as expected, consider incorporating the above process slowly into a live portfolio.


Step 1 – Replicating GLD: 

Lucena’s portfolio replicator attempts to track a time series chart (GLD in our case) by constructing a collection of securities and their allocations that together minimize tracking error over a time period (training period). In the scree below, we have ten securities from the Russell that together highly correlate to GLD or more specifically track the historical time series of GLD.

trading Gold GLD

A one-year to present chart comparing GLD to the replica portfolio. See list of selected constituents:

Not surprisingly the replication engine selected NEM and RGLD (together constitutes 68.6% of the portfolio) but also unrelated securities with much lower allocations that together fine-tunes the price correlation for GLD.


Step 2 – Hedging SPY With Our GLD Replica Constituents:  

Here is an overview of how the Hedger is able to construct hedges using Lucena’s pattern recognition technology. An investment strategy can be built, backtested and deployed before capital and resources are risked. The hedger goes to work and identifies which constituents and their allocations serve as the best hedge for a maximum projected Sharpe ratio.

investment strategies for gold

The top panel shows the original portfolio which consists of one position at 100% allocation, namely SPY. The second panel below titled: After Hedging showcases the portfolio in which SPY was reduced to 50% allocation and the remaining 50% is distributed between the hedge positions selected by our hedge finder.

As you can see in the table marked in orange, we were able to enhance the Sharpe, reduce the volatility and even slightly increase the total returns.


Step 3 – Backtesting Our Hedging Process Over Time:

Now we can test our strategy with the Hedger Backtester from 1/1/2010 to 2/25/18. The portfolio rebalances every 4 weeks with up to 5 long only constituents. After a short run, the screen updates with the following results:

backtesting investment strategies

The hedging backtest results present a compelling validation. The backtest presents a higher Sharpe of 1.25 vs. 0.95 for the SPY. A higher return of 210% vs. 187% for the SPY and a lower max drawdown of 12.91 vs. 18.64% for the SPY. Results are net of slippage and transactions cost. Past performance is not indicative of future returns.



Construct A Model Portfolio For Forward Trading

Now that we have a compelling case for hedging SPY, the backtest can easily be converted to a live portfolio to start trading.

QuantDesk has hundreds of unique datasets, and not only aggregates alternative data sources but also enables mobilization of such data with advanced machine learning technology.


Interested in testing your own investment strategies?

Here is your free trial of QuantDesk. 


Want to discuss Deep Learning and investment strategies with our team?

Join our upcoming Webinar on Wednesday Sept. 26th at 11:30AM EST. 



Read More About Similar Topics: