VWAP (Volume-Weighted Average Price) is the average price of an instrument weighted by the volume traded at each price level over a specified period, typically one trading day. It is one of the most important concepts in order execution and serves a dual purpose: as a benchmark to evaluate execution quality and as a trading indicator that informs strategy decisions.
How VWAP is calculated
VWAP is computed by summing the product of price and volume for every trade during the period, then dividing by the total volume. Mathematically: VWAP = Sum(Price_i * Volume_i) / Sum(Volume_i). The calculation is cumulative throughout the day, meaning VWAP at any given time reflects all trading activity from market open to that point.
Because VWAP weights by volume, prices where more shares traded have a greater influence on the result. If 80% of the day's volume trades between $100 and $101, VWAP will be close to $100.50 regardless of brief excursions to $99 or $102.
VWAP as an execution benchmark
Institutional traders use VWAP as the primary benchmark for measuring execution quality. If a fund manager needs to buy 100,000 shares over the course of a day, the execution desk aims to achieve an average fill price at or below the day's VWAP. Beating VWAP means the executions were better than the market average; trailing VWAP means the executions were worse.
VWAP execution algorithms work by slicing large orders into smaller child orders and distributing them throughout the day in proportion to expected volume. The algorithm trades more during high-volume periods and less during low-volume periods, attempting to match the market's natural volume pattern. This minimizes market impact by avoiding large orders that would move the price.
VWAP as a trading indicator
Traders also use VWAP as an intraday indicator. The theory is that prices above VWAP indicate bullish sentiment (the majority of volume traded at lower prices, so current buyers are paying a premium), while prices below VWAP indicate bearish sentiment. Some strategies use VWAP crossovers as entry signals, buying when price crosses above VWAP and selling when it crosses below.
VWAP bands, similar to Bollinger Bands, add standard deviation envelopes around the VWAP line. Prices that deviate significantly from VWAP may represent mean-reversion opportunities as the price tends to gravitate back toward the volume-weighted average.
Practical example
During the first two hours of trading, a stock trades 50,000 shares at an average price of $100 and 30,000 shares at an average price of $101. The VWAP at that point is (50,000 * $100 + 30,000 * $101) / 80,000 = ($5,000,000 + $3,030,000) / 80,000 = $100.375. A trader who bought 10,000 shares at an average price of $100.20 is executing better than VWAP (buying below the volume-weighted average).
How Tektii helps
Tektii calculates VWAP for all instruments during backtesting, enabling traders to benchmark their execution quality against this institutional standard. The platform supports VWAP as both an execution benchmark (comparing fill prices to VWAP) and as a data point available to strategies for signal generation. By providing VWAP analytics, Tektii helps traders evaluate whether their order execution methodology is efficient relative to market norms.