US stocks open Friday higher to end 3-day losing streak