Stock Market Today: Stocks End Choppy Week With a Loss

A lower-than-expected reading on consumer sentiment had the major indexes erasing weekly gains.