Optimal Portfolio Design for Statistical Arbitrage in Finance

Ziping Zhao, Rui Zhou, Zhongju Wang, Daniel P. Palomar

Abstract

In this paper, the optimal mean-reverting portfolio (MRP) design problem is considered, which plays an important role for the statistical arbitrage (a.k.a. pairs trading) strategy in financial markets. The target of the optimal MRP design is to construct a portfolio from the underlying assets that can exhibit a satisfactory mean reversion property and a desirable variance property. A general problem formulation is proposed by considering these two targets and an investment leverage constraint. To solve this problem, a successive convex approximation method is used. The performance of the proposed model and algorithms are verified by numerical simulations.

Introduction

Statistical arbitrage, commonly known as "pairs trading," is a quantitative strategy that exploits the temporary price discrepancies between related financial assets. The core of this strategy lies in identifying a group of assets whose combined price—the "spread"—exhibits mean-reverting behavior. Traders profit by taking a long position when the spread is below its historical mean and a short position when it is above, betting that the price will eventually return to equilibrium.

However, constructing an optimal Mean-Reverting Portfolio (MRP) is a complex balancing act. A spread that reverts to its mean very quickly is desirable because it provides frequent trading opportunities. Yet, if the variance of this spread is too low, the price movements may be insufficient to cover transaction costs. Conversely, a high-variance spread might offer significant profit potential per trade but may take an impractical amount of time to revert, tying up capital and increasing risk. This paper addresses these challenges by proposing a framework that optimizes both the speed of mean reversion and the variance of the portfolio under realistic financial constraints.

Problem Formulation and Constraints

Existing mathematical models for MRP design often rely on constraints, such as the $\ell_2$-norm, which lack a direct physical or financial interpretation. More importantly, these models frequently overlook leverage—the total gross exposure of long and short positions—which is a fundamental risk metric for institutional investors.

To bridge the gap between theoretical modeling and practical trading, the authors formulate a multi-objective optimization problem. The objective function seeks to minimize a weighted combination of a mean-reversion criterion ($U$) and a variance term ($V$):

$$\min_{w} U(w) + \mu V(w)$$

Here, $\mu$ serves as a "tuning knob" for traders, allowing them to explicitly choose their preferred balance between high-frequency/low-profit trades and low-frequency/high-profit trades.

A key innovation in this framework is the use of an $\ell_1$-norm leverage constraint ($\|Bw\|_1 \le B$). In a financial context, this constraint directly represents the total gross exposure of the portfolio. By incorporating this, the resulting portfolio weights are immediately applicable to real-world risk management and capital allocation requirements.

Algorithmic Approach

The resulting optimization problem is non-convex, making it computationally challenging to solve. The authors propose a sophisticated algorithmic pipeline to ensure efficiency and convergence:

  1. Successive Convex Approximation (SCA): The non-convex problem is decomposed into a sequence of simpler, strongly convex subproblems. This iterative approach allows the algorithm to converge toward a high-quality solution.
  2. ADMM Integration: To solve the inner subproblems, the Alternating Direction Method of Multipliers (ADMM) is employed. This is particularly effective for handling the non-smooth $\ell_1$ constraint through fast, closed-form projections onto the $\ell_1$-ball.
  3. Acceleration: The authors incorporate an Armijo-like backtracking line search to accelerate the convergence of the SCA algorithm, ensuring it is viable for large-scale asset pools.

Experimental Results

The model was validated using historical price data from the S&P 500, specifically focusing on a basket of seven stocks: APA, AXP, CAT, COF, FCX, IBM, and MMM. Initial spreads were constructed using the Johansen cointegration method to provide a baseline for optimization.

Performance and Efficiency

Numerical simulations demonstrated that the optimized MRP significantly outperformed standard cointegrated spreads. Key findings include:

  • Risk-Adjusted Returns: The optimized portfolios achieved higher Sharpe ratios and superior cumulative Profit and Loss (P&L) compared to traditional benchmarks.
  • Computational Speed: The proposed SCA-MRP algorithm demonstrated superior efficiency, converging significantly faster than general-purpose solvers like MATLAB’s fmincon. When integrated with ADMM, the method also outperformed specialized solvers such as MOSEK and CVX.
  • The Pareto Front: The framework successfully mapped the trade-off curve between mean reversion speed and variance, allowing for the identification of optimal portfolios that previous methods in the literature were unable to reach.

Conclusion and Future Work

This paper provides a robust and computationally efficient framework for designing mean-reverting portfolios that are both mathematically sound and financially practical. By replacing abstract constraints with leverage-based metrics and providing a tunable parameter for the mean-reversion/variance trade-off, the authors offer a valuable tool for quantitative traders.

While the framework is highly effective, future research could further enhance its utility by:

  • Incorporating Transaction Costs: Directly integrating bid-ask spreads and commissions into the objective function.
  • Addressing Regime Shifts: Developing methods to detect and adapt to changes in the underlying cointegration relationships during volatile market periods.
  • Modeling Slippage: Accounting for the market impact of large trades, particularly in less liquid asset pools.

Summary updated

BibTeX
@inproceedings{zhao2018optimal,
  author = {Ziping Zhao and Rui Zhou and Zhongju Wang and Daniel P. Palomar},
  title = {{Optimal Portfolio Design for Statistical Arbitrage in Finance}},
  booktitle = {SSP},
  year = {2018},
  url = {https://openreview.net/forum?id=ejOOfPAd2rW},
}
Figure