AAPL and MSFT return correlation measured quarter by quarter
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-06, from Stock Correlation Matrix in One SQL Query.
| window_start | quarter_label | return_corr |
|---|---|---|
| 2025-01-01 | Jan 2025 | 0.415 |
| 2025-04-01 | Apr 2025 | 0.729 |
| 2025-07-01 | Jul 2025 | 0.032 |
| 2025-10-01 | Oct 2025 | 0.203 |
| 2026-01-01 | Jan 2026 | 0.108 |
| 2026-04-01 | Apr 2026 | 0.265 |
| 2026-07-01 | Jul 2026 | 0 |
- Rows × columns
- 7 × 3
- Period covered
- to
- 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 |
|---|---|---|---|
window_start |
date | 2025-01-01 to 2026-07-01 | |
quarter_label |
text | 7 distinct values (Apr 2025, Apr 2026, Jan 2025…) | |
return_corr |
number | 0 to 0.729 |
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
daily AS
(
SELECT
ticker,
date,
toFloat64(close) AS px,
lagInFrame(toFloat64(close), 1) OVER (
PARTITION BY ticker ORDER BY date
ROWS BETWEEN 1 PRECEDING AND CURRENT ROW
) AS prev_px
FROM global_markets.stocks_daily_aggs
WHERE ticker IN ('AAPL', 'MSFT')
AND date >= '2025-01-01'
AND date < '2026-10-01'
),
rets AS
(
SELECT ticker, date, px / prev_px - 1 AS ret
FROM daily
WHERE prev_px > 0
),
paired AS
(
SELECT
a.date AS d,
a.ret AS ret_aapl,
b.ret AS ret_msft
FROM rets AS a
INNER JOIN rets AS b ON a.date = b.date
WHERE a.ticker = 'AAPL' AND b.ticker = 'MSFT'
)
SELECT
toString(toStartOfQuarter(d)) AS window_start,
formatDateTime(toStartOfQuarter(d), '%b %Y') AS quarter_label,
round(corr(ret_aapl, ret_msft), 3) AS return_corr
FROM paired
GROUP BY window_start, quarter_label
ORDER BY window_start
Work with this data in your AI assistant
Opens ready to query, with this page's data. Free, no account.