family_years
Answered against 22 years of US equities and 12 years of US options data and published with the query that produced it. This result is stored as of 2026-09-26, from what-is-commodity-trading.
| year | crude_uso_return_pct | gold_gld_return_pct |
|---|---|---|
| 2021 | 67.9 | -6.2 |
| 2022 | 27.9 | 0.8 |
| 2023 | -1.5 | 11.8 |
| 2024 | 14.9 | 27 |
| 2025 | -10.1 | 61.5 |
| 2026 | 122 | -1.7 |
- Rows × columns
- 6 × 3
- Computed
- Completeness
- No missing values
- Source
- US exchange, SIP and OPRA market data
- Licence
- Strasmore terms · free, no signup
What each column holds
| Column | Type | Range | Notes |
|---|---|---|---|
year |
text | 6 distinct values (2021, 2022, 2023…) | |
crude_uso_return_pct |
number | -10.1 to 122 | percent |
gold_gld_return_pct |
number | -6.2 to 61.5 | percent |
Computed from Strasmore's warehouse of US exchange, SIP and OPRA market data. Equity prices are delayed; options greeks and implied volatility are end-of-day. This result is stored, not recomputed on load — it is exactly the numbers that were returned on , and the query below is what returned them.
Run it yourself
This is the exact query behind the result above. Change a ticker, a date or a column and run it against the warehouse — no account, no key. The no-signup tier is smaller than the one this page was computed on; a query that reaches past it comes back saying which plan runs it.
SELECT
year,
round(maxIf(ret_pct, ticker = 'USO'), 1) AS crude_uso_return_pct,
round(maxIf(ret_pct, ticker = 'GLD'), 1) AS gold_gld_return_pct
FROM
(
SELECT
toString(toYear(date)) AS year,
ticker,
(argMax(toFloat64(close), date) / argMin(toFloat64(close), date) - 1) * 100 AS ret_pct
FROM global_markets.stocks_daily_aggs
WHERE ticker IN ('USO', 'GLD')
AND date >= '2021-01-01'
AND date < today() - 1
GROUP BY year, ticker
)
GROUP BY year
HAVING count() = 2
ORDER BY year
Work with this data in your AI assistant
Opens ready to query, with this page's data. Free, no account.