It has been a hell of a year so far. Three regional banks collapsed, the United States came close to defaulting on its debt for the first time in its history, and the Federal Reserve continued to hike interest rates aggressively. But despite all that, the stock market surged in the first half of the …