STRASMORE/EXPLORE 2,882 QUERIES

spy_forward_curve

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-10-01, from backtest-vs-forward-test.

as of series 73×3read in context →
spy_forward_curve — 73 rows by 3 columns, computed from US exchange, SIP and OPRA data.
monthstrategy_indexbuy_hold_index
2020-0995.995.9
2020-1093.593.5
2020-11103.7103.7
2020-12107107
2021-01105.9105.9
2021-02108.9108.9
2021-03113.5113.5
2021-04119.5119.5
2021-05120.2120.2
2021-06122.5122.5
2021-07125.5125.5
2021-08129.3129.3
2021-09122.9122.9
2021-10131.5131.5
2021-11130.4130.4
2021-12136136
2022-01125.4128.8
2022-02120.3125
2022-03119129.3
2022-04117.4117.9
2022-05117.4118.2
2022-06117.4108
2022-07117.4117.9
2022-08117.4113.1
2022-09117.4102.3
2022-10117.4110.6
2022-11117.4116.7
2022-12115109.5
2023-01114.7116.4
2023-02111.8113.4
2023-03112.8117.2
2023-04114.6119.1
2023-05115.1119.6
2023-06122.1126.9
2023-07126.1131.1
2023-08124128.9
2023-09117.7122.4
2023-10114.3119.7
2023-11121.1130.7
2023-12126.2136.1
2024-01128.2138.2
2024-02134.9145.5
2024-03138.8149.7
2024-04133.2143.7
2024-05140151
2024-06144.5155.8
2024-07146.2157.7
2024-08149.6161.4
2024-09152.3164.3
2024-10150.9162.8
2024-11159.9172.5
2024-12155.6167.8
2025-01159.7172.3
2025-02157.7170.1
2025-03147.4160.1
2025-04147.4158.8
2025-05149168.7
2025-06156.2176.9
2025-07159.8181
2025-08163.1184.7
2025-09168.4190.7
2025-10172.4195.3
2025-11172.8195.6
2025-12172.4195.2
2026-01174.9198.1
2026-02173.4196.4
2026-03166.8186.2
2026-04177.3205.7
2026-05186.6216.6
2026-06184.3213.8
2026-07184.3213.9
2026-08189.3219.6
2026-09188.2218.3
Rows × columns
73 × 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 spy_forward_curve, derived from the stored result.
ColumnTypeRangeNotes
month text 73 distinct values (2020-09, 2020-10, 2020-11…)
strategy_index number 93.5 to 189.3
buy_hold_index number 93.5 to 219.6

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 px AS (
    SELECT
        date,
        toFloat64(close) AS c
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'SPY'
      AND date >= '2019-10-01'
      AND date <  '2026-10-01'
),
ma AS (
    SELECT
        date,
        c,
        avg(c) OVER (ORDER BY date ROWS BETWEEN 199 PRECEDING AND CURRENT ROW) AS ma_200
    FROM px
),
sig AS (
    SELECT
        date,
        c,
        any(c)                    OVER (ORDER BY date ROWS BETWEEN 1 PRECEDING AND 1 PRECEDING) AS prev_c,
        any(if(c > ma_200, 1, 0)) OVER (ORDER BY date ROWS BETWEEN 1 PRECEDING AND 1 PRECEDING) AS held
    FROM ma
),
daily AS (
    SELECT
        date,
        held * (c / prev_c - 1) AS r_rule,
        c / prev_c - 1          AS r_hold
    FROM sig
    WHERE date >= '2020-09-01'
      AND prev_c > 0
),
cum AS (
    SELECT
        date,
        exp(sum(log(1 + r_rule)) OVER (ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)) AS eq_rule,
        exp(sum(log(1 + r_hold)) OVER (ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)) AS eq_hold
    FROM daily
)
SELECT
    formatDateTime(toStartOfMonth(date), '%Y-%m') AS month,
    round(argMax(eq_rule, date) * 100, 1)         AS strategy_index,
    round(argMax(eq_hold, date) * 100, 1)         AS buy_hold_index
FROM cum
GROUP BY month
ORDER BY month
⌘/Ctrl + Enter

ใช้ข้อมูลนี้ในผู้ช่วย AI ของคุณ

เปิดพร้อมคิวรีได้ทันที พร้อมข้อมูลของหน้านี้ ฟรี ไม่ต้องมีบัญชี