NEW YORK (AP) — Stocks ended higher on Wall Street Friday but not enough to erase the market’s losses from earlier in the week. The S&P added 0.8% but still posted a weekly loss after two weeks of gains. The index set a record high on Monday. Trading was mostly subdued with earnings reporting season winding down for U.S. companies and relatively few economic reports. Ross Stores fell 2.7% after issuing a full-year forecast that fell short of Wall Street’s expectations, while Foot Locker jumped 7.3% after blowing past analysts’ forecasts.