Stocks closed their worst week in four months nearly unchanged, with the market stalling as worries about Europe overcame an unexpected rise in U.S. consumer confidence. Investors are waiting whether Spain would ask for a financial bailout. The University of Michigan-Thomson Reuters consumer-sentiment index rose to 83.1 in an initial October reading from 78.3 in September. J.P. Morgan Chase slid 1.14% despite its earnings cast a positive light on the housing market. Meanwhile Wells Fargo slid 2.6% after the bank reported revenue below expectations. Advanced Micro Devices shed 14.38% after the co. reduced its third-quarter revenue outlook. Also,Western Digital down by 1.56%, and Seagate Technology gave up 0.64% after Citigroup cut Seagate and Western Digital to sell from buy, citing in a research note that there are signs of “overwhelming” deterioration of demand for PCs and in the enterprise market. In the evening trade AMD recovered 1.1% following an AllThingsD report that the company plans to cut 20%-30% of its workforce. This week brings the first “peak week” of the season, with results expected from 12 of the DJIA’s 30 components, including International Business Machines and Intel and Johnson & Johnson. U.S. economic reports in the coming week include U.S. retail sales and the Consumer Price Index along with housing and manufacturing data. The market will also look to import and export data from China, and whether Spain requests a financial rescue. The Nov. 6 U.S. presidential election continues to weigh on the market.