The S&P 500 is trading near its highest level since April 2022 as hopes grow for a soft economic landing.