Skip to main content

TWAP Strategy Guide

Time-Weighted Average Price (TWAP) is a sophisticated execution strategy that breaks large orders into smaller chunks to minimize market impact and achieve better average prices.

What is TWAP?

TWAP divides a large order into smaller sub-orders executed at regular intervals over a specified time period. This reduces price slippage and helps achieve prices close to the time-weighted average.

How It Works

  1. Define Total Order: Set the total amount to buy/sell
  2. Set Duration: Choose execution timeframe
  3. Calculate Intervals: System divides order into chunks
  4. Execute Gradually: Places orders at regular intervals
  5. Complete Order: Achieves better average price

Example

Order: Buy 10,000 USDC worth of SUI
Duration: 2 hours
Intervals: 24 (every 5 minutes)
Each order: ~417 USDC

Result: Near-average price over 2 hours

Benefits

✅ Reduced Market Impact

  • Large orders don't move the market
  • Better execution prices
  • Less slippage

✅ Price Averaging

  • Captures average market price
  • Reduces timing risk
  • More predictable outcomes

✅ Stealth Execution

  • Hides true order size
  • Prevents front-running
  • Professional approach

Configuration Parameters

Total Amount

The complete size of your order.

Guidelines:

  • Minimum: 10x normal trade size
  • Recommended: $1,000+ for best results
  • Maximum: Limited by liquidity

Duration

Total time to execute the order.

Options:

  • 5-15 minutes: Very urgent orders
  • 30-60 minutes: Standard execution
  • 2-4 hours: Large orders
  • 6-24 hours: Maximum price averaging

Number of Intervals

How many sub-orders to create.

Recommendations:

  • Short duration: 10-20 intervals
  • Medium duration: 20-50 intervals
  • Long duration: 50-100 intervals

Calculation:

Interval time = Duration / Number of intervals
Order size = Total amount / Number of intervals

Strategy Variations

Linear TWAP

Equal-sized orders at fixed intervals.

Every interval: Same amount
Predictable execution
Standard approach

Randomized TWAP

Varies timing and size slightly.

Interval: ±20% randomization
Size: ±10% variation
Harder to detect

Aggressive TWAP

Front-loaded execution.

First 50%: 70% of order
Last 50%: 30% of order
When expecting price rise

Market Conditions

Ideal for TWAP

Large Orders

  • Minimizes impact
  • Better average price
  • Professional execution

Low Volatility

  • Predictable execution
  • Steady averaging
  • Reduced risk

Deep Liquidity

  • Sufficient volume
  • Tighter spreads
  • Better fills

Avoid TWAP When

High Volatility

  • Rapid price changes
  • Unpredictable results
  • Consider shorter duration

Trending Markets

  • Strong directional moves
  • May miss opportunities
  • Use aggressive variation

Thin Liquidity

  • Wide spreads
  • Poor execution
  • High slippage

Real-World Examples

Example 1: Accumulation

Trader: Eve
Goal: Accumulate $50,000 of SUI
Market: Stable, good liquidity

Settings:
- Total: 50,000 USDC
- Duration: 4 hours
- Intervals: 48 (every 5 min)

Results:
- Average price: $0.952
- Market VWAP: $0.954
- Saved: 0.2% ($100)

Example 2: Large Exit

Trader: Frank
Goal: Sell large PUMPKIN position
Market: Moderate volume

Settings:
- Total: 2,000,000 PUMPKIN
- Duration: 2 hours
- Intervals: 24

Results:
- Average price: $0.0198
- Spot price at start: $0.0195
- Captured upward drift

Advanced Techniques

Dynamic Interval Adjustment

if volatility > threshold:
intervals = intervals * 1.5
duration = duration * 0.75

Volume Participation

Execute based on market volume:

  • Target 5-10% of volume
  • Adjust size dynamically
  • Blend with market flow

Price Triggers

Pause/resume based on price:

  • Pause if price exceeds range
  • Resume when in target zone
  • Protect from adverse moves

Performance Metrics

Tracking Success

Implementation Shortfall

Shortfall = (Arrival Price - Average Execution Price) / Arrival Price
Target: < 0.5%

VWAP Comparison

Performance = (VWAP - Your Average) / VWAP
Target: Within 0.2%

Analysis Template

TWAP Execution Report:
- Start price: $0.950
- End price: $0.958
- Your average: $0.954
- Market VWAP: $0.955
- Performance: -0.1% (good)

Common Pitfalls

Too Few Intervals

Problem: Large sub-orders, high impact Solution: Minimum 20 intervals

Wrong Duration

Problem: Too short causes impact Solution: Match duration to order size

Ignoring Liquidity

Problem: Poor fills in thin markets Solution: Check volume first

Integration Tips

Combine with Other Strategies

  • Use TWAP for entries
  • Grid trade the position
  • Timed buy for additions

Portfolio Implementation

Large positions: TWAP entry/exit
Medium positions: Grid trading
Small positions: Market orders

Best Practices

  1. Check Liquidity First

    • Ensure adequate volume
    • Review spread history
    • Plan around liquid hours
  2. Start Conservative

    • Longer durations
    • More intervals
    • Monitor first execution
  3. Track Performance

    • Compare to VWAP
    • Calculate savings
    • Optimize parameters

FAQ

Q: Minimum order size for TWAP? A: At least $500, ideally $1,000+ for meaningful benefit.

Q: Can I cancel mid-execution? A: Yes, remaining orders can be cancelled anytime.

Q: How does it handle partial fills? A: Automatically adjusts remaining orders to complete total amount.

Conclusion

TWAP is essential for large order execution. Master this strategy to trade like institutions and achieve better prices on significant positions.


Ready to execute large orders efficiently? Start with our TWAP Calculator