Here is the thing.
The goal to invest is definitely not trying to generate losses against our income, i.e. lower AGI.
Tax payers have to understand the mission of tax savings is to keep tax payable as low as possible for the same amount of income.
So be creative, be tax savvy…