Stocks and bonds that you sold at a loss can be used to offset taxable gains as if they were sold; but if the stocks or bonds became worthless in 2014 before you sold them, you can write them off.