Skip to content
In academic affiliation with Carnegie Mellon University
Institute of Algorithmic Tradingand Applied Computational Finance

Practitioner course in high-frequency trading

Execution Algorithms: VWAP, TWAP and Beyond

How large orders are traded without moving the price against you: VWAP and TWAP schedules, implementation shortfall, market impact models, the Almgren-Chriss trade-off, and transaction cost analysis.

A VWAP algorithm buys or sells a large order in slices sized to the market’s usual volume pattern, aiming to match the volume-weighted average price over the period. It is one of the most widely used execution tools on equity desks, and the simplest point of entry into the problem of optimal execution.

What does a VWAP algorithm do?

It forecasts how volume will be distributed through the day, usually from historical averages, then schedules child orders to follow that distribution. If the market usually trades a tenth of its daily volume in the first half hour, the algorithm aims to do a tenth of the order then. Done well, the average fill price is close to the market’s VWAP.

Why not just trade the whole order at once?

Because a large order moves the price. Market impact grows with order size relative to volume; a widely observed rule of thumb is that it grows with the square root of size. Trading slowly reduces impact but leaves you exposed to the price moving for other reasons. The Almgren-Chriss model makes that trade-off precise, and the course solves it.

Who is this course for?

Execution traders, quant developers on trading desks, and portfolio managers who want to understand their trading costs. It counts toward the Certificate in High-Frequency Trading and the Professional Diploma in Algorithmic Trading.

What you will be able to do

  • Build VWAP and TWAP schedules from historical volume profiles.
  • Measure execution against arrival price, VWAP and implementation shortfall.
  • Fit a square-root market impact model and explain its limits.
  • Solve the Almgren-Chriss trade-off between impact and timing risk.
  • Produce a transaction cost analysis report for a set of orders.

Syllabus, module by module

  1. The execution problem

    Parent and child orders, urgency, and the costs of trading too fast or too slow.

  2. TWAP

    Even schedules, randomisation and when time-weighting is the right choice.

  3. VWAP

    Intraday volume curves, forecasting volume, and tracking error to the VWAP benchmark.

  4. Benchmarks

    Arrival price, implementation shortfall, VWAP and close, and what each rewards.

  5. Market impact

    Temporary and permanent impact, the square-root law and its evidence.

  6. Optimal execution

    The Almgren-Chriss model, risk aversion and the efficient frontier of execution.

  7. Child order placement

    Limit versus market child orders, participation rates and dark venues.

  8. Transaction cost analysis

    Pre-trade estimates, post-trade measurement and reporting.

  9. Project lab

    Supervised work on the assessed execution project.

How the certificate is earned

An assessed project: you implement two execution algorithms, simulate them on historical data for a set of parent orders, and submit the code with a transaction cost analysis report. On a pass you receive the Course certificate in Execution Algorithms, issued by the Institute with a verification code. Read how certification works.

Before you start

Working Python, statistics to regression level, and the material of Limit Order Books.

This course counts toward

Questions applicants ask

What is the difference between VWAP and TWAP?

TWAP spreads an order evenly over time. VWAP spreads it in proportion to expected trading volume, so it trades more when the market is busier, typically near the open and close. VWAP is also a benchmark: the average price of all trading in the period, weighted by volume.

Is VWAP a trading strategy?

Mainly it is an execution method and a benchmark, used to buy or sell a set amount at a fair average price. Some traders also use the VWAP line as a signal; the course focuses on its execution use.

$690 24 hours