Don’t trade all the way to the target: partial adjustment and trading costs
Your model gives a new optimal position every day. The naive implementation trades to it immediately. But signals are noisy: today’s target is partly yesterday’s target plus noise, and trading to every wiggle racks up costs for very little extra alpha. The fix is to move only part of the way each day. How far depends on two things: how expensive trading is, and how long the signal lasts.
Lag costs alpha, speed costs money
Trading slowly means your position lags the target. When the signal changes, you capture only part of the new alpha, and by the time you’ve caught up, the signal may have faded. That’s the alpha cost of slow trading, and it’s worst when the signal decays quickly.
Trading fast means trading a lot. With quadratic costs, trading the same total amount in smaller pieces is much cheaper: n equal pieces cost . And a lot of the day-to-day change in the target is noise that reverses; partial adjustment never fully trades it. That’s the cost saving.
The best τ balances the two. For a persistent signal, lag costs little alpha, so trade slowly. For a fast signal, you must keep up, but if costs are high it may not be worth trading at all.
Net P&L as a function of τ
The figure simulates 20,000 days. A signal follows an AR(1) with the half-life you choose; it predicts the next day’s return, and the target position is the mean–variance optimum given that prediction. Each curve is computed on the same data for 40 values of τ.
Daily P&L (bp) vs trading speed τ
Target vs position, 150 days
With a 7-day half-life and λ = 0.05, trading fully (τ = 1) leaves almost nothing after costs, while τ around 0.3 keeps most of the alpha with well under half the turnover. Set λ = 0 and the best τ is 1: with free trading, always trade to the target. Lengthen the half-life to 50 days and the best τ falls a lot: a persistent signal can be traded slowly with little lag cost. The right panel shows the difference: the τ = 1 position copies every wiggle of the target, while the best-τ position is a smooth, lagged version of it.
import numpy as np
def partial_adjustment_pnl(target, returns, tau, lam):
"""Net P&L of trading a fraction tau towards target each day with cost lam/2 * trade^2.
target[t] is known at the close of day t; returns[t + 1] is earned over the next day."""
x, pnl, cost = 0.0, 0.0, 0.0
for t in range(len(target) - 1):
new_x = x + tau * (target[t] - x)
cost += 0.5 * lam * (new_x - x) ** 2
pnl += new_x * returns[t + 1]
x = new_x
return pnl - costAim in front of the target
Gârleanu and Pedersen solved the dynamic problem exactly for quadratic costs, mean–variance preferences and signals that decay at known rates. The answer has the partial-adjustment form of step 4, with two twists:
- The trading rate rises with risk aversion and falls with trading costs, exactly as the simulation suggests.
- The aim is not today’s target. It’s a weighted average of today’s target and the targets expected in the future. Because slow signals will still be around when your position catches up, the aim tilts towards them, and away from fast signals that will have faded. With several signals of different speeds, you put more weight on the persistent ones than a static optimiser would.
With a single AR(1) signal, as in the figure, the aim is just a scaled-down copy of the target, so tuning τ on the target is the same rule.
Where people slip in interviews
- Optimising gross alpha in a backtest and trading to the target. The highest-turnover version usually wins gross and loses net.
- Linear costs vs quadratic. With purely linear costs (spread), the optimal rule is a no-trade band around the target, not partial adjustment. Real costs have both parts, giving a band plus partial adjustment.
- Ignoring signal decay. The same cost level can make a 2-day signal untradeable and a 2-month signal very profitable.
- Combining signals before thinking about speed. A fast and a slow signal with equal ICs shouldn’t get equal weight once costs exist.
Try these before you open the answer
Warm-upYou trade τ = 0.2 of the gap each day. What's the half-life of your position gap?Show answer
SplittingWith quadratic costs, how much cheaper is it to make a trade in 5 equal daily pieces rather than all at once (ignoring any price moves)?Show answer
Cost of one trade: . Five pieces: . Five times cheaper.
LimitsWhat's the optimal τ when trading costs are zero? When the signal never changes?Show answer
Zero costs: τ = 1, always hold the target. A constant signal: any τ > 0 gets you there eventually; with costs, the slower the better, since you pay for the same total trade either way and lower τ spreads it out.
SignalsA fast signal has a 2-day half-life and a slow one a 60-day half-life, with equal ICs. Which should get more weight in the aim portfolio when trading is costly, and why?Show answer
The slow one. By the time a slowly adjusting portfolio catches up with a signal, the fast signal has mostly decayed, so its alpha is largely lost to lag, while the slow signal’s alpha is still there. Gârleanu–Pedersen’s aim weights each signal’s target by how much of it survives the trading lag.
StretchWhy does partial adjustment also reduce the impact of noise in the target?Show answer
If the target is the true signal plus independent daily noise, a position that averages the target over its recent history (an exponential average with weight τ) averages out much of the noise. You trade less on changes that will reverse tomorrow, which saves costs without losing the persistent part of the signal.
The figure simulates 20,000 days and evaluates every τ on the same data in your browser. The qualitative pattern matched 200,000-day simulations in Python.