I don't know about that but worth asking your accountant. I only know you can deduct from gains if you don't buy back in within 30 days..