Stocks were narrowly mixed as a Wall Street rally failed to extend into day two. A mix of retail earnings pulled markets in opposite directions as investors moved on from geopolitical headlines. Advance Auto Parts Inc.  (AAP) was the worst performer on the S&P 500 after falling short of quarterly profit. Revenue was flat. For the full year, the auto retailer anticipates a 1% to 3% drop in same-store sales. TJX Companies Inc.  (TJX) posted surprise earnings growth over its recent quarter. The parent of off-price retailer T.J. Maxx also boosted its fiscal 2018 profit guidance. Optimism among home builders unexpectedly improved in August after reaching an eight-month low in July. The measure increased by four points to a level of 68. Analysts expected a retreat.

More from Video

Former U.S. Education Secretary: Voters Are to Blame for Struggling Schools

Former U.S. Education Secretary: Voters Are to Blame for Struggling Schools

Meet Blackbird, the New 'Uber of the Skies'

Meet Blackbird, the New 'Uber of the Skies'

Here's How to Trade Walmart, Nordstrom, Macy's and J.C. Penney After Earnings

Here's How to Trade Walmart, Nordstrom, Macy's and J.C. Penney After Earnings

Here's Why Stock Picking Is Especially Important in the Retail Sector

Here's Why Stock Picking Is Especially Important in the Retail Sector

Tip For Financial Advisors: Think Outside the Box

Tip For Financial Advisors: Think Outside the Box