Investors & landlords

If you did this in Futures (Sec 1256) then you could carry back losses.

This treatment is not available for stocks and bonds