Selling Lowest-Ranked Holdings to Reduce Equity Exposure to a 60% Target
Summary
This forum question concerns modifying a portfolio sell routine so that, when the stock allocation exceeds 60% of total portfolio value, the excess exposure is reduced by selling holdings from the bottom of a ranking. The supplied code builds a set of currently held equities, excludes securities with unfinished sell orders, reverses the ranked list, and sends full liquidation orders until a cash target is met.
The excerpt contains the question and existing code, but no answer or revised implementation. It therefore does not explain how to calculate the 60% threshold, translate exposure into amounts to sell, or correctly stop after reaching the target. A practical implementation would also need to account for portfolio valuation, order execution, pending orders, and whether full liquidations are intended. The material is useful as a portfolio-execution problem statement, but it offers no evidence about strategy performance.
Key ideas
- The proposed rule reduces stock exposure when it rises above 60% of portfolio value.
- The question asks to sell lower-ranked holdings first until the excess exposure is removed.
- The existing snippet liquidates eligible positions in reverse ranking order and tracks a cash amount.
- No solution or revised code is provided, and the threshold calculation is left unspecified.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.