This is because if the selling taxpayer has net gain from the saleof other property that is included in investment income, he is permitted to offset that gain (but not create a net loss) with any loss generated from the saleof the stock or partnership interest.