Stocks moved higher, building on a modest climb the day before. Investors kept a close eye on the price of oil, which was lower early in the day.