Portfolio Optimisation Under Real-World Constraints: Turnover, Tracking Error, Trading Costs and No-Trade Regions
Abstract
A portfolio model can produce mathematically elegant weights and simultaneously generate a costly or impracticable trading plan. The critical step is moving from a static target allocation to an actual change in an existing portfolio. Realistic approaches account for current holdings, transaction costs, concentration limits, trading volume, tracking error and the reinvestment or rebalancing schedule. This article introduces a basic optimisation model, distinguishes turnover from tracking error and explains why the optimal cost-aware decision may sometimes be not to trade.
1. From target weights to trading decisions
Portfolio-optimisation textbooks often begin with a weight vector w whose elements sum to one and an estimated covariance matrix Σ. In live asset management, however, an existing portfolio w(old) has already been affected by market movements and may no longer match its original allocation. The actual decision concerns changes in holdings:
z = w(new) − w(old).
Here zᵢ > 0 indicates a purchase and zᵢ < 0 a sale. This representation works as an approximation when funding and transaction costs are simplified. A fully self-financing implementation must additionally account for cash, order prices, fees, potential short positions and changes in total portfolio value.
The relevant question is therefore not just 'Which weights would be optimal today?' but also 'Is adjusting the current portfolio toward those weights worth the cost?'
2. A simplified net-of-cost optimisation problem
A common basic formulation is:
Maximise over w: μ̂ᵀw − (γ/2) wᵀΣ̂w − C(w − w(old)) − H(w),
subject, for example, to:
1ᵀw = 1, with 0 ≤ wᵢ ≤ uᵢ.
Here μ̂ is the estimated expected-return vector, Σ̂ the risk estimate, γ a risk-aversion parameter, C a trading-cost function and H additional ongoing holding costs. The displayed constraints describe a fully invested long-only portfolio with asset-specific upper bounds uᵢ. Cash, leverage, derivatives or short positions require a different feasible set.
One possible convex approximation for trading costs is:
C(z) = ∑ᵢ κᵢ |zᵢ| + ½ ∑ᵢ ηᵢ zᵢ²,
where κᵢ models linear costs and ηᵢ a quadratic approximation to increasing costs. Real spreads, market impact, fixed commissions, lot sizes and order restrictions may require more complex models. Parameters should be fixed before final evaluation or calibrated solely on development data.
3. Turnover: even modest changes in target weights cost money
For a fully invested portfolio without external cash flows, define one-way portfolio turnover as:
T(one-way) = ½ ∑ᵢ |wᵢ(new) − wᵢ(old)|.
This convention counts the capital reallocated once. In the simplified model, total gross traded notional is ∑ᵢ |zᵢ| = 2T(one-way). Some reports use different conventions, so the definition should always accompany the reported figure.
Illustration: A two-asset portfolio moves from 60/40 to 40/60. The trading weights are (−0.20, +0.20), one-way turnover is 20%, and gross traded notional is 40% of portfolio value. At 10 basis points of cost per unit of gross notional traded, the approximate portfolio-level expense is 0.40 × 10 = 4 basis points. This ignores other market effects and possible differences between buying and selling.
If a model repeatedly flips from 60/40 to 40/60 and back every week, cumulative trading costs can quickly consume an otherwise appealing advantage. Weight stability and transaction frequency are therefore quality measures in their own right.
4. Tracking error: risk relative to a reference portfolio
Institutional investors often assess allocations relative to a benchmark b. Given consistent asset definitions and a covariance matrix for the relevant return period, ex-ante tracking error is:
TE(w, b) = √[(w − b)ᵀΣ̂(w − b)].
It measures the forecast volatility of active returns (w − b)ᵀr, not the probability of a loss or the portfolio's subsequently realised relative return. A tracking-error constraint TE(w, b) ≤ τ restricts active risk regardless of whether the assumed excess-return forecasts are correct.
A strategy may have low absolute risk but deviate substantially from its benchmark. Conversely, a benchmark-like portfolio may still experience large absolute losses in a falling market. Tracking error must therefore not be confused with an absolute risk or loss budget.
5. Which constraints matter in practice?
A practical optimiser may need several classes of restriction:
- Concentration: maximum single position, sector, country and factor exposures.
- Risk: volatility, tracking-error, drawdown or stress-scenario limits; the latter often cannot be captured by a simple covariance constraint.
- Trading: turnover caps, minimum order sizes, maximum participation in average daily volume, restricted-trading periods and liquidity windows.
- Financing: cash buffers, leverage, margin, borrow availability and financing costs.
- Operations: trading calendars, rounding conventions, taxes, regulatory mandates and supported order types.
Not every restriction is convex. Minimum share counts and discrete lots may require mixed-integer optimisation. Mathematical solvability should never be equated with operational executability. Implementation documentation should state which restrictions are represented exactly and which only approximately.
6. Why a no-trade region can be rational
Suppose an optimiser prefers a 52% allocation to an asset currently held at 50%. The incremental modelled benefit is small. If the cost of increasing the position outweighs its estimated added value, the cost-aware choice is to retain 50%. This is not an optimiser failure; it is an appropriate response to market frictions.
A no-trade region is a set of portfolio states in which adjusting positions is not worthwhile. It may emerge from an economic optimisation problem or be approximated by a tolerance-band rule. However, a fixed rule such as 'trade only when a weight deviates by three percentage points' is not automatically optimal. The relevant threshold depends on liquidity, risk, signal strength, instruments, investment horizon and costs.
No-trade regions can reduce transaction volume while increasing deviation from theoretical target weights. This trade-off needs to be evaluated out of sample.
7. Sensitivity to uncertain inputs
Expected-return forecasts μ̂ are particularly error-prone. The estimated covariance matrix Σ̂ also changes across market regimes. Constraints may curb extreme weights, but they cannot create predictive skill where none exists. Robust evaluation should compare not only constrained and unconstrained portfolios but also a range of plausible inputs:
- Expected returns weaker or stronger than originally forecast.
- Covariance matrices estimated over different historical windows.
- Spreads and slippage under normal and stressed conditions.
- Alternative rebalancing frequencies and turnover limits.
- Concentration and liquidity restrictions at different portfolio sizes.
If a high backtest Sharpe ratio appears only at one very specific cost or risk-aversion setting, robustness is lacking. Additional complexity should be justified by performance against a simple equal-weighted or benchmark allocation evaluated under the same cost assumptions.
8. Comparing models: separate gross and net decisions
A fair comparison distinguishes four cases: target weights computed without costs; the same strategy evaluated with costs applied in the backtest; weights optimised with costs incorporated directly into the decision; and a simple rule-based rebalancing benchmark. Results should include out-of-sample net returns, risk, Sharpe ratio, drawdown, one-way turnover, actual gross traded notional, tracking error, weight stability and unfilled orders.
Of particular importance is the distinction between subtracting costs after the fact and incorporating costs into the weight-selection decision. The former estimates how costly a predetermined strategy would have been. The latter permits the optimiser to refrain from trading or to choose smaller trades. These are not equivalent experiments.
9. A realistic quantitative-engineering workflow
A robust implementation separates data and model estimation from the order decision:
- Capture market and actual portfolio states with correct timestamps.
- Estimate return forecasts, risk parameters and cost parameters using admissible information.
- Compute current market-drifted weights and available liquidity.
- Optimise target weights subject to mandate and trading constraints.
- Translate weight differences into rounded, supported orders.
- Record pre-trade cost forecasts and expected changes in risk.
- Store actual fills and the reasons for deviations from plan.
- Carry the actual portfolio forward, not the hypothetical target portfolio.
A backtest that resets to ideal target weights after every period hides execution frictions and can overstate the usefulness of its allocation algorithm.
10. Conclusion
Portfolio optimisation becomes operationally meaningful only when the decision starts from the portfolio already held. Turnover, costs, tracking error and trading limits are not cosmetic adjustments added after the optimisation; they can change the optimal action itself. A robust model does not justify every trade with a forecast. Instead, it balances estimated benefit, uncertainty, risk and market frictions. Under realistic constraints, declining to trade may be the best decision.
References and verifiable sources
- Boyd, S., Busseti, E., Diamond, S., Kahn, R., Koh, K., Nystrup, P., & Speth, J. (2017). Multi-Period Trading via Convex Optimization. Foundations and Trends in Optimization, 3(1), 1–76.
- Skaf, J., & Boyd, S. (2008). Multi-Period Portfolio Optimization with Constraints and Transaction Costs. Working manuscript.
- Markowitz, H. (1952). Portfolio Selection. Journal of Finance, 7(1), 77–91. Foundational theory.
Related material: English-language overview · German-language portfolio and risk section · German-language article on estimation errors in portfolio construction.
Educational research article; not investment advice. Numerical examples are illustrative and do not cover every trading, tax or financing constraint.
