A monthly buyer's lot prices and running average cost: VTI, July 2021 to December 2022
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-01, from Selling Mutual Funds at a Loss: How Basis Works.
| month | month_label | lot_price_usd | average_cost_usd |
|---|---|---|---|
| 2021-07 | July 2021 | 226.72 | 226.72 |
| 2021-08 | August 2021 | 233.17 | 229.94 |
| 2021-09 | September 2021 | 222.03 | 227.31 |
| 2021-10 | October 2021 | 236.92 | 229.71 |
| 2021-11 | November 2021 | 233.47 | 230.46 |
| 2021-12 | December 2021 | 241.48 | 232.3 |
| 2022-01 | January 2022 | 226.82 | 231.52 |
| 2022-02 | February 2022 | 221.16 | 230.22 |
| 2022-03 | March 2022 | 227.76 | 229.95 |
| 2022-04 | April 2022 | 207.14 | 227.67 |
| 2022-05 | May 2022 | 206.57 | 225.75 |
| 2022-06 | June 2022 | 188.74 | 222.66 |
| 2022-07 | July 2022 | 206.28 | 221.4 |
| 2022-08 | August 2022 | 198.56 | 219.77 |
| 2022-09 | September 2022 | 179.37 | 217.08 |
| 2022-10 | October 2022 | 194 | 215.64 |
| 2022-11 | November 2022 | 204.07 | 214.96 |
| 2022-12 | December 2022 | 191.25 | 213.64 |
- Rows × columns
- 18 × 4
- 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 |
|---|---|---|---|
month |
date | 2021-07 to 2022-12 | |
month_label |
text | 18 distinct values (April 2022, August 2021, August 2022…) | |
lot_price_usd |
number | 179.37 to 241.48 | US dollars |
average_cost_usd |
number | 213.64 to 232.3 | US dollars |
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 monthly AS (
SELECT toStartOfMonth(toDate(toTimeZone(window_start, 'America/New_York'))) AS month_start,
argMax(close, window_start) AS close_price
FROM global_markets.delayed_stocks_minute_aggs
WHERE ticker = 'VTI'
AND toDate(toTimeZone(window_start, 'America/New_York')) >= toDate('2021-07-01')
AND toDate(toTimeZone(window_start, 'America/New_York')) <= toDate('2022-12-31')
AND (toHour(toTimeZone(window_start, 'America/New_York')) * 60
+ toMinute(toTimeZone(window_start, 'America/New_York'))) BETWEEN 570 AND 959
GROUP BY month_start
)
SELECT formatDateTime(month_start, '%Y-%m') AS month,
formatDateTimeInJodaSyntax(month_start, 'MMMM yyyy') AS month_label,
round(close_price, 2) AS lot_price_usd,
round(avg(close_price) OVER (ORDER BY month_start
ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), 2) AS average_cost_usd
FROM monthly
ORDER BY month_start
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 analysisSelling Mutual Funds at a Loss: How Basis Works
The same monthly lots ranked by per share result at the December 2022 price
ranking 18×3
→
Distribution cadence: index and income funds, twelve months to June 30, 2026
ranking 9×4
→
Daily tracking difference against SPY: broad US equity funds, first half of 2026
ranking 4×3
→
One full 61 day wash sale window on the tape: AAPL, Dec 1 2025 through Jan 30 2026
series 42×3
→
How many trading sessions fit inside a 61 day wash sale window
series 30×4
→
Every December session and how far its wash sale window reaches into the new year
series 22×4
→
See all 2,170 queries →