STRASMORE/EXPLORE 2,469 QUERIES

msft_year_close

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-22, from msft-stock-price-in-twd.

as of ranking 11×3read in context →
msft_year_close — 11 rows by 3 columns, computed from US exchange, SIP and OPRA data.
yearyear_close_usdusd_return_pct
201662.1412
201785.5437.66
2018101.5718.74
2019157.755.26
2020222.4241.04
2021336.3251.21
2022239.82-28.69
2023376.0456.8
2024421.512.09
2025483.6214.74
2026506.394.71
Rows × columns
11 × 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 msft_year_close, derived from the stored result.
ColumnTypeRangeNotes
year text 11 distinct values (2016, 2017, 2018…)
year_close_usd number 62.14 to 506.39 US dollars
usd_return_pct number -28.69 to 56.8 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.

WITH yearly AS
(
    SELECT
        toYear(date)                    AS y,
        argMax(toFloat64(close), date)  AS px
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'MSFT'
      AND date >= '2015-01-01'
    GROUP BY y
)
SELECT
    toString(cur.y)                               AS year,
    round(cur.px, 2)                              AS year_close_usd,
    round(100 * (cur.px / prev.prev_px - 1), 2)   AS usd_return_pct
FROM yearly AS cur
INNER JOIN
(
    SELECT
        y + 1 AS join_year,
        px    AS prev_px
    FROM yearly
) AS prev ON cur.y = prev.join_year
ORDER BY cur.y
⌘/Ctrl + Enter