STRASMORE/EXPLORE 2,170 QUERIES 22Y EQUITIES · 12Y OPTIONS

2,170 answered market questions

every one with its exact SQL, its result and the date it was computed · free, no signup

Anchored VWAP Explained: Formula and Uses
How much the newest session can move an anchored VWAP (AAPL)ranking · 2026-08-07 · 13×2Preview: 13 ranked values, smallest first. Anchored at each name's own lowest close of the past twelve monthstable · 2026-08-07 · 5×5 Daily session VWAP against a VWAP anchored on one date (AAPL)series · 2026-08-07 · 62×4Preview: a 16-point series, ending higher. The same stock and the same last price, twelve different anchors (AAPL)ranking · 2026-08-07 · 12×3Preview: 12 ranked values, smallest first.
How much the newest session can move an anchored VWAP (AAPL)

How much the newest session can move an anchored VWAP (AAPL)

most recentas of ranking 13×2read in context →
How much the newest session can move an anchored VWAP (AAPL) — 13 rows by 2 columns, computed from US exchange, SIP and OPRA data.
bars_since_anchornewest_bar_weight_pct
1030.09
208.09
304.44
402.3
501.65
601.62
701.28
801.24
901.35
1000.99
1101.15
1200.99
1302.14
the exact SQL behind every number
WITH running AS (
    SELECT
        row_number() OVER (ORDER BY date) AS n,
        toFloat64(volume)
      / sum(toFloat64(volume)) OVER (ORDER BY date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS weight
    FROM global_markets.stocks_daily_aggs
    WHERE ticker = 'AAPL'
      AND date >= '2026-01-02'
      AND date <= '2026-06-30'
)
SELECT
    intDiv(n - 1, 10) * 10 + 10 AS bars_since_anchor,
    round(100 * avg(weight), 2) AS newest_bar_weight_pct
FROM running
GROUP BY bars_since_anchor
ORDER BY bars_since_anchor
$