Almgren–Chriss optimal execution
∞structuralThe 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
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 units and must be flat by time , choosing how much to trade in each of 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 , which is the source of risk.
Permanent impact means each unit sold lowers the price by for good, a revaluation the market keeps. It depends on total size, not speed. Temporary impact means a slice of size traded over a short interval costs an extra 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 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.
These are the same , and as in the market-impact guides; Almgren–Chriss is what you do with a calibrated impact model. See estimating impact for getting and 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 (the impact you will pay) and its variance (the timing risk), then minimises , where is your risk aversion. Sweeping from 0 to traces the efficient frontier, every point of which is optimal for some risk appetite.
At 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 and you increasingly fear variance, so you front-load, paying more impact now to cut your exposure to drift.
Plot against 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 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 ) 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 set by risk aversion, volatility and temporary impact. Higher gives a larger and a faster, more front-loaded decay; as , and the curve straightens into the TWAP line.
The ratio is 1 at and 0 at , decaying convexly in between. As it becomes linear, recovering uniform trading; as grows, the curve bends toward the origin and most of the position goes early. Volatility and risk aversion push up; costlier temporary impact pushes it down. Almgren and Chriss define the half-life of the trade as , the time it takes to cut the position by a factor of . It depends on liquidity, volatility and risk aversion but not on the deadline, so if 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 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 units over intervals of length , let be holdings after interval (with , ) and the amount sold in interval . The unaffected price carries permanent impact and the execution price carries temporary impact:
The implementation shortfall (cost relative to the arrival value ) has the expectation and variance below: a path-independent permanent term plus a temporary term that penalises fast slices, and a variance from holding through each interval at volatility . This version drops the paper's fixed-cost term and a small correction of order that is folded into in the paper, which vanishes as .
Minimising over the (with the endpoint constraints) and setting the gradient to zero gives a linear second-order difference equation in :
Its solution is a discrete hyperbolic sine; in the continuous limit this is with , and the trade rate is the corresponding -weighted decay. The frontier is then traced by evaluating along the optimal as 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 ), static parameters and a single asset. These keep it solvable in closed form. The frontier intuition survives their removal; the exact trajectory does not once impact is nonlinear or varies.
Linear impact. Measured impact is closer to a power law, and for whole orders it scales like (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 , , 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 shares over day in slices ( day). Take volatility per (in price units relative to a 50.00 price, about 0.6% a day), with temporary impact and permanent impact taken from a calibrated impact model.
Risk-neutral (): , so the optimal schedule is the straight line, 50,000 shares every slice (1,000,000 / 20). Expected cost is the minimum ( 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 .
Risk-averse. Pick so that holdings halve in about a quarter of the day, which means . 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 set to a quarter of the day, , slice 1 would be about 181,000.)
That 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 decides. Drag in the widget above and watch the chosen point glide along the convex frontier while the trajectory bends from a line into a . The trajectory shape is robust to the calibration; the exact numbers are not, so fit and to your own fills.
Sources
- Almgren, R. and Chriss, N. (2001). "Optimal execution of portfolio transactions". Journal of Risk 3(2), 5–39. doi.org
- Bertsimas, D. and Lo, A. W. (1998). "Optimal control of execution costs". Journal of Financial Markets 1(1), 1–50. doi.org
- Almgren, R. (2003). "Optimal execution with nonlinear impact functions and trading-enhanced risk". Applied Mathematical Finance 10(1), 1–18. doi.org
- Almgren, R., Thum, C., Hauptmann, E. and Li, H. (2005). "Direct estimation of equity market impact". Risk 18(7). cis.upenn.edu
- 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
- Gatheral, J., Schied, A. and Slynko, A. (2012). "Transient linear price impact and Fredholm integral equations". Mathematical Finance 22(3), 445–474. doi.org
- Obizhaeva, A. A. and Wang, J. (2013). "Optimal trading strategy and supply/demand dynamics". Journal of Financial Markets 16(1), 1–32. doi.org
- Lorenz, J. and Almgren, R. (2011). "Mean–variance optimal adaptive execution". Applied Mathematical Finance 18(5), 395–422. doi.org