STRASMORE/EXPLORE 2,648 QUERIES

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.

as of ranking 6×3read in context →
family_years — 6 rows by 3 columns, computed from US exchange, SIP and OPRA data.
yearcrude_uso_return_pctgold_gld_return_pct
202167.9-6.2
202227.90.8
2023-1.511.8
202414.927
2025-10.161.5
2026122-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
Formats
JSON · CSV · the SQL below

What each column holds

Column definitions for family_years, derived from the stored result.
ColumnTypeRangeNotes
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
⌘/Ctrl + Enter

Work with this data in your AI assistant

Opens ready to query, with this page's data. Free, no account.