Applying Capital Losses To Discounted Gains