Gold-to-Silver Ratio Tracker

This page uses your cached gold and silver prices, logs a daily ratio datapoint into year-based JSON files, and renders a clean line chart. It’s designed to be readable at a glance (coin-show friendly) while still giving you meaningful historical context.

Current metals snapshot

From your cache: /blog/_data/metals_cache.json (refreshed via /blog/_mods/metals_cache.php).

Silver (USD/oz)
Gold (USD/oz)
Gold/Silver ratio
Gold ÷ silver (both per troy oz).
Cache status

Ratio chart

Stored history files: /blog/_data/gsr/gsr_YYYY.json. One record per UTC day (updated as the day progresses).

By default this loads the current year + previous year (enough for 365 days).
A comparison line (not a forecast). You can also show the average.
Average helps you see whether today’s ratio is above or below the selected period mean.
GSR (history) Average Reference
Loading…
Selected range average
High / Low in range

How the logging works

The ratio logger reads your metals cache and writes a daily datapoint into a year-based JSON file. If files don’t exist, it creates them automatically.

Logger endpoint
/blog/_mods/gsr_log.php
Call on page load or via cron for guaranteed continuity.
History folder
/blog/_data/gsr/
Files: gsr_YYYY.json + gsr_years.json manifest.
Recommended cron (hourly):
0 * * * * curl -fsS "https://savesilver.us/blog/_mods/gsr_log.php" >/dev/null 2>&1

Notes

Reference lines (14:1, 15:1, 16:1, etc.) are provided as simple comparators and do not imply an official peg or future price. The “Average” line is computed from the selected range currently visible on the chart.

Disclaimer: informational tool only, not financial advice. Cached spot data may be delayed. Verify independently before making decisions.