Measuring uncertainty in the stock market