If you sell for a loss and then buy back shares within 30 days you can't claim the loss against your gains. Reason 19 why I am moving next year. Flipping for shares can run your tax liability up quickly.