Selling losing stocks now is a smart tax move. Buying them back before January is even smarter.