US stocks have closed mostly higher as investors weighed mixed company news and an unexpected slump in home builder confidence.

US stocks have closed mostly higher as investors weighed mixed company news and an unexpected slump in home builder confidence.