Skip to content
All library documents

Interpreting Long-Short Weights, Leverage, and Capital Allocation

Article Quant Q&A · Author: Nipper

Summary

The document asks how to convert portfolio weights into capital allocations, contrasting a long-only formula with a long-short set of weights. One answer explains that weights whose positive and negative components are large can have a net exposure near the portfolio’s capital while requiring much greater gross exposure. The excess long and short positions imply leverage and likely borrowing, so multiplying weights by notional describes position amounts but does not make the strategy unlevered.

The discussion connects extreme unconstrained optimizer weights to estimation error: small apparent differences in expected returns can lead an optimizer to take very large opposing positions. It mentions shrinking expected returns toward one another or constraining individual weights as possible controls. These are general cautions rather than a full treatment of margin, financing, short-sale rules, or risk-based sizing; practical allocations depend on the portfolio’s conventions and constraints.

Key ideas

  • Multiplying each weight by portfolio notional gives the corresponding signed position amount.
  • A portfolio can have net weights summing to capital while its gross long and short exposures are much larger.
  • Large gross exposure indicates leverage and can require borrowing or broker financing.
  • Unconstrained mean-variance optimization can produce extreme positions when return estimates are unreliable.
  • Return shrinkage and position limits are possible ways to reduce excessive optimizer leverage.

Tags

Full text
# Compute allocation given long-short portfolio weights


# Compute allocation given long-short portfolio weights












The amount of capital allocated in each asset given long only weights is calculated as $allocation_i \ = K\cdot w_i$.

```
weights = [ 0., 0., 0., 0., 0., 0., 0., 0., 0., 3.205
   0., 0., 0., 0., 1.84, 11.168, 0., 0., 0., 0.
   0., 12.297, 11.339, 0., 0., 0., 0., 0., 0., 0.
   0., 0., 11.489, 0., 6.807, 18.372, 0., 0., 0., 0.
   0., 4.54, 0., 0., 0., 0., 0., 0., 0., 0.
   0., 0., 14.06, 0., 0., 0., 0., 4.882]
```

Could anyone explain which is the right method to calculate the amount of capital that needs to be allocated in each asset according to long-short weights? It appears that the following weights require a capital equal to $2\cdot K$.

```
weights = [-16.236, 42.662, 9.071, -3.043, -30.727, 11.649, 9.688        
21.987, 6.123, 37.917, -12.818, -17.302, 3.501, 56.237, 8.001, 18.2,         
-9.894, -4.824, -7.25, -1.315, 0.673, 37.075, 35.864, -9.306, -21.19  
-53.798, -22.175, -41.449, -15.007, -12.847, -56.741, 19.637, 21.805      
-4.066, 25.44, 27.779, 10.321, 4.372, 7.127, 10.733, 13.87, 16.277  
-9.371, -4.053, -22.877, 1.631, 8.721, -24.908, -6.497, -16.44, -11.304  
-2.084, 24.29, 23.836, 5.427, -11.143, 4.654, 24.099]
```

## Answer by Alex C (score 2)

https://quant.stackexchange.com/a/43959

The long short portfolio you created is highly leveraged. That means it requires investing much more than the amount of capital you have, the additional capital would have to be borrowed.

In your portfolio the sum of the positive weights is 548.667 and the sum of negative weights is -448.665. The sum of these numbers is 100 so you have a 1 to 1 exposure to the market, but with highly leveraged (and therefore highly risky) positions on both the long and the short side.

In practice I know that some hedge fund take positions of 200/-100 or maybe 300/-200, but a position 548/-448 is very unusual and a think real investors would not be interested in something like this, and the prime brokers might not even allow you to take such a leveraged position (they will simply refuse to lend you this much money).

It is well known that Markowitz optimization without shorting constraints often leads to excessive leverage. This is because of unreliable estimates of return and risk; if for example you have two stocks with similar risk but different returns, the optimizer will try to be long one of the stocks and short the other to a very large amount to profit from the apparent discrepancy. But most likely this will not be profitable because the return estimates are not realistic. This is called "the problem of estimation error" in Portfolio Optimization. It is a very important issue.

This issue has been studied in the literature by people like Richard O. Michaud ("The Markowitz optimization enigma") in 1989, and Philippe Jorion in 1986 ("Bayes Stein estimation for Portfolio Analysis"). One possible solution is to change the input estimates of expected return to be very close to each other and almost equal (using so-called Bayes-Stein shrinkage). Then the portfolio weights will be more reasonable. Another approach is to impose constraints on the weights (for example no weight bigger that 0.05 or smaller than -0.05).

In summary the unconstrained allocation you calculated is not usable in practice.

## Answer by TomDecimus (score 1)

https://quant.stackexchange.com/a/43395

If the sum of weights is 1 (or 100%) just multiply them by the notional or starting cash of your portfolio.

Allocation = W*Notional. Eg. W = [0.5 0.5] N = 10.000, Allocation = [5000 5000]

Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.