The tech-rich Nasdaq Composite Index has rallied, leading the market to its first day of gains after three straight losses.

The tech-rich Nasdaq Composite Index has rallied, leading the market to its first day of gains after three straight losses.