Anticipating a Shift in the Stock Market