You can’t deduct a loss from the sale of stock or other securities if you acquire substantially identical stock or securities within 30 days before or 30 days after the sale. Whether stock or ...