Stocks finished largely lower with the three benchmark indexes all closing in the red.

Shares of Dick's Sporting Goods Inc. (DKS - Get Report) fell after the company issued downbeat earnings outlook for 2018. The sporting goods retailer said 2018 earnings could drop as much as 20%. The company topped third-quarter estimates on Tuesday, posting adjusted earnings of 30 cents a share on revenue of $1.94 billion.

Advance Auto Parts Inc. (AAP - Get Report) shares jumped higher despite posting mixed third-quarter results. Adjusted earnings of $1.43 a share beat expectations, but revenue of $2.18 billion missed forecasts. The company also posted a wider-than-expected decline in same-store sales, down 3.4%.

Shares of TJX Cos. Inc. (TJX - Get Report) declined after the company said comparable sales for this quarter were flat, missing estimates. The parent company of TJMaxx and Marshalls reported earnings of $1 per share, which was in-line with analyst expectations, and sales of $.8.8 billion, which just missed estimates.


Watch More with TheStreet:

Don't miss the best videos of the week. Put Wall Street on Rewind and sign up for our weekly newsletter.