I develop a multi-account alpha-tracking error framework that simultaneously optimizes across an investor’s multiple accounts with different tax treatments, existing holdings, lots, and opportunity sets while considering taxes trade costs in single optimization. The objective function includes optional term for nonpecuniary preferences, such as various environmental, social, governance (ESG) ch...