Ah yes but even still, you can't offset Capital Gains Losses from share trading against the companies overall tax bill at the end of the year.
The cost of brokerage, interest paid on margin loans to purchase stocks etc are one thing, bit offsetting Losses against either Company Taxes or Personal Taxes is another and is what TT was talking about which is totally incorrect from my understanding.
Cheers