Paper: arXiv 2411.19637
Authors: Jialun Cao, David Šiška
Abstract
We address the liquidation problem arising from the credit risk management in decentralised finance (DeFi) by formulating it as an ergodic optimal control problem. In decentralised derivatives exchanges, liquidation is triggered whenever the parties fail to maintain sufficient collateral for their open positions. Consequently, effectively managing and liquidating disposal of positions accrued through liquidations is a critical concern for decentralised derivatives exchanges. By simplifying the model (linear temporary and permanent price impacts, simplified cash balance dynamics), we derive the closed-form solutions for the optimal liquidation strategies, which balance immediate executions with the temporary and permanent price impacts, and the optimal long-term average reward. Numerical simulations further highlight the effectiveness of the proposed optimal strategy and demonstrate that the simplified model closely approximates the original market environment. Finally, we provide the method for calibrating the parameters in the model from the available data.
Complexity vs Empirical Score
- Math Complexity: 8.5/10
- Empirical Rigor: 4.0/10
- Quadrant: Lab Rats — high math complexity, limited empirical testing
Why this score: The paper derives closed-form solutions using advanced ergodic control and stochastic calculus, indicating high mathematical complexity. While it includes numerical simulations and a calibration method, the core contribution is a theoretical model with simplifications (linear price impacts, symmetric Poisson processes) that is not backtested on real DeFi market data, placing it closer to theoretical research than empirical finance.
Research Flowchart
flowchart TD A["Research Goal: Solve<br>Ergodic Optimal Liquidation<br>in DeFi Credit Risk"] B["Methodology: Ergodic Optimal Control<br>with Linear Price Impacts"] C["Inputs & Model Simplification<br>- Cash Balance Dynamics<br>- Linear Temporary/Permanent Price Impact"] D["Computational Process<br>Derive Hamilton-Jacobi-Bellman<br>& Closed-Form Optimal Strategies"] E["Key Findings & Outcomes<br>1. Closed-Form Optimal Strategy<br>2. Balances Execution vs. Impact<br>3. Numerical Validation & Calibration Method<br>4. Model Approximates Market Environment"] A --> B B --> C C --> D D --> E
Evidence Card
What the authors claim, on what data, and who has checked it. Read from the paper's own text by a language model: every quote is verbatim, nothing was re-run. How to read this card
Proposes
The paper formulates the liquidation problem in DeFi as an ergodic optimal control problem and derives closed‑form solutions for the optimal liquidation strategy and the long‑run average reward.
Source sentence
We address the liquidation problem arising from the credit risk management in decentralised finance (DeFi) by formulating it as an ergodic optimal control problem. By simplifying the model (linear temporary and permanent price impacts, simplified cash balance dynamics), we derive the closed-form solutions for the optimal liquidation strategies, which balance immediate executions with the temporary and permanent
Assumes 6
- Temporary price impact is linear: f(ν)=kν with k>0. market
Source sentence
(7) where S0 ∈R+ is the initial mid price. ii) We assume that liquidation intensities and sizes are symmetric for long and short positions i.e. that λ+ = λ−=: λ and η+ = η−=: η. iii) We will assume linear price impact functions, specifically that temporary price im-pact function is f(ν) = kν some constant k ∈R+ and that the permanent price impact is g(ν) = bν for some constant b ∈R+.
- Permanent price impact is linear: g(ν)=bν with b>0. market
Source sentence
(7) where S0 ∈R+ is the initial mid price. ii) We assume that liquidation intensities and sizes are symmetric for long and short positions i.e. that λ+ = λ−=: λ and η+ = η−=: η. iii) We will assume linear price impact functions, specifically that temporary price im-pact function is f(ν) = kν some constant k ∈R+ and that the permanent price impact is g(ν) = bν for some constant b ∈R+.
- Liquidation intensities and sizes are symmetric for long and short positions (λ+ = λ− = λ, η+ = η− = η). model
Source sentence
(7) where S0 ∈R+ is the initial mid price. ii) We assume that liquidation intensities and sizes are symmetric for long and short positions i.e. that λ+ = λ−=: λ and η+ = η−=: η. iii) We will assume linear price impact functions, specifically that temporary price im-pact function is f(ν) = kν some constant k ∈R+ and that the permanent price impact is g(ν) = bν for some constant b ∈R+.
- Parties do not update the initial margin balance, allowing a simplified cash‑balance dynamics. model
Source sentence
In order to obtain a closed-form solution, we make a number of simplifications which we will now discuss. i) We will assume that the parties don’t update the initial margin balance and thus replace (4) by dXν t = ˆSν t νtdt + rζ+S0dN+ t + rζ−S0dN− t , Xν 0 = x,
Show 2 more
- Risk aversion φ>0 is the only free parameter needed for the optimal strategy. other
Source sentence
Note that while the optimal average earnings per unit time depend on all the model parameters, the optimal strategy only needs the risk aversion ϕ > 0 and temporary price impact k ∈R+.
- The mid‑price follows a Brownian motion with volatility σ (Gaussian assumption). statistical
Source sentence
The profit or loss from holding a position is determined by (Sν t )t≥0 which is the mid-price (and mark-to-market) process driven by a standard Brownian motion (Wt)t≥0.
Data
- Liquidation event timestamps and position sizes crypto-onchain unknown
Source sentence
We collect the times at which liq-uidations of distressed traders occur over [0, T], denoted by (τi)N i=1 ∈[0, T], where N represents the total number of liquidation events observed. Additionally, we record the absolute value of the size of the distressed positions at each liquidation, represented by (ζi)N i=1.
- Mid‑price and net order‑flow series for calibration of b market-prices unknown
Source sentence
ERGODIC OPTIMAL LIQUIDATIONS IN DEFI 10 To estimate the permanent price impact parameter b we again divide the time in-terval [0, T] into multiple subintervals P i[ti, ti+1]. Let µi be the net order-flow in the subinterval [ti, ti+1] and ∆Si = Sti+1 −Sti be the change in the midprice.
Costs
Modeled
Temporary impact f(ν)=kν and permanent impact g(ν)=bν are incorporated into the control problem.
Source sentence
(7) where S0 ∈R+ is the initial mid price. ii) We assume that liquidation intensities and sizes are symmetric for long and short positions i.e. that λ+ = λ−=: λ and η+ = η−=: η. iii) We will assume linear price impact functions, specifically that temporary price im-pact function is f(ν) = kν some constant k ∈R+ and that the permanent price impact is g(ν) = bν for some constant b ∈R+.
Finds 5
- The ergodic constant γ has the closed‑form γ = 2rληS₀ − λη²b − 2λη²p k φ and is independent of initial conditions. theoretical
Source sentence
Based on the simplifications and assumptions, we derive the closed-form expression for γ, see Theorem 2.1, as γ = 2rληS0 −λη2b −2λη2p kϕ , (8) which demonstrates that the ergodic constant γ is independent of any initial conditions and is determined solely by the market parameters.
- The optimal liquidation rate is ν* (q) = r φ k q, i.e., a constant fraction of the current inventory. theoretical
Source sentence
The ergodic optimal Markov control is given by ν∗(q) = r ϕ k q , (9) i.e. that the optimal strategy is indeed a fraction of the current position and the coef-ficient is determined by the parameters, see Corollary 2.1.
- The optimal strategy only requires the risk‑aversion parameter φ and the temporary impact coefficient k, making it robust to misspecification of other parameters. theoretical
Source sentence
This means that ERGODIC OPTIMAL LIQUIDATIONS IN DEFI 5 the optimal strategy is robust to parameter misspecification; only the temporary price impact has to be estimated correctly.
- Numerical simulations confirm that the proposed optimal strategy outperforms naive strategies and that the simplified model closely approximates the original market environment. performance
Source sentence
Numerical simulations further highlight the effectiveness of the proposed optimal strategy and demonstrate that the simplified model closely approximates the original market environment.
- All model parameters can be calibrated from observable data, with k estimated as the mean across sub‑intervals and b obtained via linear regression of price changes on net order‑flow. other
Source sentence
The overall parameter k is taken as the mean value of k(i) across all subintervals, i.e. k = 1 M PM i=1 k(i). As we assume the permanent price impact is linear in the model, hence we can perform the linear regression ∆Si = bµi + εi , where the error terms εi are assumed to be iid with a normal distribution.
Checked by others
No other paper in the archive has been found to support or contradict these findings (compared with 24 related papers). Coverage is partial, so this is neither replication nor refutation.
1 paper in the archive
Code
No repository by the authors found in the paper.
Extracted 2026-11-14 · same card as JSON · A language model chose these items: check the source sentence before relying on one.
Cited References (27)
- Incorporating order-flow into optimal execution (2016)
- Algorithmic and high-frequency trading (2015)
- Market Impact: A systematic study of limit orders (2017)
- Optimal control of execution costs for portfolios (1999)
- Optimal execution of portfolio transactions (2001)
- Stochastic calculus for finance II: Continuous-time models (2004)
- Logarithmic regret in the ergodic A vellaneda– S toikov market making model — → 2409.02025
- Aave Protocol Whitepaper (2020)
and 19 more
- Compound: The Money Market Protocol (2019)
- Vega Protocol: A Decentralized Protocol for Creating and Trading Derivatives on a Fully Decentralized Network (2020)
- The paradox of adversarial liquidation in decentralised lending (2023)
- Dynamic trading policies with price impact (2005)
- Optimal liquidation under stochastic price impact (2019)
- On ergodic stochastic control (1998)
- dydx: A standard for decentralized margin trading and derivatives (2018)
- MakerDAO: The Maker Protocol Whitepaper (2021) — link
- Margins and Credit Risk on V ega (2019)
- An empirical study of defi liquidations: Incentives, risks, and instabilities (2021)
- Liquidations: DeFi on a Knife-edge (2021)
- The Financial Mathematics of Market Liquidity: From optimal execution to market making (2016)
- Optimal liquidity trading (2005)
- Space-time periodic solutions and long-time behavior of solutions to quasi-linear parabolic equations (2001)
- Asymptotic solutions of H amilton– J acobi equations in E uclidean n space (2006)
- Large time asymptotic problems for optimal stochastic control with superlinear cost (2012)
- Large time behavior for some nonlinear degenerate parabolic equations (2014)
- Optimal control on graphs: existence, uniqueness, and long-term behavior (2020)
- Statistical inference (2024)
1 of 27 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2596 linked papers.