US stocks finish losing week on positive note