MinTaxObjective is an optimization objective for portfolio rebalancing that minimizes the total tax consequence of sales. Selling loss lots contributes negative tax, allowing strategic loss realization to reduce the objective. section 13.3.2
Lot-level tax inputs
A holdings table can provide ticker, purchase price, quantity, purchase date, current price, and value for each tax lot; the objective uses purchase dates to calculate holding periods.
