Stock market prices are based on expected future returns. Any anticipated future economic movement is more or less priced in. You can have a perfect understanding of the economy and not be able to predict future market movements as large short term movements in stocks are in response to unpredicted events.