It turns out that bad news for the economy may actually be bad news for the stock market