Stock Market Today: S&P 500, Nasdaq Hit New Highs Ahead of Juneteenth

The main indexes notched modest gains ahead of Wednesday's stock market holiday.