Summary: U.S. stocks ended the day in the green, extending last week's advance that snapped a three-week losing streak.