S&P, Nasdaq post biggest quarterly gains since 2020 amid volatility - TrendCloud