You are an expert at summarizing long articles. Proceed to summarize the following text: 
us shares ended mainly higher in a volatile session as traders staged a late rally ahead of the weekend in anticipation of a deal in washington on a massive financial rescue plan .
stocks recover as wall street eyes weekend bailout deal