Most publicly traded companies have a blackout policy that restricts trading in shares starting two weeks before the end of the quarter and lasting a day or two after the release of earnings.