Liquidating X_0 units of an asset over horizon T with linear temporary impact (coefficient η) and price-variance risk aversion (coefficient λ), the optimal trajectory X(t) (remaining inventory) minimises the deterministic cost functional
∫_0^T (σ² λ · X(t)² + η · X'(t)²) dt
subject to X(0) = X_0 and X(T) = 0. The Euler-Lagrange equation reduces to
X''(t) = κ² · X(t), κ² := σ² λ / η,
a linear ODE with hyperbolic-cosine/sinh solutions. The boundary-condition- satisfying solution is
X(t) = X_0 · sinh(κ · (T − t)) / sinh(κ · T).
We verify the closed form satisfies:
- the initial condition
X(0) = X_0, - the terminal condition
X(T) = 0, - the EL equation
X''(t) = κ² · X(t).
The continuous minimisation (that this closed form is optimal among all admissible trajectories) is a calculus-of-variations claim that needs function-space machinery beyond Mathlib's current pin and is not proved here. What is proved is its discrete counterpart: over N periods of length Δ the cost liquidationCost is a positive-definite quadratic form on the feasible paths (X_0 at the start, flat at the end), so it has exactly one minimizer (existsUnique_minimizer_liquidationCost). That minimizer is the hyperbolic-sine path X_0 sinh(κ̃ (N − k) Δ) / sinh(κ̃ N Δ), cosh (κ̃ Δ) = 1 + c Δ² / (2 η): the continuous almgrenChrissPath at the discrete rate κ̃ (liquidationPath), or the straight line when c = 0.
Main definitions
almgrenChrissPath: the closed-form trajectory X(t) = X_0 · sinh (κ (T − t)) / sinh (κ T).liquidationCost: the finite quadratic liquidation cost over N periods.liquidationPaths: the feasible inventory paths, from X_0 down to 0.liquidationRate, liquidationPath: the discrete rate κ̃ and the candidate minimizer.
Main results
almgrenChrissPath_at_zero: X(0) = X_0.almgrenChrissPath_at_terminal: X(T) = 0.hasDerivAt_almgrenChrissPath: first derivative.almgrenChrissPath_satisfies_EL: X''(t) = κ² · X(t).cosh_liquidationRate_mul: cosh (κ̃ Δ) = 1 + c Δ² / (2 η).isMinOn_liquidationPath, eq_liquidationPath_of_isMinOn: liquidationPath minimizes liquidationCost on the feasible paths, and every minimizer equals it.existsUnique_minimizer_liquidationCost: the finite liquidation cost has a unique feasible minimizer.
Neither derivative needs sinh(κT) ≠ 0: under Lean's x / 0 = 0 the degenerate closed form is the zero path, which satisfies both. Only the initial condition uses it.
References
Tags
optimal execution, market impact, liquidation, calculus of variations, Euler–Lagrange equation, inventory, JEL G11, MSC 91G80, MSC 49L20
Import neighbourhood
Above: what it imports. Below: what imports it.
Corpus entries
mf-almgren-chriss-EL · market_microstructure.json · full statement
Almgren-Chriss Trajectory Satisfies EL Equation
The closed-form Almgren-Chriss trajectory X(t) = X_0 · sinh(κ(T-t))/sinh(κT) satisfies the Euler-Lagrange equation X''(t) = κ² · X(t) at every t. No condition on sinh(κT) is needed: under Lean's x/0 = 0 the degenerate closed form is the zero path, which satisfies the equation too.