All three major stock indexes posted their best month since 2020 last Friday, with the Dow gaining nearly 7% in July, while the S&P 500 rose over 9% and the Nasdaq more than 12%.