US exchanges post best weekly performance of 2024