S&P 500 gained 10.2% in the first half of 2026. Here’s what history, inflation, rates and the US economy suggest for the index next.