STRASMORE/EXPLORE 3,293 QUERIES

SPY close versus its 50-day and 200-day averages, February to July 2020

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-11-01, from Can a Death Cross Be Bullish? The SPY Record.

as of series 126×4read in context →
SPY close versus its 50-day and 200-day averages, February to July 2020 — 126 rows by 4 columns, computed from US exchange, SIP and OPRA data.
session_dateclosesma_50sma_200
2020-02-03324.12320.94301.01
2020-02-04329.06321.31301.21
2020-02-05332.86321.76301.42
2020-02-06333.98322.22301.63
2020-02-07332.2322.6301.83
2020-02-10334.68323.01302.04
2020-02-11335.26323.4302.25
2020-02-12337.42323.87302.47
2020-02-13337.06324.38302.68
2020-02-14337.6324.94302.91
2020-02-18336.73325.44303.14
2020-02-19338.34325.97303.36
2020-02-20336.95326.41303.58
2020-02-21333.48326.8303.81
2020-02-24322.42326.98303.98
2020-02-25312.65326.94304.11
2020-02-26311.5326.83304.23
2020-02-27297.51326.44304.31
2020-02-28296.26325.97304.38
2020-03-02309.09325.76304.5
2020-03-03300.24325.37304.56
2020-03-04312.86325.21304.7
2020-03-05302.46324.85304.79
2020-03-06297.46324.37304.84
2020-03-09274.23323.43304.79
2020-03-10288.42322.74304.82
2020-03-11274.36321.77304.78
2020-03-12248.11320.31304.62
2020-03-13269.32319.26304.57
2020-03-16239.85317.56304.38
2020-03-17252.8316.17304.26
2020-03-18240314.5304.09
2020-03-19240.51312.85303.89
2020-03-20228.8310.94303.62
2020-03-23222.95308.87303.31
2020-03-24243.15307.21303.09
2020-03-25246.79305.59302.88
2020-03-26261.2304.27302.74
2020-03-27253.42302.77302.56
2020-03-30261.65301.38302.42
2020-03-31257.75299.9302.27
2020-04-01246.15298.2302.05
2020-04-02251.83296.61301.85
2020-04-03248.19294.94301.62
2020-04-06264.86293.66301.47
2020-04-07265.13292.49301.32
2020-04-08274.03291.43301.23
2020-04-09278.2290.47301.16
2020-04-13275.66289.43301.09
2020-04-14283.79288.67301.05
2020-04-15277.76287.74300.97
2020-04-16279.1286.74300.89
2020-04-17286.64285.82300.84
2020-04-20281.59284.77300.76
2020-04-21273.04283.58300.63
2020-04-22279.1282.47300.54
2020-04-23279.08281.35300.45
2020-04-24282.97280.26300.37
2020-04-27287.05279.26300.31
2020-04-28285.73278.22300.24
2020-04-29293.21277.35300.2
2020-04-30290.48276.4300.15
2020-05-01282.79275.31300.08
2020-05-04283.57274.31300
2020-05-05286.19273.59299.95
2020-05-06284.25273.02299.88
2020-05-07287.68272.55299.82
2020-05-08292.44272.44299.77
2020-05-11292.5272.37299.73
2020-05-12286.67271.92299.66
2020-05-13281.6271.55299.56
2020-05-14284.97270.99299.48
2020-05-15286.28270.67299.42
2020-05-18295270.62299.42
2020-05-19291.97270.97299.42
2020-05-20296.93271.14299.49
2020-05-21294.88271.55299.52
2020-05-22295.44272.5299.56
2020-05-26299.08273.09299.59
2020-05-27303.53274.37299.65
2020-05-28302.97275.37299.72
2020-05-29304.32276.66299.78
2020-06-01305.55277.96299.89
2020-06-02308.08279.54300
2020-06-03312.18281.33300.12
2020-06-04311.36282.69300.22
2020-06-05319.34284.14300.36
2020-06-08323.2285.38300.52
2020-06-09320.79286.73300.66
2020-06-10319287.88300.83
2020-06-11300.61288.74300.89
2020-06-12304.21289.9300.98
2020-06-15307.05291301.07
2020-06-16312.96292.3301.17
2020-06-17311.66293.23301.27
2020-06-18311.78294.17301.37
2020-06-19308.64294.86301.45
2020-06-22310.62295.51301.51
2020-06-23312.05296.23301.58
2020-06-24304.09296.64301.61
2020-06-25307.35297.23301.65
2020-06-26300.05297.65301.65
2020-06-29304.46298.01301.67
2020-06-30308.36298.54301.71
2020-07-01310.52299.29301.76
2020-07-02312.23299.95301.81
2020-07-06317.05300.71301.89
2020-07-07313.78301.33301.96
2020-07-08316.18301.91302.05
2020-07-09314.38302.49302.13
2020-07-10317.59302.97302.24
2020-07-13314.84303.46302.32
2020-07-14318.92304.18302.43
2020-07-15321.85304.95302.56
2020-07-16320.79305.64302.68
2020-07-17321.72306.39302.83
2020-07-20324.32307.12303.01
2020-07-21325.01307.77303.18
2020-07-22326.86308.46303.34
2020-07-23322.96309.19303.49
2020-07-24320.88309.97303.66
2020-07-27323.22310.74303.81
2020-07-28321.17311.44303.95
2020-07-29325.12312.04304.1
2020-07-30323.96312.68304.24
2020-07-31326.52313.27304.38
Rows × columns
126 × 4
Period covered
to
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 SPY close versus its 50-day and 200-day averages, February to July 2020, derived from the stored result.
ColumnTypeRangeNotes
session_date date 2020-02-03 to 2020-07-31
close number 222.95 to 338.34 US dollars
sma_50 number 270.62 to 326.98
sma_200 number 299.42 to 304.84

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
bars AS
(
    SELECT
        date,
        toFloat64(argMax(close, _ingest_time)) AS px
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'SPY'
    GROUP BY date
),
smas AS
(
    SELECT
        date,
        px,
        avg(px) OVER (ORDER BY date ROWS BETWEEN 49 PRECEDING AND CURRENT ROW)  AS avg_50,
        avg(px) OVER (ORDER BY date ROWS BETWEEN 199 PRECEDING AND CURRENT ROW) AS avg_200
    FROM bars
)
SELECT
    toString(date)    AS session_date,
    round(px, 2)      AS close,
    round(avg_50, 2)  AS sma_50,
    round(avg_200, 2) AS sma_200
FROM smas
WHERE date BETWEEN toDate('2020-02-03') AND toDate('2020-07-31')
ORDER BY date
⌘/Ctrl + Enter

Work with this data in your AI assistant

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

More from this analysisCan a Death Cross Be Bullish? The SPY Record
Each SPY death cross and the golden cross that ended it ranking 11×4 → Every SPY death cross in the daily data, with forward returns table 11×6 → Forward record after a SPY death cross, by horizon table 4×9 → The window and the cross counts behind the text scalar 1×11 → The 2020 peak, low, death cross and golden cross, dated from the same bars scalar 1×16 → Record closes per year, SPY (price basis, first four years of the file excluded) table 20×7 → See all 3,293 queries →