Skip to content

Strategy pattern · Mean reversion

Test a VWAP reversion strategy with costs and trend days included.

Super Algo Kit grades the VWAP reversion strategy C: fade price when it stretches far from the session's volume-weighted average price. VWAP is a documented execution benchmark, but the kit found no peer-reviewed study showing a tradable reversion edge after costs. Treat it as folklore to be tested, not a known edge. The kit runs a costed intraday backtest and a paper run first.

strategy facts

VWAP reversion: fading intraday stretches away from VWAP

Family
Mean reversion, from published literature on the benchmark only
Markets
Equities, futures and crypto spot
Timeframes
1-minute and 5-minute bars, within one session
Evidence grade
C: research backs VWAP as an execution yardstick, not as a reversion strategy
Status
Literature (benchmark concept only): not yet tested by the kit
Data needed
Intraday bars or trades with volume from one consistent source, session times, early closes and costs
Trial budget
Small, with a costed intraday test on the same volume source you plan to use live

From the kit's own card. Not investment advice.

Paper first

Test it before you trade it.

Super Algo Kit runs inside the coding agent you already use. It interviews you, writes the spec with pass marks set first, then builds, backtests and paper-tests. Real money starts only when you type the authorize command.

Type this in your coding agent
Build me a VWAP reversion bot on 5-minute bars for a liquid US stock on Alpaca, with a session-end exit. Paper only.

The plan, step by step

Tick them off as you go.

How does VWAP reversion work?

Many institutions judge their fills against VWAP, so big orders get worked around that level. Some traders think this tugs price back to VWAP after an intraday stretch.

That benchmark role is on record in research. A reversion edge that survives costs is not, so the kit treats it as folklore and makes you test it yourself.

VWAP reversion rules in plain words

A summary of the card's sketch follows. Adding a trend-day filter counts as another trial, declared in advance.

  • Start VWAP at the regular session open, or at a declared time such as 00:00 UTC in markets that never close.
  • Compute VWAP from trades up to the last completed bar only.
  • Draw bands a set number of standard deviations around VWAP.
  • Fade a finished bar that closes beyond a band, and get out at VWAP, at a stop, or when the session ends.

Where VWAP mean reversion breaks

Trend days do the most damage, because price leaves VWAP early and never comes back. Headlines and scheduled releases can also reset the fair price, so the stretch never closes.

Data is the quieter problem. Volume from all venues combined and volume from one venue produce different VWAPs, so a backtest and a live bot can disagree.

How Super Algo Kit tests a VWAP bot before any money

You declare pass marks and a small trial budget before the first run. The backtest is intraday and costed, and uses the same volume source you plan to use live.

Results are split into trend days and range days, and the kit expects failure on trend days. The leakage audit checks that VWAP never peeks at the full day or an unfinished bar.

Before you rely on it

Where it fails.

  • Trend days: price breaks away from VWAP early, never comes back, and does the most damage.
  • News and scheduled data can turn a stretch into a new price level.
  • Look-ahead: a full-day VWAP, or one that includes the unfinished bar.
  • Different feeds give different VWAPs, so backtest and live disagree.
  • Many small intraday trades let costs dominate.

FAQ

VWAP reversion: questions.

Does VWAP reversion work?

Super Algo Kit found no peer-reviewed study showing a tradable VWAP reversion edge after costs, so the card is graded C. VWAP is well documented only as an execution benchmark. Any case for your version has to come from your own costed test and paper run.

Why does my VWAP backtest differ from my live bot?

A consolidated feed and a single-venue feed compute different VWAPs, so two sources can disagree. A backtest may also peek at the full-day VWAP or the unfinished bar. Super Algo Kit uses one volume source for both and checks for look-ahead.

What is a trend day for a VWAP strategy?

A trend day is a session where price moves away from VWAP early and stays away. Fading those moves produces the largest losses in this pattern. The kit tests trend and range days apart, and any trend-day filter counts as a declared trial.

How do I set VWAP for a 24-hour market such as crypto?

There is no regular session open, so you pick and declare a start time, for example 00:00 UTC. The backtest and the live bot must use the same start time and the same volume source. Super Algo Kit records both in the spec.

Can Super Algo Kit build a VWAP trading bot?

Super Algo Kit helps your own AI coding agent build one as real code in your project. It interviews you, writes a spec with pass marks, then runs a costed backtest and a paper test. Live starts only when you type the authorize command.

Keep reading

More guides.

Sources the kit's card cites

  • Berkowitz, Logue and Noser (1988). The Total Cost of Transactions on the NYSE. Journal of Finance (VWAP as an execution benchmark).
  • Park and Irwin (2007). What Do We Know About the Profitability of Technical Analysis? Journal of Economic Surveys.

Build it with Super Algo Kit.

15 specialist roles and 35 skills inside your coding agent. Paper first, live only when you say.

Super Algo Kit is development software. It is not investment advice, a signal service or a promise of performance. Trading involves substantial risk, including the loss of all capital you trade with.