Stocks rise, hovering near record levels