U.S. equities ended the day and week higher following Thursday’s trading session, which posted the largest daily gain since 2020.