Dow closes at new record for 6th day, Nasdaq ends worst session since late 2022