Back to Community
The Importance of the Gold:Silver Ratio

One of the most meaningful metrics in the market is the gold:silver ratio. It not only provides information about how to trade gold and silver, but offers signals for the stock market as well.

The ratio has meaning because of what the out-performance of one or the other means for the economy and investor sentiment, in general. When gold is outperforming, it normally means investors are risk-averse. When silver is outperforming, investors are risk-taking and the economy has moved into high gear because silver actually has some industrial use, unlike gold. Therefore, we'd expect the gold:silver ratio to be low at market highs and high at market lows.

Besides that, the ratio can offer direction about which you should be buying if you happen to be bullish or bearish on gold or silver. If the ratio is too high, you should buy silver or short gold. If the ratio is too low, you should buy gold or short silver.

I extended the use of the gold:silver ratio to also be something you can actually trade via a pairs trade. This strategy buys gold 50%/shorts silver 50% when the ratio is under 4.9 for GLD:SLV (the actual spot prices of gold and silver are not available on this platform). It then reverses the trade when the ratio > 8 and buys silver 50%/shorts gold 50%. These levels are fairly obvious by investigating a gold:silver ratio chart, which oscillates at regular intervals between those values.

The results are market beating. There was one nasty draw-down that I might consider unacceptable, except that if this were actually trading, I might implement some kind of trailing stop to maximize profits on winning trades and prevent entering before the ratio turns up or down. Even with the draw-down this still does well.

Clone Algorithm
Backtest from to with initial capital
Total Returns
Max Drawdown
Benchmark Returns
Returns 1 Month 3 Month 6 Month 12 Month
Alpha 1 Month 3 Month 6 Month 12 Month
Beta 1 Month 3 Month 6 Month 12 Month
Sharpe 1 Month 3 Month 6 Month 12 Month
Sortino 1 Month 3 Month 6 Month 12 Month
Volatility 1 Month 3 Month 6 Month 12 Month
Max Drawdown 1 Month 3 Month 6 Month 12 Month
# Backtest ID: 5754392d3765d30f97553359
There was a runtime error.
3 responses

Welcome to Q.

I did not really dig into the code yet because I'm on my iPad today but I'm curious as to how you came up with the inputs 4.9 and 8. Maybe there's a more dynamic way of setting this threshold.

@jeffrey.. how came your code wont work at different time frame like 2013-to present or 2015 to present it only execute... on 2007 start ?? I'd like to backtest it different starting point like 2013.. to see... if it can still.. outperform... and how come it only have few trades does this really really re-balance everyday...? or every month? thanks....

@jeffrey... is there a rolling chart for 8 and 4.9 greater than or less than... on the drawn... on screen... it would be a great help... thanks.....