In the idealized world of classical finance, rebalancing a portfolio is a frictionless act. If a model suggests shifting 0.01% of your wealth from Apple to Microsoft, you do it instantly and for free. However, as noted by Bin Li and Steven HOI in their survey of Online Portfolio Selection, real-world markets are defined by "friction": brokerage commissions, bid-ask spreads, and market slippage.
When these costs are ignored, aggressive rebalancing strategies that look brilliant in backtests often "bleed out" in production, where the cumulative fees of frequent trading evaporate the theoretical alpha. This research direction focuses on bridging the gap between mathematical optimality and economic viability by embedding transaction costs directly into the optimization process.
The Cost of Constant Rebalancing
The fundamental tension in portfolio management is between tracking (staying close to an optimal target) and turnover (the cost of getting there). Standard models like the Markowitz framework or growth-optimal strategies often react to every minor price fluctuation.
Puja Das, Nicholas Johnson 0001, and Arindam Banerjee 0001 address this in Online Lazy Updates for Portfolio Selection with Transaction Costs. Their intuition is simple: only trade when the expected gain from a new allocation significantly outweighs the $\ell_1$ penalty of the transaction fee. By introducing "lazy updates," the algorithm ignores noise and only moves when the signal is strong enough to justify the toll.
Sparsity as a Proxy for Efficiency
Another way to minimize costs is to limit the number of assets in the portfolio. Managing a portfolio of 500 stocks requires constant, expensive adjustments to maintain exact weights. Fengmin Xu and Zongben Xu demonstrate in An Efficient Optimization Approach for a Cardinality-Constrained Index Tracking Problem that one can mimic a broad index using only a small subset of its constituents.
This "cardinality constraint" serves two purposes:
- Reduced Transaction Fees: Fewer assets mean fewer individual trades.
- Liquidity Management: By avoiding illiquid assets that are expensive to trade, managers can reduce slippage.
Recent work by Yizun Lin and colleagues in A Globally Optimal Portfolio for m-Sparse Sharpe Ratio Maximization provides a theoretical breakthrough here, showing that we can find the globally optimal "sparse" portfolio without falling into the traps of non-convex optimization.
Multi-Period Foresight and Risk
A common pitfall in single-period optimization is "myopia"—failing to see that a trade today might make it harder or more expensive to reach a better position tomorrow. Stephen P. Boyd and his co-authors in Multi-Period Trading via Convex Optimization frame this as a Model Predictive Control problem. By looking several steps ahead, the system can plan a sequence of smaller, cheaper trades rather than one large, expensive "jump."
Furthermore, the definition of "risk" must evolve to include these costs. Hao Deng shows that incorporating transaction costs actually shifts the "efficient frontier"—the set of best possible portfolios. When costs are high, the range of viable strategies narrows, and metrics like Conditional Value at Risk (CVaR) become essential. Guy Uziel and Ran El-Yaniv use this in their CANN algorithm to ensure that the "greed" for growth is always tempered by the "fear" of both market crashes and the certain loss of trading fees.
Learning to Trade with Friction
Modern approaches are increasingly moving away from explicit forecasting toward direct policy optimization. Stefan Zohren in Deep Learning for Portfolio Optimisation describes training neural networks (like LSTMs) to output portfolio weights directly.
The key to making these models work in the real world is the loss function. Instead of just maximizing the Sharpe ratio, these models are trained with a penalty for turnover. If the network suggests a high-turnover strategy, the loss function "punishes" it by subtracting the estimated transaction costs from the reward. This forces the model to learn a "threshold policy"—staying put when the market is quiet and only moving when a significant regime shift justifies the expense.