scienceMar 24, 2026

Improving TWAP Execution with Direction-to-Close Signals

Direction-to-close signals reduce TWAP implementation shortfall by 2.55 bps on average across ES and NQ futures. Out-of-sample results over 2024–2025.

Back to Blog

Executive Summary

Quantum Signals produces live direction-to-close signals for highly liquid equities and futures markets. These signals capture persistent intraday market dynamics and can be used as a timing overlay for execution algorithms.

This note presents a simple, transparent benchmark evaluating whether such signals improve execution of a fixed parent order relative to a neutral TWAP schedule, applied to E-mini S&P 500 (ES) and E-mini Nasdaq 100 (NQ) futures. We simulate the execution of a daily parent order using two strategies:

  • A standard TWAP schedule.
  • A signal-aware execution schedule that symmetrically tilts the trading trajectory earlier or later depending on the signal direction, using an aggressiveness level of λ=1.

The simulation assumes zero transaction costs. Since any fixed per-trade cost would apply uniformly to both strategies, it would not affect the relative improvement reported.

Across the tested sample, the signal-aware schedule reduces implementation shortfall relative to TWAP across all periods tested. Across 2024 and 2025, the average daily improvement is 2.55 basis points, ranging from 0.09 to 9.80 basis points across years, quarters, symbols and directions.

The benchmark isolates the value of predictive timing while keeping the total traded quantity identical between strategies. The results suggest that intraday direction-to-close signals can provide measurable execution value when used as an overlay of standard execution schedules. While the benchmark is conducted on ES and NQ futures, the same approach applies directly to correlated instruments including MES, MNQ, SPY, and QQQ.

1. Signal Overview

Quantum Signals provides live direction-to-close signals for highly liquid futures markets, generated by proprietary neural networks based on Temporal Fusion Transformer (TFT) architectures.

The signals are updated each minute. At each update, the model predicts the direction of price movement between the current 5-minute window and the close of the session, defined as:

Average midprice over [15:55, 16:00] − Average midprice over [t, t+5min]

The signal takes three values: UP, STABLE, or DOWN, indicating whether the model expects price to rise, remain broadly flat, or fall between the current moment and the session close.

2. Benchmark Design

To evaluate the execution value of direction-to-close signals, we construct a simple benchmark comparing a standard TWAP schedule with a signal-aware execution schedule, isolating the effect of predictive timing while keeping all other elements identical.

The benchmark is conducted on E-mini S&P 500 (ES) and E-mini Nasdaq 100 (NQ) futures over the full years 2024 and 2025. All results are out-of-sample. Buy and sell orders are benchmarked separately for each instrument, yielding four instrument-direction combinations.

Each simulation assumes a parent order of Q = 10,000,000 USD notional, executed over regular trading hours from 9:45 to 16:00 ET — a horizon of 374 one-minute intervals. Execution begins at 9:45 rather than the session open to avoid opening volatility and to allow the model sufficient intraday history before generating predictions. The simulation assumes zero transaction costs. Since any fixed per-trade cost would apply uniformly to both strategies, it would not affect the relative improvement reported.

3. Execution Strategies

3.1 Baseline TWAP

The baseline strategy executes the parent order using a standard Time-Weighted Average Price (TWAP) schedule. The parent order notional Q is converted into a number of units using the session open price P₀:

N = Q / P₀

These units are then divided evenly across the T = 374 one-minute intervals, yielding a constant slice size:

q₀ = N / T

All calculations are performed using fractional units throughout the simulation.

3.2 Signal-Aware Execution Schedule

The signal-aware strategy dynamically adjusts the slice size at each interval based on the signal direction. At each minute t, the algorithm first computes the baseline quantity required to complete the order on time given remaining inventory:

bt = remaining units / remaining intervals

The executed quantity is then adjusted according to the signal:

qt = bt (1 + λ st)

where  st ∈ {−1, 0, +1} represents the signal direction relative to the order side, and λ is an aggressiveness parameter. In this benchmark, λ = 1. When the signal is favorable, execution is accelerated relative to the neutral trajectory; when unfavorable, it is slowed.

To prevent excessive inventory accumulation, a guardrail is applied: if bt exceeds twice the initial TWAP slice size q₀=N/T, the signal is ignored and execution reverts to the neutral pace qt=bt. This ensures the strategy never defers too aggressively and can always complete the full parent order by the session close.

A second guardrail prevents execution from tapering to sub-TWAP pace late in the session: if bt  falls below q₀, the executed quantity is floored at q₀ for the remainder of the session, ensuring a smooth completion without anomalous slowdown at the close.

3.3 Example

Setup: 

  • Buy Order 
  • Q = 1,000 units
  • T = 10 intervals
  • q₀ = N/T = 100 units
  • λ = 1

guardrail triggers if bt> 2 × q₀ = 200 units

t Signal Decision st bt qt vs q0 Executed Remaining Progress
1 UP ↑ Accelerate +1 100.0 200.0 +100.0 200.0 800.0 20%
2 UP ↑ Accelerate +1 88.9 177.8 +77.8 177.8 622.2 38%
3 DOWN ↓ Pause −1 77.8 0.0 -100.0 0.0 622.2 38%
4 DOWN ↓ Pause −1 88.9 0.0 -100.0 0.0 622.2 38%
5 DOWN ↓ Pause −1 103.7 0.0 -100.0 0.0 622.2 38%
6 DOWN ↓ Pause −1 124.4 0.0 -100.0 0.0 622.2 38%
7 DOWN ↓ Pause −1 155.6 0.0 -100.0 0.0 622.2 38%
8 DOWN ↓ Guardrail −1 207.4 207.4 +107.4 207.4 414.8 59%
9 UP ↑ Guardrail +1 207.4 207.4 +107.4 207.4 207.4 79%
10 UP ↑ Guardrail +1 207.4 207.4 +107.4 207.4 0.0 100%

Table 1: Signal aware execution example with signal values

What to note: Five consecutive DOWN signals (t3–t7) cause execution to pause entirely, letting inventory accumulate. By t8 the catch-up pace bt = 622/3 ≈ 207 units — exceeding the guardrail threshold of 2 × q₀ = 200. The guardrail overrides the signal at t8 and t9, forcing execution at the neutral catch-up pace regardless of signal direction. This ensures the full order completes by t10 without aggressive end-of-session trading. Total executed: 1,000 units across all 10 intervals.

__wf_reserved_inherit
Figure 1: Example graph of index price and signal value (assuming signal is 100% accurate)

4. Performance Metric

Performance is measured using implementation shortfall relative to the session open price. For a sell order on day d, shortfall is defined as:

ISd = (Average Execution Price − Open Price) / Open Price × 10,000

expressed in basis points. For a buy order, the sign is reversed:

ISd = (Open Price − Average Execution Price) / Open Price × 10,000

Under this convention, a more negative IS indicates worse execution — the strategy bought above the open (for buys) or sold below the open (for sells) — while a more positive IS indicates better execution. In both cases, the signal-aware strategy improves execution by shifting the trajectory toward more favorable prices: accelerating when price is expected to move against the order, and slowing when it is expected to move in a favorable direction.

The daily improvement from using the signal-aware schedule is:

Δd = ISd(Signal Strategy) − ISd(TWAP)

A positive Δd means the signal-aware schedule achieved better execution than TWAP on that day — regardless of the sign of IS itself. For example, a signal strategy with IS = −0.20 bps outperforms a TWAP with IS = −1.93 bps, yielding Δd = +1.73 bps. Equally, a signal strategy with IS = +4.17 bps outperforms a TWAP with IS = +1.93 bps on a sell order, yielding Δd = +2.24 bps. In both cases the improvement metric is positive and directly comparable across instruments and order directions.

5. Annual Reports Summary

Symbol Direction TWAP IS (bps) QS IS (bps) Improvement (bps)
ES Buy -1.093 0.895 1.987
ES Sell 1.093 3.569 2.477
NQ Buy -0.097 3.268 3.364
NQ Sell 0.097 3.767 3.670

Tabe 2: Implementation shortfall improvement for 2025

Symbol Direction TWAP IS (bps) QS IS (bps) Improvement (bps)
ES Buy -0.25 1.359 1.609
ES Sell 0.25 2.285 2.035
NQ Buy 1.142 3.570 2.428
NQ Sell -1.142 1.717 2.859

Table 3: Implementation shortfall improvement for 2024

6. Interpretation

The signal-aware schedule outperforms TWAP across all 32 quarter-symbol-direction combinations within two full years with an average daily improvement of 2.55 basis points across 2024 and 2025. The consistency of this result — positive across all quarters, both instruments, and both order directions — suggests the improvement reflects a systematic execution edge rather than a period-specific effect.

The magnitude of improvement varies with market conditions, ranging from 0.09 to 9.80 basis points across the sample. This variation is expected for a timing-based strategy: in periods of stronger intraday directional persistence, the signal provides more opportunities to meaningfully shift the execution trajectory, while in quieter periods the improvement is more modest. Crucially, the strategy never materially underperforms TWAP — the guardrail mechanism ensures that execution pace never falls so far behind the neutral schedule that the strategy is forced into aggressive catch-up trading.

NQ consistently shows larger improvements than ES, averaging approximately 3.1 bps versus 2.0 bps annually. This is consistent with NQ exhibiting stronger intraday directional dynamics, which the model is better positioned to exploit for timing purposes.

The benchmark does not attempt to replicate a full broker execution stack. It isolates the value of predictive timing relative to a neutral TWAP baseline, keeping total traded quantity and execution horizon identical between strategies. Given the slice sizes relative to the liquidity of ES and NQ, market impact beyond the zero-cost assumption is considered negligible. The results suggest that direction-to-close signals can serve as an effective timing overlay on top of standard execution schedules, with applicability extending to correlated instruments such as MES, MNQ, SPY, and QQQ.

7. Quarterly breakdown

Symbol Direction Quarter TWAP IS (bps) QS IS (bps) Improvement (bps)
ESBuyQ1-4.979-2.7882.191
Q21.4472.7501.303
Q33.3036.1562.853
Q4-0.971-0.8820.089
SellQ14.9797.7922.812
Q2-1.4470.0471.495
Q3-3.3030.2433.546
Q40.9711.2570.286
NQBuyQ1-1.0362.6743.710
Q2-1.3020.2441.546
Q38.14610.9352.788
Q4-1.4140.2871.701
SellQ11.0365.4014.365
Q21.3022.8161.514
Q3-8.146-4.7283.418
Q41.4143.5922.179

Table 4: Quarterly breakdown for 2024

Symbol Direction Quarter TWAP IS (bps) QS IS (bps) Improvement (bps)
ESBuyQ17.2418.3181.077
Q2-14.577-9.2675.310
Q3-0.6110.9691.58
Q43.4013.4710.070
SellQ1-7.241-6.1861.056
Q214.57721.5556.978
Q30.6112.4901.879
Q4-3.401-3.2920.109
NQBuyQ113.37315.9832.610
Q2-22.055-13.6748.380
Q3-0.0041.5191.523
Q48.0319.1661.135
SellQ1-13.373-11.0972.277
Q222.05531.8529.797
Q30.0041.5101.506
Q4-8.031-6.7131.318

Table 5: Quarterly breakdown for 2025