Everyone is turning towards algorithmic trading. Execution is extremely important to have good returns from algorithmic trading. Two important execution strategies used are VWAP (Volume Weighted Average Price) and TWAP (Time Weighted Average Price). It is important to note that here we are not discussing trading indicators. In fact, these are different mechanisms to execute the algorithms so that the traders can buy and sell large orders more efficiently without disturbing the market.
Both VWAP and TWAP aim to minimise slippage, reduce market impact, and improve the overall execution price. However, they use very different methodologies to do so. So, whether you are a retail trader exploring algorithmic tools or an institutional desk managing large volumes, the complete understanding of VWAP and TWAP is essential so that you can make better trade executions.
VWAP or Volume Weighted Average Price is one of the most popular trading execution mechanisms to reduce slippage. The aim of VWAP is to reflect the average price at which a security has traded throughout the day, weighted by volume. This value gives traders a sense of understanding of the average true price that has been traded in the market today. This also means that this is the price at which other traders have paid or received for a stock.
While VWAP is considered a technical indicator, it is widely used by smart money and institutional investors to trade large orders without distorting the market. The basic principle is that when the execution price is close to or better than the VWAP, it suggests the order was executed efficiently.
The formula of VWAP is,
VWAP = ∑(Price×Volume) / ∑(Volume)
Where:
VWAP is an indicator which is calculated continuously throughout the trading day. For the calculation of VWAP, we can calculate the typical price = (High + Low + Close) / 3. Then we will multiply this by the volume traded during that time interval. Finally, we will keep taking the sum of this (price × volume) across intervals, and divide by the cumulative volume.
Here are some considerations while using VWAP. As a buyer, if the trader is able to buy below VWAP, then he has been able to get a better price than the average market participant. On the other hand, as a seller, selling above VWAP is seen as positive execution. And for institutions, VWAP-based algos help split large orders over time to avoid price disruption and ensure fair pricing.
TWAP or Time Weighted Average Price is the next execution strategy that spreads an order out evenly over a specified time period. TWAP thus only focuses on time intervals and does not take into account the volume traded during that time.
The main aim of TWAP is similar to VWAP. It is to minimise the impact of a large order on the market by executing small slices at regular intervals. TWAP is usually preferred in those instruments which have low liquidity.
The formula of TWAP is,
TWAP = ∑(Price at each interval)/Number of intervals
Where:
Let us take an example.
Imagine we want to buy 10,000 shares of a stock over 5 hours.
A simple TWAP strategy would break this into equal-sized chunks and execute them at a fixed time interval.
So, if we want to trade every 5 minutes, there will be a total of 5 hours x 60/5 = 60 chunks. So, after every 5 minutes, we will place 10000/60 = 167 trades.
It doesn’t try to “outsmart” the market with timing or volume shifts. Instead, it executes like clockwork, which is exactly what some traders want for stealth or control.
TWAP is especially useful for institutional and algorithmic traders because it offers a deterministic, volume-agnostic execution path. Also, for illiquid stocks, TWAP can help avoid dumping of large orders, which can move a thin order book.
While both TWAP and VWAP help in getting better execution, here are the major differences between them:
Aspect |
VWAP (Volume Weighted Average Price) |
TWAP (Time Weighted Average Price) |
Weighting Basis |
Volume-weighted |
Time-weighted |
Market Awareness |
Takes market volume into account |
Ignores market volume |
Execution Logic |
Executes more during high-volume periods |
Executes evenly over time |
Best Use Case |
When volume is predictable or high |
When market liquidity is low or volume is unpredictable |
Strategy Type |
Adaptive (adjusts to volume flow) |
Static (fixed intervals, fixed sizes) |
Impact on Market |
Lower if used correctly, but may be gamed in low-volume stocks |
Very low; harder to detect and front-run |
Preferred By |
Institutional traders, mutual funds, ETFs |
Hedge funds, proprietary desks, and low-liquidity traders |
Calculation Complexity |
More complex due to volume weighting |
Simpler, based only on time |
Risk of Signalling |
Medium – can become predictable in low-volume stocks |
Low – less likely to reveal trader intent |
VWAP is used when the instrument being traded is liquid and we want to benchmark our execution against the market average. It is mostly used when we don’t want to move the price too much, but still want to benefit from favourable volume conditions. Some of the ideal scenarios when VWAP can be used are:
TWAP is best suited when the primary goal is to minimise market impact and execute trades evenly over time. That means it is especially useful in low-liquidity markets or when dealing with large orders that might distort prices if executed all at once. Some of the ideal scenarios when TWAP can be used are:
The answer depends on your trading objective, market conditions, and liquidity of the asset. Here is a summary of which to choose based on different conditions:
Goal |
Choose VWAP if… |
Choose TWAP if… |
Benchmark performance |
You want to track or beat the average market price |
Less relevant for benchmarking |
Market impact minimisation |
You can time orders with volume spikes |
You prefer evenly timed execution |
Volume reliability |
Intraday volume is predictable |
Volume is erratic or hard to measure |
Asset liquidity |
Highly liquid stocks (e.g., NIFTY50) |
Illiquid/mid-cap/small-cap stocks |
Stealth execution |
Not ideal—volume-based orders are visible |
Better—orders are spaced, avoiding detection |
We have discussed that both TWAP and VWAP are extremely powerful execution strategies. However, misusing them can actually lead to more slippage and signalling risks. Here are the common mistakes that traders should avoid while using VWAP:
Similarly, some mistakes that the traders should avoid while using TWAP are:
As a trader, especially doing algorithmic trading, both VWAP and TWAP are essential tools to increase profitability. However, they serve different purposes. VWAP excels in high-liquidity environments where matching or beating the average market price is the goal. TWAP, on the other hand, shines when stealth, neutrality, or illiquid assets are involved, offering more control over time-based execution. The trader must carefully choose between them to best align based on the execution objective, asset characteristics, and market environment.