The stock market wrapped up a chaotic week, with solid earnings from tech megacaps bringing solace to traders worried about the many cross-currents rattling economies around the globe.
After a horrific first half, the S&P 500 had its best month since November 2020 and Nasdaq 100 had its strongest performance since April of that same year. Tech led gains Friday, with Amazon.com Inc. and Apple Inc. soaring as higher revenues from the pair of iconic powerhouses countered fears about a profit slowdown at time when the industry is rethinking its staffing needs.