One notable pitfall of this strategy is the wash-sale rule, which can disallow a loss if you buy “substantially identical” ...