Execution algorithms

Almgren–Chriss optimal execution

∞structural
By . Reviewed 22 October 2026. As of 2026: a permanent feature of the market, not an edge that decays.

The canonical optimal-execution model (2000): liquidating a position is a trade-off between market impact (trade fast) and timing risk (trade slow). Minimising a mean-variance cost yields the optimal trajectory; risk aversion sets where on the frontier you sit.

See it move

Almgren–Chriss optimal executiondrag risk aversionIX-ALMGREN
Risk aversion λ0.50
Stylebalanced
Expected cost19.6
Timing variance19.8
optimal trajectory (holdings vs time)efficient frontier (cost vs risk)
Risk aversion λ0.50

What to notice. A patient trader (low λ) liquidates almost linearly and pays little impact but rides volatility for longer; a risk-averse trader (high λ) front-loads and pays more impact to cut timing risk. Every choice sits on the same frontier: there is no free lunch, only a trade-off.

What problem does Almgren–Chriss solve?

It finds the best way to liquidate a position by a deadline. You hold XX units and must be flat by time TT, choosing how much to trade in each of NN time slices. Trade quickly and your own selling pushes the price against you (impact); trade slowly and the price can drift away before you finish (volatility, or timing risk). Almgren and Chriss (2001) find the schedule that trades the two costs off optimally.

It is the formal solution to the dilemma set out in why execution algorithms exist. Bertsimas and Lo (1998) had already solved the problem by dynamic programming for a trader who cares only about expected cost, and found that equal slices are optimal. Almgren and Chriss added risk aversion, and with it the efficient frontier. The framework is a discrete-time, linear-impact, mean-variance model, simple enough to solve in closed form, which is why it became the standard teaching and benchmark model.

The answer is not one schedule but a family, one per level of risk aversion. That is the model's central idea: there is no single right schedule, only an efficient set. The assumptions (linear impact, an arithmetic Brownian price) are simplifications, covered below.

The impact and risk model

The price you receive on each slice is the unaffected price minus two impact terms. A permanent impact moves the price for good and is felt by every later slice; a temporary impact depends on how fast this slice trades and fades afterwards. Meanwhile the unaffected price follows a random walk with volatility σ\sigma, which is the source of risk.

Permanent impact γ\gamma means each unit sold lowers the price by γ\gamma for good, a revaluation the market keeps. It depends on total size, not speed. Temporary impact η\eta means a slice of size nn traded over a short interval τ\tau costs an extra η (n/τ)\eta\,(n/\tau) per unit: the faster you push, the worse the price, but it recovers once you stop. This is the cost you control by slowing down. Volatility σ\sigma moves the unaffected price between slices, so the longer you take, the further it can drift against the remaining position. That is the risk, the variance, in the objective.

The execution price on a slice is the prevailing price less the temporary (rate-dependent) impact; the public price itself is pushed down permanently by the size you trade.
S~k=Sk−1−η nkτ,Sk=Sk−1+στ ξk−γ nk\tilde{S}_k = S_{k-1} - \eta\,\frac{n_k}{\tau}, \qquad S_k = S_{k-1} + \sigma\sqrt{\tau}\,\xi_k - \gamma\,n_k

These are the same η\eta, γ\gamma and σ\sigma as in the market-impact guides; Almgren–Chriss is what you do with a calibrated impact model. See estimating impact for getting η\eta and γ\gamma from data. Almgren, Thum, Hauptmann and Li (2005) estimated impact on Citigroup's US equity orders and found temporary impact growing as the trading rate to the power 3/5, with permanent impact linear, which is why the linear model is an approximation.

The mean-variance objective and the efficient frontier

For any schedule the model computes the expected cost E[cost]E[\text{cost}] (the impact you will pay) and its variance V[cost]V[\text{cost}] (the timing risk), then minimises E[cost]+λ V[cost]E[\text{cost}] + \lambda\,V[\text{cost}], where λ≥0\lambda \ge 0 is your risk aversion. Sweeping λ\lambda from 0 to ∞\infty traces the efficient frontier, every point of which is optimal for some risk appetite.

Minimise expected impact cost plus risk-aversion times the variance of cost, exactly the mean-variance shape of portfolio theory, applied to a liquidation schedule.
min⁡{xk}  E[cost]+λ V[cost]\min_{\{x_k\}} \; E[\text{cost}] + \lambda\,V[\text{cost}]

At λ=0\lambda = 0 you care only about expected cost and trade as slowly as the deadline allows. The result is uniform trading, the straight-line liquidation, which is TWAP and which Almgren and Chriss identify with the "naive" strategy of Bertsimas and Lo: equal packets using all the available time equally. Raise λ\lambda and you increasingly fear variance, so you front-load, paying more impact now to cut your exposure to drift.

Plot E[cost]E[\text{cost}] against V[cost]\sqrt{V[\text{cost}]} and you get a smooth, convex curve. You cannot cut expected cost without taking more risk, or cut risk without paying more expected cost, and your λ\lambda picks the point. The curve is flat at its minimum, so moving a little away from TWAP buys a first-order reduction in variance for only a second-order rise in expected cost. An urgent desk (high λ\lambda) sits up and to the left, trading fast; a patient one sits down and to the right. Choosing the schedule that minimises value at risk turns the same frontier into what the authors call liquidity-adjusted VaR.

The closed-form trajectory: the sinh schedule

The optimal holdings path is a hyperbolic sine, with a single urgency parameter κ=λσ2/η\kappa = \sqrt{\lambda\sigma^2/\eta} set by risk aversion, volatility and temporary impact. Higher λ\lambda gives a larger κ\kappa and a faster, more front-loaded decay; as λ→0\lambda \to 0, κ→0\kappa \to 0 and the curve straightens into the TWAP line.

Remaining holdings decay as a hyperbolic sine from XX at the start to 0 at the deadline, with a single urgency parameter κ\kappa controlling all of the curvature.
x(t)=X sinh⁡ ⁣(κ(T−t))sinh⁡(κT),κ=λσ2ηx(t) = X\,\frac{\sinh\!\big(\kappa(T-t)\big)}{\sinh(\kappa T)}, \qquad \kappa = \sqrt{\frac{\lambda\sigma^2}{\eta}}

The ratio sinh⁡(κ(T−t))/sinh⁡(κT)\sinh(\kappa(T-t))/\sinh(\kappa T) is 1 at t=0t=0 and 0 at t=Tt=T, decaying convexly in between. As κ→0\kappa \to 0 it becomes linear, recovering uniform trading; as κ\kappa grows, the curve bends toward the origin and most of the position goes early. Volatility and risk aversion push κ\kappa up; costlier temporary impact pushes it down. Almgren and Chriss define the half-life of the trade as 1/κ1/\kappa, the time it takes to cut the position by a factor of ee. It depends on liquidity, volatility and risk aversion but not on the deadline, so if TT is long relative to it, most of the selling happens well before the deadline.

Permanent impact does not change the shape. In the basic model it adds a fixed 12γX2\tfrac12\gamma X^2 to every schedule, because it depends only on total size, so it shifts the frontier without bending the optimal path. Only temporary impact and risk interact to set the curve.

▸ Show the derivation optional

For a liquidation of XX units over NN intervals of length τ=T/N\tau = T/N, let xkx_k be holdings after interval kk (with x0=Xx_0 = X, xN=0x_N = 0) and nk=xk−1−xkn_k = x_{k-1} - x_k the amount sold in interval kk. The unaffected price carries permanent impact and the execution price carries temporary impact:

Sk=Sk−1+στ ξk−γ nk,S~k=Sk−1−η nkτ,ξk∼N(0,1) i.i.d.S_k = S_{k-1} + \sigma\sqrt{\tau}\,\xi_k - \gamma\,n_k, \qquad \tilde{S}_k = S_{k-1} - \eta\,\frac{n_k}{\tau}, \quad \xi_k \sim \mathcal{N}(0,1)\ \text{i.i.d.}

The implementation shortfall (cost relative to the arrival value S0XS_0 X) has the expectation and variance below: a path-independent permanent term plus a temporary term that penalises fast slices, and a variance from holding xkx_k through each interval at volatility σ\sigma. This version drops the paper's fixed-cost term and a small correction of order τ\tau that is folded into η\eta in the paper, which vanishes as τ→0\tau \to 0.

E[cost]=12γX2+η∑knk2τ,V[cost]=σ2∑kτ xk2E[\text{cost}] = \tfrac12\gamma X^2 + \eta\sum_k \frac{n_k^2}{\tau}, \qquad V[\text{cost}] = \sigma^2\sum_k \tau\,x_k^2

Minimising E[cost]+λV[cost]E[\text{cost}] + \lambda V[\text{cost}] over the xkx_k (with the endpoint constraints) and setting the gradient to zero gives a linear second-order difference equation in xkx_k:

xk−1−2xk+xk+1=κ~2 τ2 xk,κ~2=λσ2ηx_{k-1} - 2x_k + x_{k+1} = \tilde{\kappa}^2\,\tau^2\,x_k, \qquad \tilde{\kappa}^2 = \frac{\lambda\sigma^2}{\eta}

Its solution is a discrete hyperbolic sine; in the continuous limit this is x(t)=X sinh⁡(κ(T−t))/sinh⁡(κT)x(t) = X\,\sinh(\kappa(T-t))/\sinh(\kappa T) with κ=λσ2/η\kappa = \sqrt{\lambda\sigma^2/\eta}, and the trade rate is the corresponding cosh⁡\cosh-weighted decay. The frontier is then traced by evaluating (E[cost], V[cost])(E[\text{cost}],\,V[\text{cost}]) along the optimal xk(λ)x_k(\lambda) as λ\lambda varies. (Almgren and Chriss, "Optimal execution of portfolio transactions", Journal of Risk 3(2), 2001.)

What the model assumes, and what later work changed

The basic model assumes linear impact, an arithmetic random walk (no drift, constant σ\sigma), static parameters and a single asset. These keep it solvable in closed form. The frontier intuition survives their removal; the exact sinh⁡\sinh trajectory does not once impact is nonlinear or σ\sigma varies.

Linear impact. Measured impact is closer to a power law, and for whole orders it scales like size\sqrt{\text{size}} (the empirical square-root law). Almgren (2003) treats nonlinear temporary impact and loses the clean closed form.

Price dynamics. Gatheral and Schied (2011) solve the problem under geometric Brownian motion in the Almgren–Chriss framework. Transient impact, where the effect of a trade decays over time, is the subject of Obizhaeva and Wang (2013), who tie it to the resilience of the order book, and of Gatheral, Schied and Slynko (2012).

Static parameters and no feedback. The η\eta, γ\gamma, σ\sigma and the volume profile are taken as fixed, and the schedule is fixed in advance. Lorenz and Almgren (2011) derive mean-variance optimal adaptive schedules that respond to the price as it unfolds. In practice parameters are also forecast per name and time of day, which is where machine learning feeds the frontier better inputs; see what AI changes for HFT. A short-horizon price signal tilts the optimal schedule toward or away from the expected drift, which the driftless basic model cannot do.

Worked example: liquidating a million shares in a day

The numbers are illustrative. Liquidate X=1,000,000X = 1{,}000{,}000 shares over T=1T = 1 day in N=20N = 20 slices (τ=1/20\tau = 1/20 day). Take volatility σ=0.30\sigma = 0.30 per day\sqrt{\text{day}} (in price units relative to a 50.00 price, about 0.6% a day), with temporary impact η\eta and permanent impact γ\gamma taken from a calibrated impact model.

Risk-neutral (λ→0\lambda \to 0): κ≈0\kappa \approx 0, so the optimal schedule is the straight line, 50,000 shares every slice (1,000,000 / 20). Expected cost is the minimum (12γX2\tfrac12\gamma X^2 plus the temporary term spread evenly), but the variance of cost is the maximum: you hold a large position late into the day, fully exposed to σ\sigma.

Risk-averse. Pick λ\lambda so that holdings halve in about a quarter of the day, which means κT=4ln⁡2≈2.8\kappa T = 4\ln 2 \approx 2.8. The schedule then front-loads: about 130,000 shares in slice 1, tapering to about 17,000 in slice 20. (This uses a literal halving time; with the authors' half-life of 1/κ1/\kappa set to a quarter of the day, κT=4\kappa T = 4, slice 1 would be about 181,000.)

That sinh⁡\sinh schedule pays more temporary impact early, so expected cost rises, but the standard deviation of cost falls sharply, because you are flat much sooner and the price cannot drift on a large remaining position. Plotted, the risk-averse schedule sits up and to the left of the TWAP point on the frontier, with higher expected cost and much lower risk. Neither dominates; your λ\lambda decides. Drag λ\lambda in the widget above and watch the chosen point glide along the convex frontier while the trajectory bends from a line into a sinh⁡\sinh. The trajectory shape is robust to the calibration; the exact numbers are not, so fit η\eta and γ\gamma to your own fills.

Sources

  1. Almgren, R. and Chriss, N. (2001). "Optimal execution of portfolio transactions". Journal of Risk 3(2), 5–39. doi.org
  2. Bertsimas, D. and Lo, A. W. (1998). "Optimal control of execution costs". Journal of Financial Markets 1(1), 1–50. doi.org
  3. Almgren, R. (2003). "Optimal execution with nonlinear impact functions and trading-enhanced risk". Applied Mathematical Finance 10(1), 1–18. doi.org
  4. Almgren, R., Thum, C., Hauptmann, E. and Li, H. (2005). "Direct estimation of equity market impact". Risk 18(7). cis.upenn.edu
  5. Gatheral, J. and Schied, A. (2011). "Optimal trade execution under geometric Brownian motion in the Almgren and Chriss framework". International Journal of Theoretical and Applied Finance 14(3), 353–368. doi.org
  6. Gatheral, J., Schied, A. and Slynko, A. (2012). "Transient linear price impact and Fredholm integral equations". Mathematical Finance 22(3), 445–474. doi.org
  7. Obizhaeva, A. A. and Wang, J. (2013). "Optimal trading strategy and supply/demand dynamics". Journal of Financial Markets 16(1), 1–32. doi.org
  8. Lorenz, J. and Almgren, R. (2011). "Mean–variance optimal adaptive execution". Applied Mathematical Finance 18(5), 395–422. doi.org

Where this fits

Common questions

What is the Almgren–Chriss model?
Almgren–Chriss (2000) is the canonical optimal-execution framework. It frames liquidating a large position as a trade-off between market impact (trade fast, move the price against yourself) and timing risk (trade slow, expose yourself to volatility). Minimising a mean-variance cost yields an optimal trading trajectory; a risk-aversion parameter sets where on the impact-versus-risk frontier you sit.