Skip to content
All library documents

Reducing Equity Exposure by Selling the Lowest-Ranked Holdings

Article BigQuant

Summary

The post asks how to adapt a portfolio-selling routine so that, when the equity allocation exceeds 60% of total portfolio value, the excess exposure is sold from the lowest-ranked holdings. The supplied routine builds a set of currently held securities, reverses their ranking order, skips positions with unfinished sell orders, and submits orders to close positions until a cash target is met.

The central implementation question is how to calculate the excess above the allocation threshold and translate it into partial or whole-position orders while preserving the intended ranking order. The post contains no proposed answer, revised code, test results, or discussion of valuation and order-sizing details. As written, the routine closes entire positions and tracks a cash amount, so it does not itself demonstrate how to sell only the portion needed to bring exposure back to the threshold. It is useful as a concise portfolio-execution problem, but not as a complete method.

Key ideas

  • The requested rule is to reduce equity exposure when it exceeds 60% of total portfolio value.
  • The example orders holdings in reverse rank order and skips securities with unfinished sell orders.
  • The shown routine closes positions entirely until a cash target is met, rather than calculating partial reductions.
  • The post asks for an implementation but provides no solution, validation, or order-sizing details.

Tags

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