STRASMORE/EXPLORE 2,170 QUERIES

How many trading sessions fit inside a 61 day wash sale window

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-08-13, from Wash Sale Rule and Options: The 61-Day Window.

as of series 30×4read in context →
How many trading sessions fit inside a 61 day wash sale window — 30 rows by 4 columns, computed from US exchange, SIP and OPRA data.
monthlast_sessionsessions_in_windowcalendar_days_in_window
2024-01-012024-01-314261
2024-02-012024-02-294261
2024-03-012024-03-284361
2024-04-012024-04-304361
2024-05-012024-05-314161
2024-06-012024-06-284161
2024-07-012024-07-314461
2024-08-012024-08-304261
2024-09-012024-09-304261
2024-10-012024-10-314361
2024-11-012024-11-294161
2024-12-012024-12-314061
2025-01-012025-01-313961
2025-02-012025-02-284261
2025-03-012025-03-314261
2025-04-012025-04-304361
2025-05-012025-05-304161
2025-06-012025-06-304161
2025-07-012025-07-314361
2025-08-012025-08-294261
2025-09-012025-09-304361
2025-10-012025-10-314261
2025-11-012025-11-284161
2025-12-012025-12-314261
2026-01-012026-01-304061
2026-02-012026-02-274261
2026-03-012026-03-314361
2026-04-012026-04-304261
2026-05-012026-05-294161
2026-06-012026-06-304261
Rows × columns
30 × 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 How many trading sessions fit inside a 61 day wash sale window, derived from the stored result.
ColumnTypeRangeNotes
month date 2024-01-01 to 2026-06-01
last_session date 2024-01-31 to 2026-06-30
sessions_in_window number 39 to 44
calendar_days_in_window number every row is 61

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.

the exact SQL behind every number
WITH sessions AS
(
    SELECT DISTINCT date AS d
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'SPY'
      AND date >= '2023-11-01'
),
month_ends AS
(
    SELECT
        toStartOfMonth(d) AS m,
        max(d)            AS anchor
    FROM sessions
    WHERE d >= '2024-01-01'
      AND d <  '2026-07-01'
    GROUP BY m
)
SELECT
    toString(me.m)                                            AS month,
    toString(me.anchor)                                       AS last_session,
    countIf(s.d >= me.anchor - 30 AND s.d <= me.anchor + 30)   AS sessions_in_window,
    61                                                        AS calendar_days_in_window
FROM month_ends AS me
CROSS JOIN sessions AS s
GROUP BY me.m, me.anchor
ORDER BY me.m

Run your own version of this

The same 22 years of US equities and 12 years of options data are queryable in SQL or plain English. A free account runs 100 queries a day and takes no card.

More from this analysisWash Sale Rule and Options: The 61-Day Window
One full 61 day wash sale window on the tape: AAPL, Dec 1 2025 through Jan 30 2026 series 42×3 Every December session and how far its wash sale window reaches into the new year series 22×4 Average call and put delta by strike distance, AAPL, 20 to 45 days to expiry, June 2026 ranking 5×4 A monthly buyer's lot prices and running average cost: VTI, July 2021 to December 2022 series 18×4 Twelve monthly AAPL lots, first regular session of each month of 2024 series 12×3 Realized gain per share on each 2024 lot, sold at the same June 2025 price series 12×3 See all 2,170 queries →